face / README.md
koyelog's picture
Update README.md
459d441 verified
---
title: AI Emotion Detector
emoji: 🎭
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
---
# 🎭 AI Emotion Detector
Real-time facial emotion detection using state-of-the-art Vision Transformer!
## πŸš€ Features
- πŸ“Ή **Live Webcam Detection** - Capture and analyze emotions in real-time
- πŸ–ΌοΈ **Image Upload** - Drag & drop or upload any face image
- 🎯 **High Accuracy** - 98.80% validation accuracy
- 🎨 **Beautiful UI** - Animated results with confidence scores
- 7️⃣ **7 Emotions** - Angry, Disgust, Fear, Happy, Sad, Surprise, Neutral
## πŸ“Š Model Details
- **Model ID**: `koyelog/face`
- **Architecture**: Vision Transformer (ViT)
- **Parameters**: 85.8 Million
- **Training Dataset**: 181,230 images
- **Training Accuracy**: 99.29%
- **Validation Accuracy**: 98.80%
- **License**: MIT
## 🎭 Supported Emotions
| Emotion | Emoji | Color |
|---------|-------|-------|
| Angry | 😠 | Red |
| Disgust | 🀒 | Green |
| Fear | 😨 | Purple |
| Happy | 😊 | Yellow |
| Sad | 😒 | Blue |
| Surprise | 😲 | Magenta |
| Neutral | 😐 | Gray |
## πŸ’‘ Usage Tips
For best results:
- βœ… Use front-facing photos
- βœ… Ensure good lighting
- βœ… Single face per image
- βœ… Clear facial expressions
## πŸ‘©β€πŸ’» Created By
**Koyeliya Ghosh**
- HuggingFace: [@koyelog](https://huggingface.co/koyelog)
- Model: [koyelog/face](https://huggingface.co/koyelog/face)
## πŸ“ License
MIT License - Free to use and modify!