Real-time facial expression analysis powered by TensorFlow.js and face-api.js running entirely in the browser.

Models
face-api.js
Backend
None
Inference
Client-side
Performance
WebGL
Many face analysis tools require sending images or video streams to external servers, creating privacy concerns and latency.
The goal was to build a lightweight application capable of detecting faces and analyzing expressions entirely in the browser.
The application was built with Next.js, React and TypeScript while leveraging browser-based machine learning.
Integrated face-api.js models to detect faces, landmarks and facial expressions.
Configured TensorFlow.js with WebGL acceleration.
Used MediaDevices API to process webcam frames in real time.
Implemented upload validation and multi-face detection.
This project gave me hands-on experience building AI-powered browser applications.