Detect+Track: Robust and flexible software tools for improved tracking and behavioural analysis of fish
A. Dutta, N. Perez-Campanero, G. K. Taylor, A. Zisserman, C. Newport
Abstract
Developments in automated animal behavioural analysis software are increasing the efficiency of data collection and improving the standardization of behavioural measurements. There are now several open-source tools for tracking laboratory animals, but often these are only accurate under limited conditions (e.g. uniform lighting and background, uncluttered scenes, unobstructed focal animal). Tracking fish presents a particular challenge for these tools because movement at the waters surface introduces significant noise. Partial occlusion of the focal animal can also be troublesome, particularly when tracking the whole organism. But identifying the position of an animal is only part of the task - analysing the movement of the animal relative to their environment and experimental context is often what provides information about their behaviour. Therefore, the automated detection of physical objects and boundaries would also be beneficial, but this feature is not commonly incorporated into existing tracking software. Here we describe a video processing method that uses a range of computer vision algorithms (e.g. object detector and tracker, optical flow, parallel plane homology) and computational geometry techniques (e.g. Voronoi tessellation) to analyse the movement behaviour of fish in response to experimental stimuli. A behavioural experiment, which involved tracking a fishs trajectory through a field of obstacles, motivated our development of a set of tools that: (1) measure an animals trajectory, (2) record obstacle position, and (3) detect when the fish passed through virtual gates between adjacent obstacles and/or the aquarium wall. We have introduced a novel Detect+Track approach that significantly enhances the accuracy and robustness of animal tracking, overcoming some of the limitations of existing tools and providing a more reliable solution for complex experimental conditions. Our workflow is divided into several discrete steps, and provides a set of modular software building blocks that can be adapted to analyse other experimental designs. A detailed tutorial is provided, together with all the data and code required to reproduce our results.
02 /Specification & Classification
Click any tag to browse matching papers- Organism
- Assay
- Research Focus
- Approach
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
- A low-cost, open-source framework for tracking and behavioural analysis of animals in aquatic ecosystems
F. A. Francisco, P. Nuehrenberg, A. Jordan·bioRxiv·Mar 9, 2019
- High-resolution animal tracking with integration of environmental information in aquatic systems
F. Francisco, P. Nuehrenberg, A. L. Jordan·bioRxiv·Feb 25, 2020
- Tracktor: image-based automated tracking of animal movement and behaviour
V. H. Sridhar, D. G. Roche, S. Gingins·bioRxiv·Sep 9, 2018
- Figure-ground segmentation based on motion in the archerfish
Svetlana Volotsky, Ronen Segev·Animal CognitionPeer-reviewed·Apr 14, 2024
- An Assistive Computer Vision Tool to Automatically Detect Changes in Fish Behavior In Response to Ambient Odor
S. Banerjee, L. Alvey, … W. J. Scheirer·bioRxiv·Sep 1, 2020
- ZebraTrack: An Open-Source Object Detection Algorithm to Detect and Track Larval Zebrafish Motor Touch Responses
Adrien Connor Lacroix, Gary A.B. Armstrong·bioRxiv·Oct 17, 2025