-
Notifications
You must be signed in to change notification settings - Fork 0
first try opencv
adamantivm edited this page Apr 1, 2012
·
6 revisions
First attempts at using OpenCV.
Will run the python version on my laptop to process the set of images downloaded from the German Banhof
I have Ubuntu Lucid Lynx.
sudo apt-get install python-opencv
This installed and old version of OpenCV (I think 2.0). I prefer to try with a newer one, because as far as I understood, all python bindings where changed in the latest versions.
Following the Install Guide: http://opencv.willowgarage.com/wiki/InstallGuide
There is also a more specific Ubuntu one here: http://opencv.willowgarage.com/wiki/InstallGuide%20%3A%20Debian
Download the latest version (2.3.1a from http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2/download)
cd /tmp
tar -jxvf /home/julian/Downloads/OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1
sudo apt-get install cmake
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
make
sudo make install