0%

Steps

  1. Install OpenCV 3 from homebrew
1
brew install opencv3 --with-python3
  1. Link OpenCV library to site-packages of Python
ln -s /usr/local/Cellar/opencv3/3.0.0/lib/python2.7(3.4)/site-packages/cv2.so <path-to-your-python>/lib/pythonX.X/site-packages
  1. Test
1
2
3
4
5
6
python
#+ENDSRC
#+BEGIN_SRC python
>>> import cv2
>>> cv2.__version__
'3.0.0'