digitalbrain79 / darknet-nnpack

Darknet with NNPACK
Other
305 stars 75 forks source link

Unable to detect objects using Raspberry Pi Camera #56

Open Jaswar opened 4 years ago

Jaswar commented 4 years ago

Hello, I am trying to detect objects with Raspberry Pi camera by running ./darknet detector demo, but no objects are being detected. Detecting does work however when using ./darknet detector test.

I didn't build the package by using your instructions, I downloaded the disk image and used that. Overall everything works great and the framerate is decent, but when using demo I get no detections.

Maybe the issue is that I installed opencv by doing pip3 install opencv, but I don't know about that. If that is not the right way to install it, then would someone mind telling me what is?

I have noticed that other people came across the same problem, but their issues did not provide any solutions that would work for me.

For reference, I am using Raspberry Pi 4B.

Shivankit99 commented 3 years ago

Hey @Jaswar , If you're using the 5mp raspberry pi camera, that's really not that good and does not really take good photos, maybe this could be the reason. Secondly you could try running yolo without NNPACK maybe on your own pc and run inference on an image taken by the rpi camera.