- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was trying the CVSDK 2018.0.234 on Ubuntu16.04 LTS and I got issue running the security barrier camera sample with myriadPlugin.
I have Movidus SDK installed on my host and the Movidus NCS USB computing stick attached to my host, and I also verified it working by running the NCS samples.
However, when I modify the demo/demo_security_barrier_camera_sample.sh script to let the demo load myriadPlugin instead, I got below error. What could be the problem? I also attached my usb rule file and lsusb result as attachments.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jianlin Q,
You don't need to install Movidius SDK.
Please install USB rules with following steps. (https://software.intel.com/en-us/articles/CVSDK-InferEngine)
Installing USB Rules
To do inference on the Intel® Movidius™ Myriad 2™ Vision Processing Unit install USB rules by running the commands:
cat <<EOF > 97-usbboot.rules |
SUBSYSTEM== "usb" , ATTRS{idProduct}== "2150" , ATTRS{idVendor}== "03e7" , GROUP= "users" , MODE= "0666" , ENV{ID_MM_DEVICE_IGNORE}= "1" |
SUBSYSTEM== "usb" , ATTRS{idProduct}== "f63b" , ATTRS{idVendor}== "03e7" , GROUP= "users" , MODE= "0666" , ENV{ID_MM_DEVICE_IGNORE}= "1" |
EOF |
sudo cp 97-usbboot.rules /etc/udev/rules.d/ |
sudo udevadm control --reload-rules |
sudo udevadm trigger |
sudo ldconfig |
rm 97-usbboot.rules |
You also can find "97-usbboot.rules" file in the CVSDK you installed.
Regards,
Peter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! This solves my problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody,
I have encountered same issue today and appling the usb rule seems not working.
OS: Ubuntu 16.04
OpenVINO: l_openvino_toolkit_p_2018.2.300_online
~$lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 003: ID 03e7:2150 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I run interactive_face_detection_sample like this:
./interactive_face_detection_sample -i ~/Desktop/libvideo_processing/demo/2.mp4 -m ../../../assets/fd/face-detection-retail-0004.xml
and it works well. However when I try this:
./interactive_face_detection_sample -i ~/Desktop/libvideo_processing/demo/2.mp4 -m ../../../assets/fd16/face-detection-retail-0004.xml -d MYRIAD
it just outputs:
InferenceEngine: API version ............ 1.1 Build .................. 11653 [ INFO ] Parsing input parameters [ INFO ] Reading input [ INFO ] Loading plugin MYRIAD API version ............ 1.1 Build .................. 11653 Description ....... myriadPlugin [ INFO ] Loading network files for Face Detection [ INFO ] Batch size is set to 1 [ INFO ] Checking Face Detection inputs [ INFO ] Checking Face Detection outputs [ INFO ] Loading Face Detection model to the MYRIAD plugin [ ERROR ] Can not init USB device: NC_DEVICE_NOT_FOUND
I have installed usb rules by following: https://software.intel.com/en-us/articles/OpenVINO-InferEngine. The only difference is that I used a exist 97-usbboot.rules file located in /opt/intel/computer_vision_sdk/deployment_tools/inference_engine/external. And the files' contents are:
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="tty", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="tty", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
The Modivius NCS works as I had tested it on another computer.
Is there anything I can do or I might had do something wrong before?
Regards,
Robin

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page