OpenCV 3rd party

OpenCV for Open Computer Vision Library licensed under the terms of the BSD license is a collection of algorithms and sample code for various computer vision problems. The library is compatible with IPL and uses Intel Integrated Performance Primitives for better performance. OpenCV is one of the optional 3rd parties supported by ViSP core module. OpenCV may be also useful in io, gui, detection, klt, vision and mbt modules.

Since ViSP-2.10.0, ViSP is compatible with OpenCV 3.0.0.

ViSP uses OpenCV in order to provide vpImage to cv::Mat image converters (see vpImageConvert class), an vpImage renderer (see vpDisplayOpenCV class), as well as a  KLT keypoint tracking (see vpKltOpencv class), and keypoint point matching classes (vpKeyPoint class).

OpenCV can be downloaded from http://opencv.org/downloads.html.

Hereafter we provide installation instructions for the following OS:

 logo-ubuntu-alpha  logo-debian logo-fedora logo-redhat logo-centos  logo-apple-alpha  logo-win-alpha
Ubuntu Debian Fedora RedHat CentOS OSX Windows

Ubuntu or debian installation

On Linux Debian or Ubuntu you may install the library with apt-get. Since Ubuntu Precise 12.04 use:

sudo apt-get install libopencv-dev

Fedora, RedHat or CentOS installation

On Fedora, RedHat or CentOS you may install the library with yum:

su -c "yum install opencv-devel"

Mac OSX installation

On OSX you may install OpenCV with homebrew:

brew update
brew tap homebrew/science
brew install opencv3

You can find OpenCV at:


Now to indicate to CMake where OpenCV is installed you will need to add the following line in your ~/.bashrc or ~/.bash_profile

export OpenCV_DIR=/usr/local/opt/opencv3/share/OpenCV

Note that OpenCV_DIR var gives now the location of OpenCVConfig.cmake file.

Windows installation

An installer is provided here http://opencv.org/downloads.html

Comments are closed.