CoolFace
Apppublic

BeyzaTopbas/Facial__Keypoints__Detection

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
App README

๐Ÿง  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. 1.Upload a front-facing face image
  2. 2.Model predicts keypoints
  3. 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