Skip to content

Scope & Intended Use

Before deploying PrimateFace on a new study or citing its outputs in a manuscript, check which tasks are validated out of the box, which workflows require additional data or models, and which claims are explicitly out of scope. This guide mirrors Figure 1d and Extended Data Table 3 of the PrimateFace paper.

Measurement tool, not an emotion or identity oracle

PrimateFace measures observable facial geometry and visual features—where faces are, where 68 landmarks fall, which of 69 genera a face belongs to, and six coarse visual attributes. It does not infer internal affective states (emotion, pain, stress), species within a genus, eye gaze, ear posture, or persistent individual identity across frames.

Quick self-check: Is PrimateFace right for my study?

Your research question Can PrimateFace handle it? Recommended starting point
"How often are faces visible, how wide is the mouth opening, or which way is the head turned?" Yes — out of the box Quickstart Tutorial
"Can I identify 25 known macaques in my colony or align facial landmarks with field audio?" Yes — with your own labels / audio Interactive Tutorials
"Can I score pain, stress, eye gaze, or ear flicks automatically across species?" No — do not use PrimateFace alone See Out of Scope below

1. Built-in & validated (ready out of the box)

These capabilities are packaged directly in PrimateFace v1.0.0 and benchmarked across the PrimateFace dataset (see Evaluation & Benchmarks):

Capability Shipped model / tool What it measures
Cross-primate face detection RF-DETR-M (Apache-2.0) Tight, ear-excluded face bounding boxes across 69 primate genera (AP@0.50 = 0.961, where 1.0 is perfect detection).
68-point facial landmarks ViTPose-L, RTMPose-M, HRNetV2-W18 (MMPose) + DLC 3.0.2, Lightning Pose 2.0, SLEAP-NN weights Anatomical coordinates along the jaw, eyebrows, nose, eyes, and lips (0.58% median NME for ViTPose-L, ~1 pixel on a 200-pixel face).
69-genus classification ConvNeXt-Small (BSD-3-Clause) Taxonomic genus prediction across 69 primate genera (96.0% Top-1 [#1 guess] accuracy; 97.6% on independent-identity holdouts).
6 observable facial attributes demos/train_attribute_heads.py Visible teeth, mouth openness, head tilt, apparent age class, head turn, and partial occlusion.
68↔48 landmark conversion Universal Procrustes RBF (geometric shape-mapping) converter (MIT, NumPy-only) Translates between PrimateFace's 68-point schema and the 48-point human–macaque overlap schema (~1.3 ms/face on CPU).
Geometric facial metrics Face properties (primateface.analysis) Interocular-normalized kinematics (mouth/eye aperture, brow height), fluctuating asymmetry, image quality, and 3D head orientation (yaw, pitch, roll).
Interactive pseudo-labeling Gradio GUI (gui/) + DINOv2 frame selector (dinov2/) Human-in-the-loop review and correction to build custom training sets for underrepresented species or cameras.

2. Validated workflows requiring additional models, labels, or recordings

PrimateFace serves as the front-end measurement layer for these research applications, which require extra components and local validation on your study population:

Research workflow What PrimateFace provides What you must supply
Individual face recognition Face detection + 5-point canonical crop alignment (rotating and cropping every face to standard eye and mouth positions) (Face.embedding) Labeled reference photos of your known individuals, an embedding backbone (face-fingerprint network, e.g., ArcFace, MegaDescriptor, or DINOv3), and held-out validation on your colony/field group.
Vocal–motor kinematics Frame-by-frame mouth aperture, jaw, and brow trajectories from video Synchronized audio recordings (e.g., field microphones) and manual visual quality checks (QA) on blurred or occluded frames.
Comparative craniofacial morphometrics 68-point landmark coordinates across diverse genera Frontal-face filtering (restricting head yaw/pitch near 0° to avoid 2D perspective distortion) and a dated primate phylogeny for comparative methods.

See our Interactive Tutorials for runnable Google Colab notebooks illustrating these workflows.

3. Explicitly out of scope / not validated (do not claim)

Do not use PrimateFace outputs alone to claim any of the six outcomes below:

1. Emotion, pain, affect, or categorical facial expressions

Cross-species transfer of Facial Action Coding System (FACS) action units was at chance in our benchmark: ROC-AUC = 0.502 from landmarks and 0.520 from DINOv3-L (a general-purpose vision model) features (ROC-AUC measures classification discrimination where 0.50 is a random coin flip and 1.0 is perfect separation).

  • What to do instead: Collect species-specific behavioral or FACS labels (e.g., MaqFACS, ChimpFACS, GibbonFACS) with trained human coders and validate a dedicated classifier on your study species.

2. Within-genus species identification

The shipped ConvNeXt-Small classifier operates at the genus level across 69 genera (for example, Macaca or Cebus), not between closely related congeneric species (such as Macaca mulatta vs. Macaca fascicularis).

  • What to do instead: Use field-site metadata, genetic/morphological records, or fine-tune a species-level classifier on labeled photographs of your target congeners.

3. Eye gaze direction

2D eye-contour landmarks capture eyelid opening and eye position, not corneal reflection or eyeball rotation relative to the skull across varying head poses and species.

  • What to do instead: Use species-specific 3D eye/head calibration or dedicated eye-tracking hardware.

4. Ear / pinna tracking

Ears are intentionally excluded from both the bounding box and the 68-point / 48-point landmark schemas because pinna size, placement, and mobility vary dramatically across primate clades (from tucked ape ears to large, mobile galago and marmoset pinnae).

  • What to do instead: If ear posture is central to your ethogram, use a species-specific landmark schema that includes ears (such as DLC-55, DeepLabCut's 55-point macaque schema) or add ear landmarks with the Annotation GUI.

5. Persistent multi-individual identity tracking across occlusions

PrimateFace analyzes one frame at a time. It does not preserve individual IDs when animals cross paths, turn away from the camera, or walk behind foliage—missed frames simply return an empty list ([]).

  • What to do instead: Pair PrimateFace detections with a dedicated multi-object tracker (such as ByteTrack, DeepLabCut multi-animal tracking, or SLEAP identity tracking).

6. Longitudinal chronological age

The apparent age-class attribute (adult / juvenile / infant) reflects coarse visual appearance in a single photograph, not verified chronological age.

  • What to do instead: Rely on demographic birth records for age-dependent developmental or life-history analyses.

Responsible reporting checklist

When citing PrimateFace in a paper, please report:

  • Exact software & checkpoint versions (e.g., primateface v1.0.0, RF-DETR-M, ViTPose-L or HRNetV2-W18, and any fine-tuning details).
  • Detection & quality filtering thresholds (det_threshold, landmark confidence cutoff, head-pose angle bounds, and blur/visibility filters) plus the fraction of frames dropped or missed.
  • Local validation on your own species and camera setup—at minimum, spot-check annotated frames (and report error on a small manually labeled subset if your genus is underrepresented or footage is heavily occluded).
  • Clear separation of observation from inference—report geometric quantities (e.g., normalized mouth aperture, head yaw) rather than unvalidated affective labels.
  • Manuscript & resource citations—cite Parodi et al. (2025) along with the v1.0.0 Hugging Face dataset, Hugging Face models, and GitHub repository (see Paper & Citation).
Technical details: Where these scope boundaries come from

Every boundary above is backed by held-out benchmarks in the PrimateFace manuscript (Fig. 1d, Extended Data Table 3, and the cross-species FACS transfer test). See Evaluation & Benchmarks and Reproducibility for the exact numbers and scripts.

Next steps