Professional Documents
Culture Documents
Detecting Faces
Detecting Faces
combinations
Faces are rare: 010 per image
features:
lLocation and size: eyes, mouth, bridge of nose
Haar-features (4)
24
A, B: 2 rectangles =>
C: 3 rectangles
D: 4 rectangles
Feature selection
A very small number of features can be
combined to from an effective classifier!
Example: The 1st and 2nd features selected by
AdaBoost
Feature selection
A weak classifier h
f1 f2
f1 > a threshold => Fa e!
f2 a threshold => Not a Fa e!
1 if fi >
h=
0 otherwise
Feature selection
Idea: Combining several weak classifiers to
generate a strong classifier
1 3
2 T
><
1h1+ 2h2 + 3h3 + + ThT Tthresold
~performance of
the weak classifier
on the training set weak classifier (feature, threshold)
h1 = 1 or 0
Feature selection
Training Dataset
4916 face images
non-face images cropped from 9500 images
non-face images
For T rounds
IMAGE T T T
SUB-WINDOW
Classifier 1 Classifier 2 Classifier 3 FACE
F F F
Selected features,
Non-faces thresholds, and weights