Skip to content

Instantly share code, notes, and snippets.

View NSStudent's full-sized avatar
🏠
Working from home

Omar NSStudent

🏠
Working from home
View GitHub Profile
@NSStudent
NSStudent / install_opencv_on_mac.md
Created February 21, 2017 22:59 — forked from ldong/install_opencv_on_mac.md
install opencv on mac
  1. Create a virtualenv, mkvirtualenv lookup

  2. install opencv on mac via homebrew

brew tap homebrew/science
brew install opencv
cd ~/.virtualenvs/lookup/lib/python2.7/site-packages
ln -s /usr/local/Cellar/opencv/{VERSION_NUMBER}/lib/python2.7/site-packages/cv.py cv.py
ln -s /usr/local/Cellar/opencv/{VERSION_NUMBER}/lib/python2.7/site-packages/cv2.so cv2.so