bioRxivAnimal Behavior & Cognition
TRex, a fast multi-animal tracking system with markerless identification, and 2D estimation of posture and visual fields
Abstract
Automated visual tracking of animals is rapidly becoming an indispensable tool for the study of behavior. It offers a quantitative methodology by which organisms sensing and decision-making can be studied in a wide range of ecological contexts. Despite this, existing solutions tend to be challenging to deploy in practice, especially when considering long and/or high-resolution video-streams. Here, we present TRex, a fast and easy-to-use solution for tracking a large number of individuals simultaneously using background-subtraction with real-time (60Hz) tracking performance for up to approximately 256 individuals and estimates 2D visual-fields, outlines, and head/rear of bilateral animals, both in open and closed-loop contexts. Additionally, TRex offers highly-accurate, deep-learning-based visual identification of up to approximately 100 unmarked individuals, where it is between 2.5-46.7 times faster, and requires 2-10 times less memory, than comparable software (with relative performance increasing for more organisms/longer videos) and provides interactive data-exploration within an intuitive, platform-independent graphical user-interface.
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
- Tracktor: image-based automated tracking of animal movement and behaviour
V. H. Sridhar, D. G. Roche, S. Gingins·bioRxiv·Sep 9, 2018
- idtracker.ai: Tracking all individuals in large collectives of unmarked animals
F. Romero Ferrero, m. g. bergomi, … G. de Polavieja·Nature MethodsPeer-reviewed·Jan 14, 2019
- DIPLOMAT: multi-animal tracking with efficient manual editing
Isaac Robinson, George Glidden-Handgis, … Travis J. Wheeler·bioRxiv·Aug 11, 2025
- New idtracker.ai: rethinking multi-animal tracking as a representation learning problem to increase accuracy and reduce tracking times
Jordi Torrents, Tiago Costa, Gonzalo G. de Polavieja·bioRxiv·May 30, 2025
- anTraX: high throughput video tracking of color-tagged insects
Asaf Gal, Jonathan Saragosti, Daniel J. C. Kronauer·eLifePeer-reviewed·Nov 19, 2020
- Closing the loop: tracking and perturbing behaviour of individuals in a group in real-time
Malte J. Rasch, Aobo Shi, Zilong Ji·bioRxiv·Aug 24, 2016