digitalbrain79 / darknet-nnpack

Darknet with NNPACK
Other
305 stars 75 forks source link

No Preditions On Raspberry Pi 3 B+ #36

Open dedetuga opened 4 years ago

dedetuga commented 4 years ago

Hi, I follow the installation guide on my Raspberry Pi 3b+ and When I try the test command: YOLOv2-tiny ./darknet detector test cfg/coco.data cfg/yolov2-tiny.cfg yolov2-tiny.weights data/person.jpg YOLOv3-tiny ./darknet detector test cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights data/person.jpg I got predictions but when I try with webcam ./darknet detector demo cfg/coco.data cfg/yolov2-tiny.cfg yolov2-tiny.weights or ./darknet detector demo cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights I got Nothing, no predictions at all

What I'm Missing? did I need to install or update something? some help? Thanks

naufil-hassan-confiz commented 4 years ago

@dedetuga I am facing the same issue. Did you resolve it ?

dedetuga commented 4 years ago

Sorry, I don't solve it yet, I changed to an other fork of darknet to an other one

naufil-hassan-confiz commented 4 years ago

@dedetuga I have solved it. change this line in darknet-nnpack/src/image.h (#define FLAG_SHOW 0) to (#define FLAG_SHOW 1)

Then run your command and you will be able to see the video in which there will be bounding boxes on your video

josilvacastillo commented 4 years ago

@dedetuga I have solved it. change this line in darknet-nnpack/src/image.h (#define FLAG_SHOW 0) to (#define FLAG_SHOW 1)

Then run your command and you will be able to see the video in which there will be bounding boxes on your video

where is that line of code? i have not found it.

Op9No2 commented 4 years ago

@josilvacastillo @naufil-hassan-confiz guys, you can try another darknet-nnpack branch which is https://github.com/shizukachan/darknet-nnpack, My Rpi3 B+ can run object-detection in real-time via webcam.

In addition, thanks @digitalbrain79 contribution for darknet-nnpack!

smallworld-network-wupeng commented 4 years ago

@josilvacastillo @naufil-hassan-confiz guys, you can try another darknet-nnpack branch which is https://github.com/shizukachan/darknet-nnpack, My Rpi3 B+ can run object-detection in real-time via webcam.

In addition, thanks @digitalbrain79 contribution for darknet-nnpack!

which version opencv do you used?

Jaswar commented 4 years ago

Hello, Has anyone been able to solve this problem without using a different darknet-nnpack branch?

tobievii commented 4 years ago

having the same issue, has anyone resolved it please? Im using opencv4 if that helps