--- 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!