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

Cannot run code on RPi 4: Inference Engine Build Error #36

Open
taashikapoor opened this issue Oct 12, 2020 · 0 comments
Open

Cannot run code on RPi 4: Inference Engine Build Error #36

taashikapoor opened this issue Oct 12, 2020 · 0 comments

Comments

@taashikapoor
Copy link

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

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

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

[Required] Details of the work you did before the problem occurred:
I have followed all the steps in your guide and I keep arriving at the same error. I have also tried to manually install opencv myself but still cant seem to figure out why the code doesnt work. I can run sample object detection codes on single images but not videos. This is the error i get when I try to run SingleStickSSDwithRealSense_OpenVINO_NCS2.py






[Required] Error message:
Traceback (most recent call last):
File "SingleStickSSDwithRealSense_OpenVINO_NCS2.py", line 33, in
net = cv2.dnn.readNet('lrmodel/MobileNetSSD/MobileNetSSD_deploy.xml', 'lrmodel/MobileNetSSD/MobileNetSSD_deploy.bin')
cv2.error: OpenCV(4.3.0) /home/ubuntu/opencv/modules/dnn/src/dnn.cpp:3541: error: (-2:Unspecified error) Build OpenCV with Inference Engine to enable loading models from Model Optimizer. in function 'readFromModelOptimizer'






[Required] Overview of problems and questions:
At first the script would not be able to import cv2 at all but after manually installing OpenCV 4.3.0 I was able to import cv2 and run the dnn sample code.
I am very new to this so I would appreciate all the help I can get.





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

1 participant