There is an issue in using NCS2 on RaspberryPi 4 B, when OpenCV is compiled from source. I explained the error here, because I guess it is an issue about OpenCV compile.
Hi hamzeh,
Could you provide a detailed description of the error you are seeing and steps to reproduce? Are you using one of our sample applications or your own application? Are you using a pre-trained model or a custom trained model?
Did you follow the Install OpenVINO™ toolkit for Raspbian* OS document?
Regards,
Jesus
Jesus E. (Intel) wrote:Hi hamzeh,
Could you provide a detailed description of the error you are seeing and steps to reproduce? Are you using one of our sample applications or your own application? Are you using a pre-trained model or a custom trained model?
Did you follow the Install OpenVINO™ toolkit for Raspbian* OS document?
Regards,
Jesus
Hello, I opened a topic about this on opencv forum, here and explained the problem there.
fortunately I found a solution. When opencv is compiled with cross-compile, problem does not happen. Only with direct compiling it happens.
Dear ahangari, hamzeh,
Thanks for sharing your victory and findings with the OpenVino community ! It helps tremendously when we share information with each other.
Shubha
Because directly compiling on Arm boards is generally slow. You can compile once with Docker on your PC, and keep the compiled files for future usage. Please refer to the cross-compile page, I cited earlier. all steps are there.
For more complete information about compiler optimizations, see our Optimization Notice.