Face Detection Using Python & Open CV
In this article I will show you how to create your very own image face detection program using the python programming language, and Open CV with pretrained classifiers. We will detect both the faces and eyes within an image.
Face detection is performed by using classifiers. A classifier is essentially an algorithm that decides whether a given image is positive(face) or negative(not a face). We will use the Haar classifier which was named after the Haar wavelets because of their similarity to detect the faces and eyes on an image. The Haar classifier employs a machine learning algorithm called Adaboost for visual object detection.
If you prefer not to read this article and would like a video representation of it, you can check out the YouTube Video below and the full code on my Github. It goes through everything in this article with a little more detail, and will help make it easy for you to start programming your own face detection program. Or you can use both as supplementary materials for learning about this topic !