Age, gender, race (FairFace), and emotion detection from faces.
Face Parsing
BiSeNet semantic segmentation with 19 facial component classes.
Gaze Estimation
Real-time gaze direction prediction with MobileGaze models.
Head Pose
3D head orientation (pitch, yaw, roll) estimation with 6D rotation models.
Tracking
Multi-object tracking with BYTETracker for persistent face IDs across video frames.
Anti-Spoofing
Face liveness detection with MiniFASNet to prevent fraud.
Face Quality
eDifFIQA scalar quality score to filter or rank faces before recognition.
Privacy
Face anonymization with 5 blur methods for privacy protection.
Vector Indexing
FAISS-backed embedding store for fast multi-identity face search.
Installation
UniFace uses portable model runtimes for consistent inference across macOS, Linux, and Windows. Most core components run through ONNX Runtime, while optional components may use PyTorch where appropriate.
CPU / Apple Silicon
pipinstalluniface[cpu]
GPU (NVIDIA CUDA)
pipinstalluniface[gpu]
From Source
gitclonehttps://github.com/yakhyo/uniface.git
cduniface
pipinstall-e".[cpu]"# or .[gpu] for CUDA
Next Steps
Quickstart
Get up and running in 5 minutes with common use cases.
Tutorials
Step-by-step examples for common workflows.
API Reference
Explore individual modules and their APIs.
Guides
Learn about the architecture and design principles.