python 2.7 + OpenCV 3.0.0 on Ubuntu using Anaconda

  1. install anaconda
  2. install python packages
  3. download OpenCV 3.0.0 source
  4. compile OpenCV 3.0.0 with BUILD_opencv_python2 ON (BUILD_opencv_python3 may work with python 3 but I didn’t try yet)

With default settings, OpenCV package for python 2 is /usr/local/lib/python2.7/site-packages/ and one for python 3 is /usr/local/lib/python3.4/dist-packages/ (python3.4 might be different if you use another version of python 3)

Once the compilation is done, we can use openCV from python as follows.pythonOpenCVbindings

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s