Install opencv 3.0.0 on Debian 8 / Ubuntu 12 - 15
OpenCV 3.0.0 is out and you can't wait to get your hands on it and try it with your newly setup debian/ubuntu desktop :D Lets install it, its really quite simple! I have outlined the installation below in a simple 10-step process.
Get the opencv3.0.0 package from the opencv website(here). And place it at a convenient location, let us assume its in the /Downloads folder.
After this run the following commands:
Get the opencv3.0.0 package from the opencv website(here). And place it at a convenient location, let us assume its in the /Downloads folder.
After this run the following commands:
- Go to the folder where the downloaded package is located.
cd Downloads - Extract the downloaded package.
unzip opencv-3.0.0.zip - Go to extracted folder.
cd opencv-3.0.0 - Install the dependencies for opencv to build on your system.
sudo apt-get install build-essentials cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev. - Create a folder called 'build'.
mkdir build - Go to the folder build.
cd build - Build opencv from the downloaded package.
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D MAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_OPENGL=ON .. - Install opencv on your computer.
sudo makesudo make install - Go ahead and Code!! :D
Comments
Post a Comment