O'Reilly logo

Learning OpenCV 3 Application Development by Samyak Datta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Haar features

This section will describe the kind of features that are extracted from the input images when we are trying to develop a face detection system. Since we have already stated that detecting faces in images is no trivial task for machines, you would expect the feature extraction step to be fairly complicated. Surprisingly, it is not so! As it turns out, extracting features is as simple as taking the sum of pixel values values over arbitrary rectangular sub-regions within images! One of the reasons for the popularity of the Viola-Jones detector is its simplicity. Let us learn a bit more about these features.

The feature-set that we are going to talk about in brief here are known as Haar-like features, or simply Haar features. They are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required