【Python学习笔记】在OSX下搭建opencv+python环境

https://jjyap.wordpress.com/2014/05/24/installing-opencv-2-4-9-on-mac-osx-with-python-support/

参照以上blog

brew install opencv

cd /usr/local/Cellar/opencv/2.4.9/

cd /Library/Python/2.7/site-packages/

ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv.py cv.py
ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv2.so cv2.so
posted @ 2016-03-14 09:25  龟窝  阅读(178)  评论(0编辑  收藏  举报