Medium⏱ time2 hr$ cost0
Emotion Detector
Use a model to guess facial expressions like happy, sad or surprised from a webcam.
Start building ↓
Result first
The build
Step 01
Load the model
Bring in a face-expression model.
Step 02
Detect a face
Find the face in the frame.
Step 03
Read expression
Get the predicted emotion scores.
Step 04
Display
Show the top emotion live.
Working Principle
The model maps facial features to expression categories and reports which emotion best fits the current face.
The science behind it
A closer look
It's classification of facial features; accuracy varies by lighting and person, and it can carry bias — use only your own face.
Take it further
Variables to test
- 1 Test exaggerated vs subtle faces.
- 2 Where does it confuse two emotions?
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