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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2015-08-10 - CandanDozen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    BL4S All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback