OpenCV

From XPUB & Lens-Based wiki

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

Using homebrew.

   brew install homebrew/science/opencv