PINTO0309 / MobileNet-SSD-RealSense

[High Performance / MAX 30 FPS] RaspberryPi3(RaspberryPi/Raspbian Stretch) or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435(or USB Camera or PiCamera) + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering
https://qiita.com/PINTO
MIT License
366 stars 127 forks source link

Got error message "no module named mvnc" when running SingleStickSSDwithRealSense.py #21

Open MesonHu opened 5 years ago

MesonHu commented 5 years ago

[Required] Your device (RaspberryPi3, LaptopPC, or other device name): Raspberry PI3

[Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name): armv7l

[Required] Your OS (Raspbian, Ubuntu1604, or other os name): Raspbian

[Required] Details of the work you did before the problem occurred:

Finish all steps described in the article.
[Required] Error message:

ImportError: No module named 'mvnc'
[Required] Overview of problems and questions:

Does OpenVino include mvnc?

PINTO0309 commented 5 years ago

Does OpenVino include mvnc?

No.

SingleStickSSDwithRealSense.py -> for NCSDK SingleStickSSDwithRealSense_OpenVINO_NCS2.py -> for OpenVINO SingleStickSSDwithUSBCamera_OpenVINO_NCS2.py -> for OpenVINO

MesonHu commented 5 years ago

Thanks for reply. Different error occurs as following: Traceback (most recent call last): File "SingleStickSSDwithRealSense_OpenVINO_NCS2.py", line 31, in pipeline.start(config) RuntimeError: Couldn't resolve requests

ps: Intel RealsenseD435 is attached and Realsense sdk 2.0 is installed.

PINTO0309 commented 5 years ago

Please see the following. https://github.com/IntelRealSense/librealsense/issues/2473

MesonHu commented 5 years ago

Thanks PINTO039. I still got some error messages. I try to obtain the supported models by enumerate_devices, it shows: Infrared 1 1280x720 @ 6Hz Y8 Infrared 1 640x480 @ 30Hz Y8 Infrared 1 640x480 @ 15Hz Y8 Infrared 1 640x480 @ 6Hz Y8 Infrared 1 480x270 @ 60Hz Y8 Infrared 1 480x270 @ 30Hz Y8 Infrared 1 480x270 @ 15Hz Y8 Infrared 1 480x270 @ 6Hz Y8 Depth 1280x720 @ 6Hz Z16 Depth 640x480 @ 30Hz Z16 Depth 640x480 @ 15Hz Z16 Depth 640x480 @ 6Hz Z16 Depth 480x270 @ 60Hz Z16 Depth 480x270 @ 30Hz Z16 Depth 480x270 @ 15Hz Z16 Depth 480x270 @ 6Hz Z16

Some articles mentioned that Color modes only support in USB3.0. Raspberry Pi 3 only equips USB2.0. However, your demonstration seems is executed on Raspberry 3 Pi. So strange.. By the way, the version of FW is 5.11.

PINTO0309 commented 5 years ago

Please see the following. https://realsense.intel.com/intel-realsense-downloads/#firmware

I do not strongly recommend 5.11. Use only "Production ready release". "Development release" is always very unstable.

MesonHu commented 5 years ago

Really appreciate your kind response. FW5.10.6 does not work for me. There is still no color mode when running rs-enumerate-devices. Only 5.10.3 contains color mode. Neither in 5.10.13 and other versions. But depth mode was disappeared in 5.10.3. Therefore, I have to remark the related codes in SingleStickSSDwithRealSense_OpenVINO_NCS2.py. However, both color and depth modes work in MultiStickSSDwithRealSense_OpenVINO_NCS2.py. I will try to discover the differences between these two programs.