bioRxivAnimal Behavior & Cognition
Integrating real-time data analysis into automatic tracking of social insect behavior
Abstract
Automatic video tracking has become a standard tool for investigating the social behavior of insects. The recent integration of computer vision in tracking technologies will likely lead to fully automated behavioral pattern classification within the next few years. However, most current systems rely on offline data analysis and use computationally expensive techniques to track pre-recorded videos. To address this gap, we developed BACH (Behavior Analysis maCHine), a software that performs video tracking of insect groups in real time. BACH uses object recognition via convolutional neural networks and identifies individually tagged insects via an existing matrix code recognition algorithm. We compared the tracking performances of BACH and a human observer across a series of short videos of ants moving in a 2D arena. We found that, concerning computer vision-based ant detection only, BACH performed only slightly worse than the human observer. Contrarily, individual identification only attained human-comparable levels when ants moved relatively slow, and fell when ants walked relatively fast. This happened because BACH had a relatively low efficiency in detecting matrix codes in blurry images of ants walking at high speeds. BACH needs to undergo hardware and software adjustments to overcome its present limits. Nevertheless, our study emphasizes the possibility of, and the need for, integrating real time data analysis into the study of animal behavior. This will accelerate data generation, visualization and sharing, opening possibilities for conducting fully remote collaborative experiments.
- assay: imaging
- research focus: benchmarking
- research focus: cell type annotation
- research focus: clustering
- research focus: trajectory inference
- approach: deep learning
- approach: experimental assay
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
- Accurate detection and tracking of ants in indoor and outdoor environments
- anTraX: high throughput video tracking of color-tagged insects
Asaf Gal, Jonathan Saragosti, Daniel J. C. Kronauer·eLifePeer-reviewed·Nov 19, 2020
- Markerless tracking of an entire insect colony
Katarzyna Bożek, Laetitia Hebert, … Greg J. Stephens·Nature CommunicationsPeer-reviewed·Mar 19, 2021
- SwarmSight: Real-Time Tracking of Insect Antenna Movements and Proboscis Extension Reflex using a Common Preparation and Conventional Hardware
J. Birgiolas, C. M. Jernigan, … S. Crook·bioRxiv·Sep 1, 2017
- B-REAL: A keypoint-less behavior platform for offline classification and real-time detection
Eric A. Yttri, Aden Eagle, … Runcheng Li·bioRxiv·Oct 20, 2026
- Towards edge processing of images from insect camera traps
Kim Bjerge, Henrik Karstoft, Toke T. Høye·Remote Sensing in Ecology and ConservationPeer-reviewed·Apr 17, 2025