davideuler / HRNet-Landmarks

Web application for Realtime landmark for Video frames

Repository from Github https://github.comdavideuler/HRNet-LandmarksRepository from Github https://github.comdavideuler/HRNet-Landmarks

🎯 High-Resolution Facial Landmark Detection

Face Alignment Demo

State-of-the-art 68-point facial landmark detection using High-Resolution Networks (HRNet).

---

✨ Features

  • πŸš€ High-Resolution Networks: Maintains high resolution throughout the process
  • 🎯 68 Facial Landmarks: Precise detection of key facial points
  • ⚑ Real-time Performance: Optimized for live video processing
  • πŸ”₯ Multi-Scale Fusion: Advanced feature fusion across different resolutions
  • πŸ“Š Low NME Score: Superior accuracy on 300W dataset

Usage

Datasets: 300W

  • Download the datasets from official sources.
  • Download the annotations files from OneDrive.

πŸ“ˆ Training

To train the model, run:

  • Configure your dataset path in utils/config.py for training
$ python main.py --train

Testing

For testing the model, use:

$ python main.py --test

Real-Time Demo

To run the real-time facial landmark detection:

$ python main.py --demo

πŸ“Š Performance: 300W

NME NME pretrained model model
HRNetV2-W18 3.3 ImageNet best.pt
Reference

https://github.com/HRNet/HRNet-Facial-Landmark-Detection

About

Web application for Realtime landmark for Video frames


Languages

Language:Python 99.0%Language:Dockerfile 1.0%