BeyzaTopbas's picture
Update README.md
1507bf1 verified
---
title: Facial Keypoints Detection
emoji: πŸš€
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: Streamlit template space
---
# 🧠 Facial Keypoints Detection
A Streamlit application that predicts facial keypoints using a trained ResNet model.
---
## πŸ“Œ What this app does
- Upload a face image
- Converts image to grayscale
- Resizes to 96x96
- Predicts facial keypoints (eyes, nose, mouth, etc.)
- Visualizes the keypoints directly on the image
---
## πŸ–Ό Example Workflow
1. Upload a front-facing face image
2. Model predicts keypoints
3. Red dots appear on facial landmarks
---
## πŸ— Model
- Architecture: ResNet-based CNN
- Input shape: 96x96 grayscale
- Output: (x, y) coordinates for facial landmarks
- Loss used during training: MSE
---
## πŸ›  Tech Stack
- Streamlit
- TensorFlow / Keras
- NumPy
- Matplotlib
- Pillow
---
## πŸš€ Run locally
```bash
pip install -r requirements.txt
streamlit run src/streamlit_app.py