bioRxivEcologyPreprint
Accurate detection and identification of insects from camera trap images with deep learning
K. Bjerge, J. Alison, M. Dyrmann, C. E. Frigaard, H. M. R. Mann, T. T. Hoye
Abstract
Reported insect declines have dramatically increased the global demand for standardized insect monitoring data. Image-based monitoring can generate such data cost-efficiently and non-invasively. However, extracting ecological data from images is more challenging for insects than for vertebrates because of their small size and great diversity. Deep learning facilitates fast and accurate insect detection and identification, but the lack of training data for coveted deep learning models is a major obstacle for their application. We present a large annotated image dataset of functionally important insect taxa. The primary dataset consists of 29,960 annotated insects representing nine taxa including bees, hoverflies, butterflies and beetles across more than two million images recorded with ten time-lapse cameras mounted over flowers during the summer of 2019. The insect image dataset was extracted using an iterative approach: First, a preliminary detection model identified candidate insects. Second, candidate insects were manually screened by users of an online citizen science platform. Finally, all annotations were quality checked by experts. We used the dataset to train and compare the performance of selected You Only Look Once (YOLO) deep learning algorithms. We show that these models detect and classify small insects in complex scenes with unprecedented accuracy. The best performing YOLOv5 model consistently identifies nine dominant insect species that play important roles in pollination and pest control across Europe. The model reached an average precision of 92.7% and recall of 93.8 % in detection and classification across species. Importantly, when presented with uncommon or unclear insects not seen during training, our model detects 80% of individuals and usually interprets them as closely related species. This is a useful property to (1) detect rare insects for which training data are absent, and (2) generate new training data to correctly identify those insects in future. Our camera system, dataset and deep learning framework show promising results in non-destructive monitoring of insects. Furthermore, resulting data are useful to quantify phenology, abundance, and foraging behaviour of flower-visiting insects. Above all, this dataset represents a critical first benchmark for future development and evaluation of deep learning models for insect detection and identification.
- assay: imaging
- assay: fluorescence / live-cell microscopy
- research focus: cell type annotation
- research focus: clustering
- research focus: differential expression
- research focus: gene regulatory network inference
- approach: deep learning
- approach: transformer / foundation model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- InsectDCT: A generalized pipeline for detection, taxonomic classification, and tracking of insects in camera-trap recordings
Kim Bjerge, Simon Wogram, … Toke T. Høye·bioRxiv·Oct 2, 2026
- A General Method for Detection and Segmentation of Terrestrial Arthropods in Images
Asger Svenning, G Mougeot, … Quentin Geissmann·Methods in Ecology and EvolutionPeer-reviewed·Feb 11, 2026
- A deep learning pipeline for time-lapse camera monitoring of insects and their floral environments
K. Bjerge, H. Karstoft, … T. T. Hoye·bioRxiv·Apr 12, 2024
- Deep learning and computer vision will transform entomology
T. T. Hoye, J. Arje, … J. Raitoharju·bioRxiv·Jul 3, 2020
- Insect Detect: An open-source DIY camera trap for automated insect monitoring
Maximilian Sittinger, Johannes Uhler, … Annette Herz·PLoS ONEPeer-reviewed·Apr 3, 2024
- A Computer Vision Dataset for Pollinator Detection under Real Field Conditions
Yue Linn Chong, Phillip Jens Nachtweide, … Antonia V. Mayr·bioRxiv·Oct 27, 2025