Automated face analysis across the primate order.
Detect faces, track facial anatomical landmarks, classify genera, and measure facial kinematics across photos and video. PrimateFace is designed for primatologists, neuroscientists, and ML researchers.
Video examples.
Outputs from PrimateFace v1.0.0 across face detection, 68- and 48-point landmarks, wild howler vocalizations, genus classification, and video tracking.
Install PrimateFace.
Model weights download automatically on first run. You do not need the full image dataset to run inference on your own photos or video.
68-point and 48-point reference.
0-based indices for COCO-68 (0–67), PF-48 (0–47), and 1-based indices for DeepLabCut-55 (1–55), with a searchable 104-landmark table.
| # | Region | Anatomical name | COCO-68 | DLC-55 | PF-48 | PF-48 source | Definition |
|---|
Guides and reference.
Installation, model selection, landmark conversion, framework integration, and API documentation.
Installation
Set up via uv or pip on Linux, macOS, or Windows.
Read guideQuickstart & Colab
Run inference on photos or video locally or in Google Colab.
Read guideScope & Limitations
What PrimateFace is validated to measure and what remains out of scope.
Read guidePretrained Models
Compare RF-DETR-M, ViTPose-L, RTMPose-M, HRNetV2-W18, and ConvNeXt-Small.
Read guide68 ↔ 48 Conversion
Use the NumPy Procrustes RBF converter and unified 104-landmark map.
Read guidePose Frameworks
Run weights natively in MMPose, DeepLabCut 3, Lightning Pose 2, or SLEAP-NN.
Read guideGenus & Attributes
Classify 69 primate genera and tag 6 observable facial attributes.
Read guideDataset & Licensing
Explore the 240,241-image corpus, licensing tiers, and hydration guide.
Read guideReproducibility Map
Direct index of figures, scripts, checkpoints, and Source Data files.
Read guideWhat PrimateFace measures.
Included measurements, downstream workflows that require domain data, and tasks outside scope.
Included
- Cross-species ear-excluded face detection
- 68-point facial landmarks & 68 ↔ 48 conversion
- 69-genus classification & 6 observable attributes
- Frame-by-frame kinematics, head pose & export (CSV, COCO, DLC, SLEAP, NWB)
With domain data
- Individual ID: pair eye-aligned crops with a labeled gallery
- Vocal–motor tracking: pair mouth kinematics with field audio
- Comparative morphometrics: compare facial geometry across genera
Out of scope
- Emotion, pain, or FACS action-unit decoding
- Monocular eye gaze or 3D face reconstruction
- Ear / pinna landmarks (use DLC-55 when needed)
- Sub-genus species ID or multi-animal ID tracking across gaps
Cite PrimateFace.
Code is MIT-licensed. Core model weights are released under Apache-2.0 or BSD-3-Clause.
@article{parodi2025primateface,
title = {PrimateFace: A machine learning resource for automated primate face analysis},
author = {Parodi, Felipe and Matelsky, Jordan K. and Lamacchia, Alessandro P. and Segado, Melanie and Jiang, Yaoguang and Regla-Vargas, Alejandra and Sofi, Liala and Kimock, Clare and Waller, Bridget M. and Platt, Michael L. and Kording, Konrad P.},
journal = {bioRxiv},
year = {2025},
doi = {10.1101/2025.08.12.669927},
url = {https://github.com/KordingLab/PrimateFace}
}