Yaonotes Last Build: Mar 27 2020 03:20:05 History

Back

Face Detection with Viola Jones Method

This article introduces viola-jones method.

Nov 26 2019 02:46:06

For a face recognition application, it will usually includes several steps, such as:

In this article, we only introduce an "old" face detection method: Viola-Jones method, which is the algorithm used by OpenCV for face detection, at least in 2.4. There are three key components for Viola-Jones method: Haar-like features, Adaboost and Cascade classifiers.

Haar-like features

5316411-b013ac3de86151b2.jpg

As seen above, a rectangular haar-like feature can be defined as the difference of the sum of pixels of areas inside a rectangle, i.e. feature=sum(white)-sum(black).