HomeSupportVision LibrariesOpenCV → OpenCV Installation in Linux

OpenCV Installation in Linux

This installation was tested on Ubuntu 14.04 with a USB3.0 camera MQ013MG-E2 .

Installation

Install needed libraries

sudo apt-get install libgtk2.0-dev
sudo apt-get install pkg-config

Download opencv-3.1.0.zip and unzip

wget https://github.com/Itseez/opencv/archive/3.1.0.zip
unzip 3.1.0.zip
cd opencv-3.1.0

Build and Install

mkdir build
cd build
# on some systems "-D WITH_TIFF=NO" should be added to options
cmake  ..
make
sudo make install

Install XIMEA Linux Software Package

How to install XIMEA Linux Software Package

Helpful links

Support page for OpenCV

Legacy approach

There is alternative approach of using OpenCV with XIMEA cameras. This approach uses OpenCV videoio module for PYTHON and C++. You can read more details here.