Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6573 Discussions

Real time object detection with usb cam ( Raspberry pi 4b + ncs2 )

rnd-amg
Beginner
6,657 Views

Hi Team,

i want test realtime object detection with usb camera and my usb camera already detected

rndamg_0-1657270933824.png

 

but when i run this command " ./object_detection_sample_ssd -m /home/pi/Downloads/build/open_model_zoo/tools/downloader/intel/face-detection-0100/FP16/face-detection-0100.xml -d MYRIAD -i 0 " or " ./object_detection_sample_ssd -m /home/pi/Downloads/build/open_model_zoo/tools/downloader/intel/face-detection-0100/FP16/face-detection-0100.xml -d MYRIAD -i cam "

i got error " [ ERROR ] No suitable images were found " ( capture below )

rndamg_0-1657264362406.png

 

need your advice, Please let me know the workaround to avoid the error.

Regards,

rnd

0 Kudos
23 Replies
rnd-amg
Beginner
1,414 Views

Hi @Hairul_Intel ,

i try added command  " - loop " and its not freezing or disconnected issue like before

any concern or any issue if in the command i added " - loop " ?

 

Regards,

rnd

0 Kudos
Hairul_Intel
Moderator
1,389 Views

Hi rnd,

For your information, you can refer to the Object Detection C++ Demo documentation where you will find all the necessary information and explanations on how to run the demo effectively.

 

As mentioned in the documentation, -loop command will enable reading the input in a loop. There's also a great explanation in the documentation on why the -loop command was implemented as shown below:

 

"NOTE: If you provide a single image as an input, the demo processes and renders it quickly, then exits. To continuously visualize inference results on the screen, apply the loop option, which enforces processing a single image in a loop."

 

 

On another note, I'm glad to know that your previous issue was resolved by using the -loop command. As long as the inferencing was successful, you can continue to use the -loop command.

 

 

Regards,

Hairul


0 Kudos
Hairul_Intel
Moderator
1,359 Views

Hi rnd,

This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.

 

 

Regards,

Hairul


0 Kudos
Reply