Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

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

Open
MesonHu opened this issue Mar 17, 2019 · 6 comments

Comments

@MesonHu
Copy link

MesonHu commented Mar 17, 2019

[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
Copy link
Owner

Does OpenVino include mvnc?

No.

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

@MesonHu
Copy link
Author

MesonHu commented Mar 17, 2019

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
Copy link
Owner

Please see the following.
IntelRealSense/librealsense#2473

@MesonHu
Copy link
Author

MesonHu commented Mar 17, 2019

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
Copy link
Owner

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.

$ git clone -b v2.16.5 https://github.com/IntelRealSense/librealsense.git
$ cd ~/librealsense
$ git checkout -b v2.16.5
$ mkdir build;cd build
$ cmake .. -DBUILD_EXAMPLES=true -DCMAKE_BUILD_TYPE=Release
# For RaspberryPi3
$ make -j1
$ sudo make install

@MesonHu
Copy link
Author

MesonHu commented Mar 17, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants