Haar Cascade Object Detection Face & Eye – OpenCV with Python for Image and Video Analysis 16



In this OpenCV with Python tutorial, we’re going to discuss object detection with Haar Cascades. We’ll do face and eye detection to start. In order to do object recognition/detection with cascade files, you first need cascade files. For the extremely popular tasks, these already exist. Detecting things like faces, cars, smiles, eyes, and license plates for example are all pretty prevalent.

First, I will show you how to use these cascade files, then I will show you how to embark on creating your very own cascades, so that you can detect any object you want, which is pretty darn cool!

You can use Google to find various Haar Cascades of things you may want to detect. You shouldn’t have too much trouble finding the aforementioned types. We will use a Face cascade and Eye cascade. You can find a few more at the root directory of Haar cascades. Note the license for using/distributing these Haar Cascades.

text-based tutorial and sample code: https://pythonprogramming.net/haar-cascade-face-eye-detection-python-opencv-tutorial/

https://pythonprogramming.net

https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex

source

Reply

Do NOT follow this link or you will be banned from the site!