We covered a lot of operations on images in the preceding sections. In this recipe, let's delve deeper and cover an advanced operation such as face detection in images.
In this recipe, we will use Python's
opencv module, so let's start by installing the required module.
opencvPython bindings, we have to first install
opencvon our computer. On my Mac OS X machine, I use the
brewutility to install
(ch10)chetans-MacBookPro:ch10 Chetan$ brew install homebrew/science/opencv ==> Tapping homebrew/science Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew- science'... ... ... ==> Summary /usr/local/Cellar/opencv/220.127.116.11: 277 files, 35.5M
opencvon your computer doesn't ...