OpenCV: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
Line 11: Line 11:


     brew install homebrew/science/opencv
     brew install homebrew/science/opencv
    brew install python
It's easiest to install a separate version of python from brew to make sure all the pieces work together (there's a problem sometimes with the built-in version of numpy and opencv).

Latest revision as of 19:17, 14 March 2017

OpenCV is a library related to computer vision. It includes routines for, for instance, face detection (among other kinds of patterns). There is a Python Interface.

Install OpenCV for PYthon on OSX

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

Using homebrew.

   brew install homebrew/science/opencv
   brew install python

It's easiest to install a separate version of python from brew to make sure all the pieces work together (there's a problem sometimes with the built-in version of numpy and opencv).