Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

....I though maybe my compiling procedure is wrong, but interesting point is that by following exactly same procedure on an older ARM board, Asus Tinker board S, NCS2 works ok with compiled opencv.

....I I want to add a point: when I use small opencv shipped with openvino 2019R2-Raspberry version, problem does not exist. I can run inference on Raspberry Pi 4+NCS2 (MYRIAD). But when I compile OpenCV from source to have access to additional functions such as tracking functions, (I do not use cross-compile, I directly compile on the device, as I explained the steps earlier), running inference on Raspberry Pi 4 + NCS2 (MYRIAD) gives errors I mentioned earlier. I have no problem on Raspberry 4+DNN_TARGET_CPU, or Raspberry 4+NCS2+default OpenCV-OpenVino. Problem only exists on: Raspberrypi 4+ NCS2+my own complied openCV. I though maybe my compiling procedure is wrong, but interesting point is that by following exactly same procedure on an older ARM board, Asus Tinker board S, NCS2 works ok with compiled opencv.

I want to add a point: when I use small opencv shipped with openvino 2019R2-Raspberry version, problem does not exist. I can run inference on Raspberry Pi 4+NCS2 (MYRIAD). But when I compile OpenCV from source to have access to additional functions such as tracking functions, (I do not use cross-compile, I directly compile on the device, as I explained the steps earlier), running inference on Raspberry Pi 4 + NCS2 (MYRIAD) gives errors I mentioned earlier. I have no problem on Raspberry 4+DNN_TARGET_CPU, or Raspberry 4+NCS2+default OpenCV-OpenVino. Problem only exists on: Raspberrypi 4+ NCS2+my own complied openCV. I though maybe my compiling procedure is wrong, but interesting point is that by following exactly same procedure on an older ARM board, Asus Tinker board S, NCS2 works ok with compiled opencv.

there should be something wrong with updates of Raspberry pi 4: Python 3.7 or gcc 8