OpenCV is a powerful real time image processing library.

To install OpenCV :

  • install all the required packages:

yum groupinstall "Development Tools"

yum install gcc

yum install cmake

yum install git

yum install gtk2-devel

yum install pkgconfig

yum install numpy

yum install ffmpeg

  • Create working directory and check out the source code:

mkdir /opt/working

cd /opt/working

git clone https://github.com/Itseez/opencv.git

cd opencv

git checkout tags/2.4.10.2

  • Create the Makefile

mkdir release

cd release

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

  • Build and install

cd /opt/working/opencv/release

make -j 4

make install

-- CandanDozen - 2015-08-10


This topic: BL4S > WebHome > MajorTasks > WebcamDetector > OpenCV
Topic revision: r1 - 2015-08-10 - CandanDozen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback