Face Detection
Learn the fundamentals of cascade training and detect faces using a cascade classifier.
We'll cover the following
In this lesson, we’ll learn to detect faces. This technique can be used widely in attendance, surveillance, and many other fields. This is particularly useful in the field of security. 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’ll 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 the images 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 preexisting cascades in OpenCV to detect faces.
Get hands-on with 1400+ tech skills courses.