Real-Time Viola-Jones Face Detection in a Web Browser
This demo uses the original Viola-Jones method, detecting all hits across multiple scales and locations. Check the box to turn on and off averaging. With it off, all positive detections will be displayed. With it on, all hits will be averaged into a single detection. You can see an implementation of our optimized method working in real time here. To view the demos, you will need flash installed and a working webcam.
- If you have more than one camera driver, the camera settings dialog will appear. On a mac laptop with a built-in camera, select "USB Video Class Video". Otherwise, select your camera. Click Close.
- Flash will prompt you to allow access to your webcam. Click "Allow".
- Click the "DETECT!" button to run the detector. To average all face hits into a single hit, check the "Average Hits" checkbox.
It has been tested in Mozilla Firefox, Safari, Internet Explorer, Google Chrome