> For the complete documentation index, see [llms.txt](https://theiotlearninginitiative.gitbook.io/bitol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theiotlearninginitiative.gitbook.io/bitol/computer-vision/opencv/face-detection.md).

# Face Detection

## Face Detection

> In the Viola–Jones object detection framework, the Haar-like features are therefore organized in something called a classifier cascade to form a strong learner or classifier. The key advantage of a Haar-like feature over most other features is its calculation speed.
>
> Haar-like features are digital image features used in object recognition. They owe their name to their intuitive similarity with Haar wavelets and were used in the first real-time face detector. [Wikipedia](https://en.wikipedia.org/wiki/Haar-like_feature)

* [Reyes-fred Xiaomin Gitbook](https://reyes-fred.gitbooks.io/xiaomin/content/)
* [Face Detection using Haar Cascades](https://docs.opencv.org/3.3.0/d7/d8b/tutorial_py_face_detection.html)
* [OpenCV Haar Classifier Generator](https://github.com/dan-silver/haar-classifier-generator)
* [Object Detection (objdetect module) ](https://docs.opencv.org/master/d2/d64/tutorial_table_of_content_objdetect.html)
* [Convolutional Neural Networks vs. Cascade Classifiers for Object Detection](https://dzone.com/articles/cnn-vs-cascade-classifiers-for-object-detection)

## Cascade Classifier

> Cascading is a particular case of ensemble learning based on the concatenation of several Classifiers, using all information collected from the output from a given classifier as additional information for the next classifier in the cascade. Unlike voting or stacking ensembles, which are multiexpert systems, cascading is a multistage one. Cascading Classifiers are trained with several hundred "positive" sample views of a particular object and arbitrary "negative" images of the same size. After the classifier is trained it can be applied to a region of an image and detect the object in question. To search for the object in the entire frame, the search window can be moved across the image and check every location for the classifier. This process is most commonly used in image processing for object detection and tracking, primarily facial detection and recognition. [Wikipedia](https://en.wikipedia.org/wiki/Cascading_classifiers)

* [Cascade Classifier](https://docs.opencv.org/master/db/d28/tutorial_cascade_classifier.html)
* [Cascade Classifier Training](https://docs.opencv.org/master/dc/d88/tutorial_traincascade.html)
* [Train Your Own OpenCV Haar Classifier](http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html)
