![]() To verify the installation, type the following commands and you should see the OpenCV version.Ĭ bindings: pkg-config -modversion opencv4 4.3. The compilation may take several minutes or more, depending on your system configuration. If you do not know the number of cores in your processor, you can find it by typing nproc. Modify the -j flag according to your processor. Build files have been written to: /home/vagrant/opencv_build/opencv/build The output will look something like below: - Configuring done Set up the OpenCV build with CMake: cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D INSTALL_C_EXAMPLES=ON \ -D INSTALL_PYTHON_EXAMPLES=ON \ -D OPENCV_GENERATE_PKGCONFIG=ON \ -D OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib/modules \ -D BUILD_EXAMPLES=ON. To it: cd ~/opencv_build/opencv mkdir -p build
0 Comments
Leave a Reply. |