darknet-nnpack
darknet-nnpack copied to clipboard
Does anyone have a nice code for real-time detection on Raspberry Pi 4?
Hello everyone!
Does anyone have a nice code for real-time detection on Raspberry Pi 4?
Right now I use this and it's working:
./darknet detector demo cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights
But very slow - it shows only 0.5 FPS.
Another thing is that I do not quite understand how to use it further - simply is that I can't find the executable file to edit it.
let's say I want to make my robot stop when it sees a cat from a rpi cam video stream.
I mean it is not so hard I guess to write it from scratch, but I am quite sure that it's already been done.
Thanks, everyone.
Hello, unfortunately there are still many unresolved issues with this repository. I couldn't set darknet-nnpack on Raspberry Pi 3. I suggest you to check an alternative solution.
- You train the model and convert to tflite using tensorflow-yolov4-tflite
- On Raspberry PI, you only setup the Tensorflow Lite interpreter
- You write a script that loads data and processes network results in Python.
In this way I can get 1 FPS on Raspberry Pi 3b+ with yolo3 tiny.
I would be happy to get to know other ways.