UniFace is a lightweight, production-ready face analysis library built on ONNX Runtime. It provides a unified API for face detection, recognition, landmark detection, attribute analysis, face parsing, gaze estimation, anti-spoofing, and privacy features.

License Python PyPI Version Downloads


Documentation Moved

The comprehensive documentation for UniFace has been moved to a dedicated documentation site with tutorials, API references, and guides.

UniFace Docs Page →


Interactive Notebooks

Run examples directly in your browser with Google Colab:

Notebook Colab Description
Face Detection Open In Colab Detect faces and 5-point landmarks
Face Alignment Open In Colab Align faces for recognition
Face Verification Open In Colab Compare faces for identity
Face Search Open In Colab Find a person in group photos
Face Analyzer Open In Colab All-in-one face analysis
Face Parsing Open In Colab Semantic face segmentation
Face Anonymization Open In Colab Privacy-preserving blur
Gaze Estimation Open In Colab Gaze direction estimation

View all notebooks →


Quick Install

pip install uniface

For GPU support:

pip install uniface[gpu]

Resources: