Skip to content

Instantly share code, notes, and snippets.

@carlosipe
Created July 27, 2013 15:34
Show Gist options
  • Select an option

  • Save carlosipe/6095182 to your computer and use it in GitHub Desktop.

Select an option

Save carlosipe/6095182 to your computer and use it in GitHub Desktop.
Install opencv ubuntu
sudo apt-get install cmake libgtk2.0-dev python-numpy
wget http://ufpr.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.6.1/opencv-2.4.6.1.tar.gz #(or link here: http://sourceforge.net/projects/opencvlibrary/?source=dlp)
cd OpenCv-2-4-0
tar xf opencv*
cd opencv*
cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_NEW_PYTHON_SUPPORT=ON -D CMAKE_INSTALL_PREFIX=/usr/local ./
make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment