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.

Stream infer performance

idata
Employee
699 Views

After loading the sdk and running all examples I tried stream infer which was only able to identify a keyboard . It saw my head as a shower cap , a pen a a syringe , my finger as a nipple , and a screwdriver as a wing with my iPhone detected as a mirror .

 

Is this a fair reflection on the state of CNN' s and machine learning or have I missed something ?.

0 Kudos
7 Replies
idata
Employee
481 Views

Hi @hedley,

 

Thanks for the information. I think I've fixed a few issues with stream_infer.py. Can you try this version of and let me know if it performs any better for you?

 

https://ncs-forum-uploads.s3.amazonaws.com/neal/stream_infer.py

 

Thanks,

 

Neal

0 Kudos
idata
Employee
481 Views

This new version of stream_infer does not work for me on RaspberryPi. It gives a black screen. The version in NCS_API_1.07.07.pdf shows video and inferencing results.

0 Kudos
idata
Employee
481 Views

@wouterd Did you try changing the sink name for the Raspberry Pi? Refer to #7 of the API release notes: https://ncs-forum-uploads.s3.amazonaws.com/ncsdk/MvNC_SDK_01_07_07/MvNC_SDK_1.07.07_ReleaseNotes.txt

0 Kudos
idata
Employee
481 Views

Yes, I did change the sink name. With a USB webcam both scripts work. With the Pi Camera I can get the original script to work when loading v4l2

 

sudo modprobe bcm2835-v4l2

 

The newer script does not work though (video screen comes up but does not show anything).
0 Kudos
idata
Employee
481 Views

@wouterd Thanks for letting us know about that issue. The program stream_infer.py was written to work with USB cameras and I'm sorry to hear that it isn't working with your Pi camera. We are looking into enabling/adding an example to work the Pi Camera soon so stay tuned.

0 Kudos
idata
Employee
481 Views

Same issue here. Old script works with Pi Cam via wouterd's (+1) fix (sudo modprobe bcm2835-v4l2), however new script fails with same symptom (screen comes up without stream).

0 Kudos
idata
Employee
481 Views

Please refer to this issue: https://ncsforum.movidius.com/discussion/484/hang-with-a-blank-window-in-stream-infer-py

 

use: SINK_NAME="ximagesink" # use for Raspian Jessie platforms to avoid black screen
0 Kudos
Reply