AI & ML Atlas
Artificial IntelligencealgorithmAnimated walkthrough
Face Detection
Finds where faces are in an image.
The idea
The Viola-Jones detector slides a window over the image at many scales and quickly rejects windows that do not look like a face using a cascade of simple Haar-like features. Modern detectors use CNNs that predict boxes directly, many times faster and more robust.
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Slide a window across the image at several sizes.
- 2Compute features inside each window.
- 3Reject windows that fail early cheap tests.
- 4Keep the windows that pass every stage.
- 5Merge overlapping detections.
1/5
Step by step
- 1Slide a window across the image at several sizes.
- 2Compute features inside each window.
- 3Reject windows that fail early cheap tests.
- 4Keep the windows that pass every stage.
- 5Merge overlapping detections.
Where it is used
Camera autofocus, photo apps, security.
Watch out for
Lighting, pose and occlusion; fairness differs across demographic groups.