← All demos

Facial Expressions

Classifies the facial expression — happy, sad, angry, surprised and more (7 classes) — on-device with face-api.js (TensorFlow.js). It reads the expression shown on the face, not your actual emotion; these models are approximate and culturally biased. Best with your camera.

Loading model…
Settings
Detecting capabilities…

🖼️ Image

…or pick a sample:

🎬 Video

…or pick a sample:

📷 Camera

Pick an image, play a video, or start your camera to begin.