<< Chapter < Page | Chapter >> Page > |
In a standard 19x19 pixel sub-window, there are a lot of possible features, in this case we are only using 500 of them since it would be prohibitively expensive to evaluate them all. Thus, the object detection framework employs a variant of the learning algorithm adaptive boosting to both select the best features and to train classifiers that use them. Viola-Jones closely resembles Haar basis function because it operates by summing the pixel values in rectangular areas of the image and then comparing the difference between the summations in the black and white triangles to the training data. It allows for possible detection of different sizes of faces by having a rectangular window detector that moves across the picture. The detector is capable of detecting faces, and its size changes with each scan. For the algorithm we use in the project, we can manually adjust the scaling depending on the size of the image. Unlike other facial recognition algorithms, which scale the picture each time and runs it through the detector, Viola-Jones scales the detector, allowing for faster calculation.The Viola-Jones calculation also contains a training data of faces and non-faces. For the algorithm that we use in this project, we have 2000 faces and 4000 non-faces in the training data.
Notification Switch
Would you like to follow the 'Face detection and feature recognition' conversation and receive update notifications?