@Sn0wbrave: If you're working on Computer Vision projects, this project is worth paying attention to UniFace is an open-source Pyth…
Summary
UniFace is an open-source Python library that provides a unified API for face detection, recognition, tracking, gaze estimation, and other tasks, designed for computer vision projects.
View Cached Full Text
Cached at: 08/16/26, 02:02 PM
If you’re working on Computer Vision projects, this project is worth paying attention to UniFace is an open-source Python library that combines face detection, recognition, tracking, gaze tracking, and Anti-Spoofing into a single API. https://github.com/yakhyo/uniface :::
yakhyo/uniface
Source: https://github.com/yakhyo/uniface
UniFace: A Unified Face Analysis Library for Python
UniFace is a lightweight, production-ready Python library for face detection, recognition,
tracking, landmark analysis, face parsing, gaze estimation, and face attributes.
pip install "uniface[cpu]" # CPU and Apple Silicon
pip install "uniface[gpu]" # NVIDIA CUDA
pip install --pre "uniface[cpu]" # latest pre-release
A first script
FaceAnalyzer runs detection, alignment and recognition in one call. Attribute models are opt-in.
import cv2
from uniface import FaceAnalyzer, FairFace
analyzer = FaceAnalyzer(predictors=[FairFace()])
for face in analyzer.analyze(cv2.imread("photo.jpg")):
print(face.bbox, face.sex, face.age_group, face.embedding.shape)
bbox, confidence, landmarks and embedding are always set. Age, sex, race, emotion, quality
and the face states stay None until you pass the predictor that fills them.
All fifteen tasks, and which model does each
| Task | Models |
|---|---|
| Face Detection | RetinaFace, SCRFD, CenterFace, YOLOv5-Face, YOLOv8-Face, BlazeFace |
| Face Recognition | AdaFace, ArcFace, EdgeFace, MobileFace, SphereFace |
| Face Tracking | BYTETracker, persistent IDs across video frames |
| Facial Landmarks | 2d106det (106), PIPNet (98 / 68), Face Mesh (468 / 478, 3D) |
| Face Parsing | BiSeNet (19 classes), XSeg masking |
| Portrait Matting | MODNet, trimap-free |
| Gaze Estimation | MobileGaze (ResNet-18 / 34 / 50, MobileNetV2) |
| Head Pose | 6D rotation representation, pitch / yaw / roll |
| Demographics | AgeGender, FairFace (age group, sex, race) |
| Emotion | AffectNet-7 and AffectNet-8 |
| Face States | FaceAttribNet: eyes, glasses, sunglasses, mask |
| Face Quality | eDifFIQA (T / S / M / L) |
| Anti-Spoofing | MiniFASNet liveness |
| Anonymization | 5 blur methods |
| Vector Store | FAISS-backed embedding search |
Runs on CPU, Apple Silicon and CUDA. Weights download on first use, verified by SHA-256.
Find and measure faces
Face Detection · docs
Facial Landmarks · docs
Face Mesh · docs
Face Quality · docs
Cut faces out
Face Parsing · docs
Face Segmentation · docs
Portrait Matting · docs
Read where a head is pointing
Head Pose · docs
Gaze Estimation · docs
Read a face
Age and Sex · docs
Emotion · docs
Face States · docs
Tell a real face from a replay
Anti-Spoofing · docs
Match a face, or hide one
Face Recognition · docs
Face Anonymization · docs
Get Started · Model Zoo · Notebooks · Model licences · Contributing · Discord · Issues
Runs on CPU, Apple Silicon and CUDA. Weights download on first use, verified by SHA-256.
UniFace is MIT; some pretrained weights are not, so check
licences before shipping commercially.
Not affiliated with Uniface by Rocket Software.
Similar Articles
@0xGky: Facial recognition technology used to be all about either charging you upfront or quietly shipping your face off to the…
Faceplugin 据称发布了全球首个完全免费开源的面部识别 SDK,可在 Windows 和 Linux 上完全本地运行,支持纯 CPU 及 Python 接口,涵盖人脸检测、关键点与特征匹配,但免费版在精度和活体检测方面可能有所削弱。
@ClementDelangue: The UFOs are on HF thanks to @MTSlive! Who’s going to train the first computer vision model? https://huggingface.co/MTS…
MTSlive has released UFO-related datasets on Hugging Face, challenging the community to train the first computer vision model for UAP detection.
@CongWei1230: Thanks for sharing! We open-sourced code and models. Huggingface Paper: https://huggingface.co/papers/2609.38597… Code:…
NVIDIA Labs released PixelUMM, an encoder-free unified multimodal model that operates directly in raw pixel space for both image and video understanding and generation, along with open-sourced code and models.
New webcam-based AI system reads and responds to human facial expressions
塔林大学博士项目开发了基于摄像头的 Enactive Facial Expression Pipeline (EFEP) 系统,通过分析面部动作单元而非宽泛情绪标签,实时估计并生成 AI 虚拟角色的回应表情,同时揭示了现有分析工具间的分歧与人口统计偏差。
@HuggingPapers: NVIDIA just released FoundationPose on Hugging Face A unified foundation model for 6-DoF object pose estimation and tra…
NVIDIA released FoundationPose on Hugging Face, a unified foundation model for 6-DoF object pose estimation and tracking that works on novel objects without fine-tuning.