#274 · Primary category: Computer Vision
Emotion-detection
Real-time Facial Emotion Detection using deep learning
Project last updated:08/30/24
GitHub Stars
1.4K
Forks
552
Contributors
4
License
MIT
Why we included this project
For a compact, readable example of real-time facial emotion recognition, this is a handy place to start. It chains a Haar cascade face detector to a small convolutional network trained on FER-2013, resizing each detected face to 48x48 before classifying it into one of seven emotions, from angry to surprised. Everything lives in a single script with train and display modes, so you can either train the model yourself and reproduce the roughly 63% test accuracy, or download the pre-trained weights and run live webcam predictions right away. The repo also includes the code used to convert the raw FER-2013 CSV into PNG images, which saves beginners a chunk of fiddly data prep. It is a teaching-oriented project built around a simple CNN rather than a production inference service, but that is exactly what makes it a clear starting point for classroom work or hobby experiments.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)