← all repositories
otaha178/Emotion-recognition

A webcam that guesses if you're happy, with 66% confidence

Real-time emotion recognition built on a Kaggle dataset and borrowed architecture, shipping a pretrained model so you don't have to train.

Emotion-recognition
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

What it does

Point your webcam at your face and the script pops two windows: the live feed, plus a bar chart of predicted emotion probabilities. It runs a pretrained CNN on the FER2013 dataset, detecting the usual suspects—happy, angry, and the rest of the basic emotional palette.

The interesting bit

The author didn’t train from scratch and isn’t pretending otherwise. The model is cherry-picked from a related project by oarriaga, and the whole thing is essentially a friendly wrapper around existing face-classification work plus Adrian Rosebrock’s tutorials. That honesty is refreshing; the value is in the glue and the ready-to-run demo.

Key highlights

  • Ships with a pretrained model; python real_time_video.py is the only command you need for the demo
  • FER2013 test accuracy: 66% (stated plainly, not buried)
  • Training script included if you want to swap in your own model
  • “Ongoing” feature: drawing emoji faces next to detected faces, which tells you where this is headed

Caveats

  • 66% on FER2013 is respectable for that dataset but still wrong a third of the time; don’t bet your UX on it
  • README has rough edges: broken grammar, a dead Kaggle link format, and the repo name mismatch (omar178 vs otaha178) suggests this may be a fork or rename with lingering references
  • No code visible in the README; you’re trusting the scripts exist as described

Verdict

Good for students or hackathon demos who need a working webcam emotion classifier in ten minutes. Skip it if you need production-grade affective computing or want to understand the architecture deeply—the README is a map to other people’s work, not a deep dive.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.