Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to detect objects using Raspberry Pi Camera #56

Open
Jaswar opened this issue May 17, 2020 · 1 comment
Open

Unable to detect objects using Raspberry Pi Camera #56

Jaswar opened this issue May 17, 2020 · 1 comment

Comments

@Jaswar
Copy link

Jaswar commented May 17, 2020

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.

@Jaswar Jaswar changed the title Unable to use Raspberry Pi Camera Unable to detect objects using Raspberry Pi Camera May 17, 2020
@Shivankit99
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants