Face Detection

Learn the fundamentals of cascades training and detect faces using a cascade classifier.

In this lesson, we’l learn to detect faces. This technique can be used widely in attendance, surveys, and many other fields. In OpenCV, we use cascade classifiers to detect faces. Cascade classifiers are created through cascade classifier training.

What is cascade classifier training?

Cascade classifier training is a machine learning approach in which a cascade function is trained with lots of positive and negative images to create a cascade file that will be used to detect other images. For example, if we want to detect faces, we collect images with faces and images without faces. Then, we train them in OpenCV and create the cascade. Cascade classifiers are one of the most famous and widely-used features of OpenCV. In this lesson, we’ll use the pre-existing cascades in OpenCV to detect faces.

Get hands-on with 1400+ tech skills courses.