Skip to content

A real-time facial emotion detector using deep learning. Simply run the script and it'll tell you if someone looks happy, sad, angry, or other emotions through your webcam feed. Quick run: python maen.py (needs webcam + model file)

Notifications You must be signed in to change notification settings

futuremango/Emotion-Detector

Repository files navigation

Emotion Detector using Deep learning, DeepFace

A simple real-time emotion detector that recognizes facial expressions through your webcam! Built with Python, deepface, OpenCV, and TensorFlow.

What It Does

This program uses your camera to detect faces and tell you what emotion the person is showing - whether they're happy, sad, angry, confused, surprised, disgusted, or neutral.

Quick Start

1. Install Dependencies

pip install tensorflow opencv-python numpy matplotlib

2. Make sure you have:

  • maen.py (the main file)
  • final_ensemble_emotion_model.keras (the trained model file)
  • A working webcam

3. Run It!

python maen.py

How to Use

  1. Run the command above
  2. Look at your webcam
  3. See your emotion displayed on screen!
  4. Press any key to exit

Features

  • Real-time emotion detection
  • Works with any webcam
  • Simple and easy to use
  • No complicated setup

Emotions It Recognizes

  • Happy
  • Sad
  • Angry
  • Confused
  • Surprised
  • Disgusted
  • Neutral

That's it! Just run and enjoy watching your emotions get detected in real-time!

About

A real-time facial emotion detector using deep learning. Simply run the script and it'll tell you if someone looks happy, sad, angry, or other emotions through your webcam feed. Quick run: python maen.py (needs webcam + model file)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages