Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: AI Emotion Detector
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: pink
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# π AI Emotion Detector
|
| 14 |
+
|
| 15 |
+
Real-time facial emotion detection using state-of-the-art Vision Transformer!
|
| 16 |
+
|
| 17 |
+
## π Features
|
| 18 |
+
|
| 19 |
+
- πΉ **Live Webcam Detection** - Capture and analyze emotions in real-time
|
| 20 |
+
- πΌοΈ **Image Upload** - Drag & drop or upload any face image
|
| 21 |
+
- π― **High Accuracy** - 98.80% validation accuracy
|
| 22 |
+
- π¨ **Beautiful UI** - Animated results with confidence scores
|
| 23 |
+
- 7οΈβ£ **7 Emotions** - Angry, Disgust, Fear, Happy, Sad, Surprise, Neutral
|
| 24 |
+
|
| 25 |
+
## π Model Details
|
| 26 |
+
|
| 27 |
+
- **Model ID**: `koyelog/face`
|
| 28 |
+
- **Architecture**: Vision Transformer (ViT)
|
| 29 |
+
- **Parameters**: 85.8 Million
|
| 30 |
+
- **Training Dataset**: 181,230 images
|
| 31 |
+
- **Training Accuracy**: 99.29%
|
| 32 |
+
- **Validation Accuracy**: 98.80%
|
| 33 |
+
- **License**: MIT
|
| 34 |
+
|
| 35 |
+
## π Supported Emotions
|
| 36 |
+
|
| 37 |
+
| Emotion | Emoji | Color |
|
| 38 |
+
|---------|-------|-------|
|
| 39 |
+
| Angry | π | Red |
|
| 40 |
+
| Disgust | π€’ | Green |
|
| 41 |
+
| Fear | π¨ | Purple |
|
| 42 |
+
| Happy | π | Yellow |
|
| 43 |
+
| Sad | π’ | Blue |
|
| 44 |
+
| Surprise | π² | Magenta |
|
| 45 |
+
| Neutral | π | Gray |
|
| 46 |
+
|
| 47 |
+
## π‘ Usage Tips
|
| 48 |
+
|
| 49 |
+
For best results:
|
| 50 |
+
- β
Use front-facing photos
|
| 51 |
+
- β
Ensure good lighting
|
| 52 |
+
- β
Single face per image
|
| 53 |
+
- β
Clear facial expressions
|
| 54 |
+
|
| 55 |
+
## π©βπ» Created By
|
| 56 |
+
|
| 57 |
+
**Koyeliya Ghosh**
|
| 58 |
+
- HuggingFace: [@koyelog](https://huggingface.co/koyelog)
|
| 59 |
+
- Model: [koyelog/face](https://huggingface.co/koyelog/face)
|
| 60 |
+
|
| 61 |
+
## π License
|
| 62 |
+
|
| 63 |
+
MIT License - Free to use and modify!
|