Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

run openvino demo with Movidius NCS 1 problem

hi sir,

I'm using ubuntu 18.04 and Movidius NCS 1.

I'm following the document and all install steps seems work fine, and the demo_security_barrier_camera.sh sample runs fine in cpu.

now I want to use Movidius to run the demo, I use 

sudo ./demo_security_barrier_camera.sh MYRAID 

and didn't work.

I edited the file's content from FP32 to FP16, and show those message:

INTEL_CVSDK_DIR environment variable is not set. Trying to run ./setupvars.sh to set it. 
[setupvars.sh] OpenVINO environment initialized


Target folder /home/gino/inference_engine_samples already exists. Skipping samples building.If you want to rebuild samples, remove the entire /home/gino/inference_engine_samples folder. Then run the script again

###################################################

Run Inference Engine security_barrier_camera demo

Run ./security_barrier_camera_demo -d CPU -d_va CPU -d_lpr CPU -i /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/demo/car_1.bmp -m /opt/intel//computer_vision_sdk_2018.5.455/deployment_tools/intel_models/vehicle-license-plate-detection-barrier-0106/FP16/vehicle-license-plate-detection-barrier-0106.xml -m_va /opt/intel//computer_vision_sdk_2018.5.455/deployment_tools/intel_models/vehicle-attributes-recognition-barrier-0039/FP16/vehicle-attributes-recognition-barrier-0039.xml -m_lpr /opt/intel//computer_vision_sdk_2018.5.455/deployment_tools/intel_models/license-plate-recognition-barrier-0001/FP16/license-plate-recognition-barrier-0001.xml 

[ INFO ] InferenceEngine: 
    API version ............ 1.4
    Build .................. 19154
[ INFO ] Parsing input parameters
[ INFO ] Capturing video streams from the video files or loading images
[ INFO ] Files were added: 1
[ INFO ]     /opt/intel/computer_vision_sdk_2018.5.455/deployment_tools/demo/car_1.bmp
[ INFO ] Number of input image files: 1
[ INFO ] Number of input video files: 0
[ INFO ] Number of input channels:    1
[ INFO ] Loading plugin CPU

    API version ............ 1.5
    Build .................. lnx_20181004
    Description ....... MKLDNNPlugin
[ INFO ] Loading network files for VehicleDetection
[ INFO ] Batch size is forced to  1
[ INFO ] Checking Vehicle Detection inputs
[ INFO ] Checking Vehicle Detection outputs
[ INFO ] Loading Vehicle Detection model to the CPU plugin
[ ERROR ] The plugin does not support FP16
Error on or near line 154; exiting with status 1
 

 

However, there seems no problem when I use those Optional Steps 

How do I connect to my NCS 1?

p.s. by the way, the default folder of openvino which the installer actually generated is /opt/intel/computer_vision_sdk but in the document says is /opt/intel/openvino/ , why don't you just change it in document if you have already modified your program?

0 Kudos
2 Replies
Highlighted
27 Views

I think you should run as this:

./demo_security_barrier_camera -d MYRIAD -i /dev/video0 -m /path/to/xml/model

But you are showing above this: Run ./security_barrier_camera_demo -d CPU

Which is specifically pointing to run on CPU. THats my understanding.

0 Kudos
Highlighted
Moderator
27 Views

Hi gg,

Thank you for reaching out and providing your feedback. There is a known bug in the demo scripts that will be addressed in the next release. In the meantime, you can modify one line in the ./demo_security_barrier_camera.sh.

Line 146:

if [ "$target" = "MYRIAD" or "$target" = "HDDL" ]; then

Modify to:

if [ "$target" = "MYRIAD" -o "$target" = "HDDL" ]; then

 

Specifying the Myriad device (-d MYRIAD) with the script will run on both the Intel® Movidius™ NCS and the Intel® NCS 2.

 

Regards,

Jesus

0 Kudos