%general-entities; ]> $LastChangedBy$ $Date$ opencv-&opencv-version; opencv Introduction to opencv The opencv package contains graphics libraries mainly aimed at real-time computer vision. &lfs83_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &opencv-md5sum; Download size: &opencv-size; Estimated disk space required: &opencv-buildsize; Estimated build time: &opencv-time; Additional Downloads Optional file (x86_64 only; will be downloaded when running cmake if not present): Optional additional modules: opencv Dependencies Required and Recommended , , , , , , , , , and Optional , , , , Cuda, Eigen, OpenEXR, GCD, GDAL, GigEVisionSDK, JACK, libdc1394, libgphoto2, NumPy, OpenNI, PlanetUML, PvAPI, Threading Building Blocks (TBB), UniCap, VTK - The Visualization Toolkit, and XIMEA User Notes: Installation of opencv If the optional Integrated Performance Primitives (IPP) package has been downloaded, put it in place so the cmake script does not try to download it again: ipp_file=&ippicv-version;.tgz && ipp_hash=$(md5sum ../$ipp_file | cut -d" " -f1) && ipp_dir=.cache/ippicv && mkdir -p $ipp_dir && cp ../$ipp_file $ipp_dir/$ipp_hash-$ipp_file If needed, unpack the additional modules package: tar xf ../opencv_contrib-&opencv-version;.tar.gz Install opencv by running the following commands: mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_CXX11=ON \ -DBUILD_PERF_TESTS=OFF \ -DWITH_XINE=ON \ -DBUILD_TESTS=OFF \ -DENABLE_PRECOMPILED_HEADERS=OFF \ -DCMAKE_SKIP_RPATH=ON \ -DBUILD_WITH_DEBUG_INFO=OFF \ -Wno-dev .. && make The package does not come with an operable test suite. Now, as the root user: make install && case $(uname -m) in x86_64) ARCH=intel64 ;; *) ARCH=ia32 ;; esac && cp -v 3rdparty/ippicv/ippicv_lnx/lib/$ARCH/libippicv.a /usr/lib && unset ARCH Command Explanations -DWITH_XINE=ON: This option instructs the make procedure to use . -DENABLE_PRECOMPILED_HEADERS=OFF: This option is needed for compatibiiity with gcc-6.1 and later. : instructs the build system to build the additional modules. cp -v 3rdparty/.../libippicv.a /usr/lib: This command installs a 3rdparty library. Contents Installed Programs Installed Libraries Installed Directories opencv_annotation, opencv_createsamples, and opencv_traincascade libippicv.a, libopencv_calib3d.so, libopencv_core.so, libopencv_features2d.so, libopencv_flann.so, libopencv_highgui.so, libopencv_imgcodecs.so, libopencv_imgproc.so, libopencv_ml.so, libopencv_objdetect.so, libopencv_photo.so, libopencv_shape.so, libopencv_stitching.so, libopencv_superres.so, libopencv_ts.a, libopencv_video.so, libopencv_videoio.so, and libopencv_videostab.so /usr/include/opencv{,2} and /usr/share/OpenCV