The SA-FARI Dataset: Segment Anything in Footage of Animals for Recognition and Identification

Dante Wasmuht, Otto Brookes, Maximilian Schall, Pablo Palencia, Christopher Beirne, Tilo Burghardt, Majid Mirmehdi, Hjalmar Kühl, Mimi Arandjelovic, Sam Pottie, Peter Bermant, Brandon Asheim, Yi Jin Toh, Adam Elzinga, Jason Allan Holmberg, Andrew Whitworth, Eleanor Flatt, Laura Gustafson, Chaitanya Ryali, Yuan-Ting Hu, Baishan Guo, Andrew Westbury, Kate Saenko, Didac Suris

TL;DR

The SA-FARI dataset is the largest open-source multi-animal tracking (MAT) dataset for wild animals, containing over 11,000 camera trap videos collected over a decade across four continents. By providing nearly 46 hours of densely annotated footage with high-quality, manually verified segmentation masks, it addresses a critical data shortage in wildlife conservation AI. Benchmarks show that training on SA-FARI yields massive performance leaps (over 20 points in tracking metrics) for state-of-the-art vision models.

What Problem Does This Paper Address?

Monitoring wildlife is essential for conservation, but manual analysis of the millions of videos captured by field camera traps is an impossible bottleneck for human experts. While computer vision can automate this via multi-animal tracking (MAT)—localizing and tracking individual animals over time—existing datasets fall short. They are typically tiny (less than an hour of footage), restricted to just a few species, or limited to simple bounding boxes rather than precise pixel-level segmentation masks.

Without diverse, high-quality data, general-purpose tracking models fail when deployed in the wild, struggling with real-world challenges like camouflage, nighttime infrared footage, and heavy occlusions. This paper introduces SA-FARI to bridge this gap.

Methods

The authors established a rigorous data collection and annotation pipeline to ensure both scale and precision:

  1. Data Consolidation: They gathered footage from 741 independent camera trap locations worldwide, spanning diverse ecoregions.
  2. The SAM 3 Data Engine: To annotate the massive video library efficiently, they used a hybrid human-AI pipeline. First, the Segment Anything Model 3 (SAM 3) generated initial "pseudo-annotations." Human reviewers then corrected these tracks, utilizing an online version of SAM 2 in-the-loop to refine or add pixel-accurate segmentation masks (termed "masklets").
  3. Benchmarking Framework: The authors evaluated two paradigms:
  4. Species-Specific Tracking: Models (like GLEE, LLMDet, and SAM 3) were prompted with specific species names (e.g., "Squirrel Monkey") to detect and track them.
  5. Species-Agnostic Tracking: Models were given a generic "animal" prompt, mimicking standard field deployment where the exact species might be unknown beforehand.

Datasets

The primary contribution is the SA-FARI dataset itself. It consists of:

  • 11,609 camera trap videos collected between 2014 and 2024.
  • 99 wild animal species categories across 4 classes (Mammals, Birds, Reptiles, Amphibians).
  • ~46 hours of densely annotated footage, totaling 16,224 unique identity masklets and nearly 1 million individual bounding boxes and segmentation masks.

Compared to existing benchmarks, SA-FARI offers 5× greater total annotated duration and 2× broader species diversity than any previous MAT dataset.

SA-FARI Dataset Overview and Annotation

Key Insights and Ideas

  • The Domain Shift is Real: Off-the-shelf foundation models trained on internet imagery perform poorly on wild animal footage. Camera trap complexities—such as low-resolution infrared night shots and heavy foliage—require domain-specific data.
  • Fine-Tuning is Essential: Simply exposing a model to wildlife data during general training helps, but explicitly fine-tuning the model on a diverse dataset like SA-FARI unlocks a massive, non-linear jump in tracking accuracy.
  • Size and Motion Matter Most: Sub-group analysis revealed that small animals and fast-moving or occluded individuals remain the most significant hurdles for modern tracking architectures.
Figure 2. Sample Skims from the SA-FARI Dataset. Each video–species pair is annotated with an exhaustive spatio-temporal segmen- tation of all animals belonging to that species category. The dataset captures a wide range of challenging scenarios, including: multiple animals in the same scene (a–d), occlusions between animals or with other scene elements (e), animals reappearing after leaving the frame (f), unconventional or partial views (g), small animals (c), nighttime conditions (b, e, g), and camouflaged animals (h).

Key Results

The quantitative benchmarks highlight the transformative impact of the dataset:

  • Species-Specific Gains: The baseline SAM 3 model achieved a modest 48.5 pHOTA (a standard metric balancing detection and association accuracy). When fine-tuned on SA-FARI, its performance soared to 68.1 pHOTA—a massive 19.6-point improvement. It also saw a huge jump in concept-guided F1 score ($cgF_1$), rising from 14.0 to 46.9.
  • Outperforming Vision-Only Baselines: In species-agnostic tracking (using the generic "animal" prompt), SAM 3 trained on SA-FARI achieved 64.4 HOTA, easily beating traditional wildlife tracking pipelines like MegaDetector combined with ByteTrack (39.5 HOTA) or OCSort (45.5 HOTA).

Limitations and Future Work

While SA-FARI represents a massive leap forward, the authors note a few limitations and areas for expansion:

  • Long-Tailed Distribution: Like the real world, the dataset is long-tailed; a few species (like spider monkeys and agoutis) dominate the footage, while others are rarely seen.
  • Geographic Bias: The majority of the data originates from South and Mesoamerican locations, leaving room to integrate more ecoregions (e.g., more representation from Asia or North America).
  • Unused Modalities: The current videos include audio tracks that were not utilized in this study. Future work could integrate audio to create multi-modal models capable of leveraging animal vocalizations to improve detection and identification in dense cover.

Summary updated

BibTeX
@inproceedings{wasmuht2026sa,
  author = {Dante Wasmuht and Otto Brookes and Maximilian Schall and Pablo Palencia and Christopher Beirne and Tilo Burghardt and Majid Mirmehdi and Hjalmar Kühl and Mimi Arandjelovic and Sam Pottie and Peter Bermant and Brandon Asheim and Yi Jin Toh and Adam Elzinga and Jason Allan Holmberg and Andrew Whitworth and Eleanor Flatt and Laura Gustafson and Chaitanya Ryali and Yuan-Ting Hu and Baishan Guo and Andrew Westbury and Kate Saenko and Didac Suris},
  title = {{The SA-FARI Dataset: Segment Anything in Footage of Animals for Recognition and Identification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=XmpjByrjDN},
}
Figure