Some smart chap has installed opencv on a mac and explained how to do it here

brew tap homebrew/science

Then for the information type:

brew info opencv

I used the options with-ffmpeg (because I want mpg4?) and without-numpy (I already have it)
brew install opencv --with-ffmpeg --without-numpy


10 minutes and 30seconds later. it was built…

As I’m using anaconda I navigated to my root packages…
cd /anaconda/anaconda/lib/python2.7/site-packages

made a new directory

mkdir opencv

enetered it:

cd opencv

then navigated to where my brew python libs should have been and checked they were there (they were)

cd /usr/local/Cellar/opencv/2.4.13/lib/python2.7/site-packages/

then I got the full directory with


and pasted the below into the terminal window that was still in the /anaconda/anaconda/lib/python2.7/site-packages/opencv folder and ran:

ln -s /usr/local/Cellar/opencv/2.4.13/lib/python2.7/site-packages/
ln -s /usr/local/Cellar/opencv/2.4.13/lib/python2.7/site-packages/
TO-DO: Tell anaconda it’s there – (not showing in conda list)