Addressing significant challenges for animal detection in camera trap images: a novel deep learning-based approach
Wildlife biologists increasingly use camera traps for monitoring animal populations. However, manually sifting through the collected images is expensive and time-consuming. Current deep learning studies for camera trap images do not adequately tackle real-world challenges such as imbalances between animal and empty images, distinguishing similar species, and the impact of backgrounds on species identification, limiting the models' applicability in new locations. Here, we present a novel two-stage deep learning framework. First, we train a global deep-learning model using all animal species in the dataset. Then, an agglomerative clustering algorithm groups animals based on their appearance. Subsequently, we train a specialized deep-learning expert model for each animal group to detect similar features. This approach leverages Transfer Learning from the MegaDetectorV5 (YOLOv5 version) model, already pre-trained on various animal species and ecosystems. Our two-stage deep learning pipeline uses the global model to redirect images to the appropriate expert models for final classification. We validated this strategy using 1.3 million images from 91 camera traps encompassing 24 mammal species and used 120,000 images for testing, achieving an F1-Score of 96.2% using expert models for final classification. This method surpasses existing deep learning models, demonstrating improved precision and effectiveness in automated wildlife detection.
Authors
- José F. Aldana‐Montes (ORCID: https://orcid.org/0000-0002-2673-9474)
- María Luisa Antequera‐Gómez (ORCID: https://orcid.org/0000-0001-8920-2028)
- Cristóbal Barba-González (ORCID: https://orcid.org/0000-0002-8764-5076)
- Margarita Mulero‐Pázmány (ORCID: https://orcid.org/0000-0002-0303-9360)
- Raimundo Real (ORCID: https://orcid.org/0000-0002-6642-1284)
- Ismael Navas‐Delgado (ORCID: https://orcid.org/0000-0001-7819-5416)
- Francisco Díaz‐Ruiz (ORCID: https://orcid.org/0000-0001-6024-7310)
- Sandro Hurtado (ORCID: https://orcid.org/0000-0003-0990-480X)
Institutions
- Universidad de Málaga (ES)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-05-09
- DOI
- https://doi.org/10.1038/s41598-025-90249-z
- Citations
- 11
- Primary Topic
- Wildlife Ecology and Conservation
- Type
- article
- Field-Weighted Citation Impact
- 18.88
Funders
- Universidad de Málaga
- European Commission
- Liverpool John Moores University
- LifeWatch – Niclas Öberg Foundation
- Junta de Andalucía
- European Regional Development Fund
- Agencia Estatal de Investigación