Skip to content

Sayeem3051/deep-face-emotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Emotion Detection App

This Streamlit application uses deep learning to detect emotions in real-time using your webcam. The app uses a pre-trained CNN model to classify emotions into 7 categories:

  • Angry
  • Disgust
  • Fear
  • Happy
  • Sad
  • Surprise
  • Neutral

Features

  • Real-time emotion detection using webcam
  • FPS counter
  • Emotion history tracking
  • Color-coded emotion labels
  • Confidence scores for each prediction

Installation

  1. Clone this repository
  2. Install the required dependencies:
    pip install -r requirements.txt
    
  3. Run the app:
    streamlit run app.py
    

Deployment

This app is deployed on Streamlit Cloud. You can access it at [Streamlit Cloud URL].

Requirements

  • Python 3.8+
  • Webcam access
  • Internet connection for initial model download

About

Deep Face Emotion Recognition using a custom CNN model trained on 48x48 grayscale facial images. Classifies emotions like Happy, Sad, Angry, Surprise, Fear, Disgust, and Neutral. Includes data augmentation, early stopping, and real-time emotion detection with OpenCV.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages