Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

opencv- default build settings

nano
Beginner
736 Views

Dear Community,

 

when building openvino from source it automatically installs opencv. The build of opencv is highly customizable. I have my own opencv build that includes parts of opencv-contrib. To make sure I link opencv correctly to openvino, what are the default build settings openvino uses for opencv?

 

Cheers,

 

 

 

Labels (1)
0 Kudos
1 Solution
Iffa_Intel
Moderator
704 Views

Greetings,


By default, the required version of OpenCV packages is downloaded automatically by the CMake-based script. If you already have one installed OpenCV/ already configured in your env, you may need to clean the  OpenCV_DIR environment variables before running the cmake command, otherwise they will not be downloaded and the build may fail if incompatible versions were installed.



If the CMake-based build script can not find and download the OpenCV package that is supported on your platform, or if you want to use a custom build of the OpenCV library, refer to the Use Custom OpenCV Builds section for details.


You may refer to this wiki for further info: https://github.com/openvinotoolkit/openvino/wiki/BuildingForLinux


Sincerely,

Iffa




View solution in original post

0 Kudos
2 Replies
Iffa_Intel
Moderator
705 Views

Greetings,


By default, the required version of OpenCV packages is downloaded automatically by the CMake-based script. If you already have one installed OpenCV/ already configured in your env, you may need to clean the  OpenCV_DIR environment variables before running the cmake command, otherwise they will not be downloaded and the build may fail if incompatible versions were installed.



If the CMake-based build script can not find and download the OpenCV package that is supported on your platform, or if you want to use a custom build of the OpenCV library, refer to the Use Custom OpenCV Builds section for details.


You may refer to this wiki for further info: https://github.com/openvinotoolkit/openvino/wiki/BuildingForLinux


Sincerely,

Iffa




0 Kudos
Iffa_Intel
Moderator
692 Views

Greetings,


Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 


Sincerely,

Iffa


0 Kudos
Reply