$ git clone https://github.com/hmiha/pycv_tutorial.git
Python OpenCV 2.x.x NumPy
$ brew tap
$ pip install numpy
$ brew install --with-eigen --with-jasper --with-libttf --with-qt --with-tbb --with-ffmpeg
refer this page http://qiita.com/daxanya1/items/4709ad8454760e17148c
$ ipython
> import cv2
> import numpy
if error does not appear, installation is successfully completed.
$ cd imread
$ python imread.py
or
$ cd facedetect/
$ python facedetect.py