For anyone who is interested in it, you could use the below steps to run:
- Install node.js on your computer or laptop
- Run npm install fs inkjet onnxruntime-node to install js packages
- Run node detect.js lorikeet.jpg to detect objects in the image “lorikeet.jpg” and output to file “output.txt”
- Run python3 draw.py lorikeet.jpg to show the image of the result by using data in “output.txt”
Hope it could be useful for someone.