Easy⏱ time1 hr$ cost0
Face Detection Counter
Use a ready model to detect faces in a webcam feed and count how many it sees.
Start building ↓
Result first
The build
Step 01
Open the camera
Start a webcam stream.
Step 02
Run detection
Apply a pre-trained face detector to each frame.
Step 03
Draw boxes
Outline each detected face.
Step 04
Count
Display the number of faces.
Working Principle
A pre-trained detector scans each frame for face-like patterns and reports a box around every face it finds, which you tally.
The science behind it
A closer look
Detection differs from recognition: it finds where faces are, not who they are. Use only your own images and respect privacy.
Take it further
Variables to test
- 1 Test groups vs single faces — accuracy?
- 2 Vary distance — when does it miss faces?
More AI
AI
Hand-Drawn Digit Classifier
Train a tiny neural network in the browser to recognise digits you draw with a mouse.
Medium⏱2 hr$0
AI
Rock-Paper-Scissors Vision
Use a webcam and a no-code model to recognise your hand and play rock-paper-scissors.
Easy⏱1 hr$0
AI
Spam Email Classifier
Train a model on example messages so it can flag new ones as spam or not.
Medium⏱2 hr$0