Published January 26, 2026 | Version v3

Data and code release of Paying Attention to Other Animal Detections Improves Camera Trap Classification Models

  • 1. ROR icon Centre National de la Recherche Scientifique

Description

Data and code release of: Paying Attention to Other Animal Detections Improves Camera Trap Classification Models
 
Paper in open-access (Methods in Ecology and Evolution) : https://onlinelibrary.wiley.com/doi/abs/10.1111/2041-210x.70260
 
Code is available on GitHub : https://github.com/gdussert/MCA_Classifier and also archived in MCA_Classifier-code.zip
 
This repository contains:
 
* models:
   * crop_classifier.pt
   * mca_classifier.pt
* data:
   * serengeti_train: training set of Snapshot Serengeti
   * serengeti_test: test set of Snapshot Serengeti
   * serengeti_toy: toy dataset to quickly test all the scripts, it contains only the pictures of Snapshot Serengeti camera trap location C12
   * safari2024: whole Snapshot Safari 2024 Expansion dataset
   * crop_images.zip: crop images of Snapshot Serengeti camera trap location C12
   * speciesnet.zip: SpeciesNet predictions for all images, as well as the script used to compute the accuracy reported in the manuscript. 
* code:
  * MCA_Classifier-code.zip
 
Please cite our paper for the models: 
 
@article{dussert_paying_2026,
  author = {Dussert, Gaspard and Dray, Stéphane and Chamaillé-Jammes, Simon and Miele, Vincent},
  title = {Paying attention to other animal detections improves camera trap classification models},
  year = {2026},
  url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/2041-210x.70260},
  doi = {10.1111/2041-210x.70260},
  journal = {Methods in Ecology and Evolution},
  publisher={Wiley Online Library}
}
 
Please cite this paper for the Serengeti dataset: 
 
@article{swanson2015snapshot,
  title={Snapshot Serengeti, high-frequency annotated camera trap images of 40 mammalian species in an African savanna},
  author={Swanson, Alexandra and Kosmala, Margaret and Lintott, Chris and Simpson, Robert and Smith, Arfon and Packer, Craig},
  journal={Scientific data},
  volume={2},
  number={1},
  pages={1--14},
  year={2015},
  publisher={Nature Publishing Group}
}

Files

crop_images.zip

Files (26.4 GB)

Name Size
md5:0493a0b882aeeeac1a15f43c45a6e56d
1.2 GB Download
md5:1ad3d199afa9fdec7b26a75720b61799
1.2 GB Preview Download
md5:bcaebae88004c5bd3a8dcaca1177e52b
8.8 MB Preview Download
md5:72922a56c861070ae54dd42d55fad5aa
201.7 MB Download
md5:246e68889213ec7b46a30d49ec17dc3d
3.7 GB Preview Download
md5:4217d866c20667bc4ac6602cb798e61b
2.8 GB Preview Download
md5:68ab4f12c3073f0deffe149e76141faa
37.3 MB Preview Download
md5:d2903a84ec173b24da5a161c1bf6c484
7.4 GB Preview Download
md5:614719b8a20fa40a28e18a3c3d094975
9.9 GB Preview Download

Additional details

Software

Repository URL
https://github.com/gdussert/MCA_Classifier
Programming language
Python