Thursday, August 7, 2014

Installing OpenCV in Ubuntu

OpenCV is very useful tool in Computer Vision. In order to install OpenCV, there are lot of prerequisites which are to be installed


I used following links just for prerequisites :

1. http://www.raben.com/book/export/html/3
2. http://miloq.blogspot.in/2012/12/install-opencv-ubuntu-linux.html

ALWAYS use latest version of opencv along with cuda in order to avoid unnecessary errors . . .  .

unzip it , lets say folder name is opencv2.4.9

cd opencv2.4.9
mkdir build
cd build

cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. 


make
sudo make install 
 




No comments:

Post a Comment