Hello everyone
OpenCV, short for Open Computer Vision, is a powerful library for image processing work. It is widely used in academic projects, and below I walk through how to get OpenCV installed on both Linux and Windows.
On Linux (Ubuntu 10.04):
1) Grab the newest OpenCV package from SourceForge using the link below
http://sourceforge.net/projects/opencvlibrary/
2) Unpack the tar file into a location of your choice, for example your home folder.
3) Inside the extracted folder, create a new directory named release
4) Open a terminal and change into that release directory.
5) Enter the following command in the terminal
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ..
6) Once it finishes, a make file is generated. Simply run the make command in the same terminal.
7) The build takes a while; when it completes, run sudo make install and enter your password
8) That's it — you're all set.
On Windows
1) For Windows, a video tutorial is available on YouTube. Here is the link
Give it a try.
OpenCV, short for Open Computer Vision, is a powerful library for image processing work. It is widely used in academic projects, and below I walk through how to get OpenCV installed on both Linux and Windows.
On Linux (Ubuntu 10.04):
1) Grab the newest OpenCV package from SourceForge using the link below
http://sourceforge.net/projects/opencvlibrary/
2) Unpack the tar file into a location of your choice, for example your home folder.
3) Inside the extracted folder, create a new directory named release
4) Open a terminal and change into that release directory.
5) Enter the following command in the terminal
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ..
6) Once it finishes, a make file is generated. Simply run the make command in the same terminal.
7) The build takes a while; when it completes, run sudo make install and enter your password
8) That's it — you're all set.
On Windows
1) For Windows, a video tutorial is available on YouTube. Here is the link
Give it a try.




0 comments:
Post a Comment