AI & ML 2024 04 / 14
Real-Time Emotion Recognition
A CNN that reads facial expressions live from a webcam — wrapped in a friendly desktop app.
Built with
Language
- Python
Skills & tools
- TensorFlow
- Keras
- OpenCV
- PySide6
- Deep learning
Deep-learning model built with TensorFlow and Keras that classifies seven emotions in real time, with a PySide6 interface for live detection, session capture and evaluation.
Goal
Detect and classify human emotions from facial expressions — in real time, from an ordinary webcam, through an interface anyone can use.
Pipeline
- Dataset — scripted download and preparation of a public facial-expression dataset.
- Model — a convolutional neural network built with TensorFlow / Keras.
- Training & evaluation — dedicated scripts with reproducible metrics.
- Application — a PySide6 (Qt) desktop app with live detection that saves each session and the frames it classified correctly.
Related
I later benchmarked five different approaches on the same problem — from a majority-class baseline to an augmented CNN — in Expression Model Benchmark.