metadata
title: Real-Time Emotion Detection (RTED)
emoji: 😊
cover_image: cover.png
sdk: docker
sdk_version: 3.0.0
app_file: app.py
python_version: '3.9'
pinned: false
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
Choose a Detection Mode:
- Static Detection: Upload an image.
- Real-Time Detection: (Currently disabled due to Hugging Face webcam restrictions).
Model Predictions:
- The model predicts emotions from 7 categories:
Angry, Disgust, Fear, Happy, Neutral, Sad, Surprise
- The model predicts emotions from 7 categories:
File Structure:
- Model File:
model/RAFDB_Custom.h5(Ensure this exists) - Static Files: Inside
static/
- Model File:
Running the App Locally
pip install -r requirements.txt
python app.py