I am Charmie

メモとログ

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/cv2.so and one for python 3 is /usr/local/lib/python3.4/dist-packages/cv2.cpython-34m.so (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