CoolFace
Apppublic

ShamsKhan404/Real_Time_Emotion_Detection

sourceHugging Faceupdated 1y agoView on Hugging Face
5likes
App README

Real-Time Emotion Detection (RTED)

This app uses a deep learning model to classify emotions from images and real-time video streams.

How It Works

  1. 1.Choose a Detection Mode:
  2. 2.Static Detection: Upload an image.
  3. 3.Real-Time Detection: (Currently disabled due to Hugging Face webcam restrictions).
  1. 1.Model Predictions:
  2. 2.The model predicts emotions from 7 categories: Angry, Disgust, Fear, Happy, Neutral, Sad, Surprise
  1. 1.File Structure:
  2. 2.Model File: model/RAFDB_Custom.h5 (Ensure this exists)
  3. 3.Static Files: Inside static/

Running the App Locally

bash
pip install -r requirements.txt
python app.py