-
Book Overview & Buying
-
Table Of Contents
OpenCV Android Programming By Example
By :
In this section, we will discuss the powerful cascade classifier and its components, Haar features, integral images, Adaptive Boosting (Adaboost), and cascading to build an object detector.
In a nutshell, to construct an object detector, you train it using positive samples (let's say, faces of size 24x24) and negative samples (any other images that are not faces). You keep refining the training process to minimize the training error (the total number of faces classified as non-faces and total number of non-faces classified as faces).
Once the training is done and we get a new image, we ask the detector to check if it has a positive sample (that is, face). The steps followed to do so are as follows:
Haar...
Change the font size
Change margin width
Change background colour