Spaces:
Sleeping
Sleeping
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,12 +1,45 @@
|
|
| 1 |
---
|
| 2 |
title: Age Detection Demo
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Age Detection Demo
|
| 3 |
+
emoji: 👶👴
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Age Detection Demo
|
| 14 |
+
|
| 15 |
+
This is a demo of an age regression model trained on the UTKFace dataset. Upload a face image and the model will predict the person's age.
|
| 16 |
+
|
| 17 |
+
## Model Information
|
| 18 |
+
|
| 19 |
+
- **Model**: MobileNetV2-based regression model
|
| 20 |
+
- **Dataset**: UTKFace
|
| 21 |
+
- **Task**: Age estimation from face images
|
| 22 |
+
- **Input**: RGB face image (224x224)
|
| 23 |
+
- **Output**: Predicted age in years
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
1. Upload a cropped face image (crop to face for best results)
|
| 28 |
+
2. Click submit
|
| 29 |
+
3. View the predicted age
|
| 30 |
+
|
| 31 |
+
The model works best with:
|
| 32 |
+
- Clear, well-lit face images
|
| 33 |
+
- Images cropped to show mainly the face
|
| 34 |
+
- Front-facing or near-front-facing poses
|
| 35 |
+
|
| 36 |
+
## Model Repository
|
| 37 |
+
|
| 38 |
+
The model is hosted at: [Sharris/age_detection_regression](https://huggingface.co/Sharris/age_detection_regression)
|
| 39 |
+
|
| 40 |
+
## Limitations
|
| 41 |
+
|
| 42 |
+
- This model provides age estimates for research and educational purposes
|
| 43 |
+
- Results may vary based on image quality, lighting, and pose
|
| 44 |
+
- The model reflects biases present in the training data
|
| 45 |
+
- Not suitable for high-stakes decision making
|