opfab.blogg.se

Install opencv 2.4.9 ubuntu 18
Install opencv 2.4.9 ubuntu 18












install opencv 2.4.9 ubuntu 18 install opencv 2.4.9 ubuntu 18

Next, you need to configure some OpenCV compilation environments.

install opencv 2.4.9 ubuntu 18

After sudo make install is executed, the OpenCV compilation process ends. Execute commands, a long compilation process sudo makeĩ. Note: if you have compiled in a new folder, but there will be previous errors, delete cmakecache.txt and compile again.ĭuring this period, you may download something. cmake cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local. If not, you will be prompted (as shown in the figure below) After installing cmake, execute the command to create a compilation folder. Sudo apt-get install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev v v libswscale-dev libjasper-devĥ. If you are reminded that apt get update is required, first sudo su enter the root permission, then sudo apt get update, and then execute the following command sudo apt-get install cmake Install the dependency library and cmake. Unzip the downloaded zip package unzip opencv-3.4.15.zipĤ. The configuration methods of other versions are similar.ĭownload link Releases - OpenCV, select the sources versionĢ. Go to the official website to download opencv. Sudo rm -r /usr/local/include/opencv2 /usr/local/include/opencv /usr/include/opencv /usr/include/opencv2 /usr/local/share/opencv /usr/local/share/OpenCV /usr/share/opencv /usr/share/OpenCV /usr/local/bin/opencv* /usr/local/lib/libopencv* sudo apt-get autoremove opencv-doc opencv-data libopencv-dev libopencv2.4-java libopencv2.4-jni python-opencv libopencv-core2.4 libopencv-gpu2.4 libopencv-ts2.4 libopencv-photo2.4 libopencv-contrib2.4 libopencv-imgproc2.4 libopencv-superres2.4 libopencv-stitching2.4 libopencv-ocl2.4 libopencv-legacy2.4 libopencv-ml2.4 libopencv-video2.4 libopencv-videostab2.4 libopencv-objdetect2.4 libopencv-calib3d2.4 opencv installationġ. View the installed opencv version number pkg-config -modversion opencv














Install opencv 2.4.9 ubuntu 18