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

opencv- default build settings

nano
Beginner
375 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
343 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

2 Replies
Iffa_Intel
Moderator
344 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




Iffa_Intel
Moderator
331 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


Reply