File size: 1,519 Bytes
459d441
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
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!