Journal article icon

Journal article

Detect+Track: robust and flexible software tools for improved tracking and behavioural analysis of fish

Abstract:
We introduce a novel video processing method called Detect+Track that combines a deep learning-based object detector with a template-based object agnostic tracker to significantly enhance the accuracy and robustness of animal tracking. Applied to a behavioural experiment involving Picasso triggerfish (Rhinecanthus aculeatus) navigating a randomized array of cylindrical obstacles, the method accurately localizes fish centroids across challenging conditions including occlusion, variable lighting, body deformation and surface ripples. Virtual gates between adjacent obstacles and between obstacles and tank boundaries are computed using Voronoi tessellation and planar homology, enabling detailed analysis of gap selection behaviour. Fish speed, movement direction and a more precise estimate of body centroid—key metrics for behavioural analyses—are estimated using optical flow method. The modular workflow is adaptable to new experimental designs, supports manual correction and retraining for new object classes and allows efficient large-scale batch processing. By addressing key limitations of existing tracking tools, Detect+Track provides a flexible and generalizable solution for researchers studying movement and decision-making in complex environments. A detailed tutorial is provided, together with all the data and code required to reproduce our results and enable future innovations in behavioural tracking and analysis.
Publication status:
Published
Peer review status:
Peer reviewed

Actions


Access Document


Files:
Publisher copy:
10.1098/rsos.242086

Authors


More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Engineering Science
Research group:
Visual Geometry Group
Role:
Author
More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Biology
Role:
Author
More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Biology
Role:
Author
More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Engineering Science
Research group:
Visual Geometry Group
Role:
Author
ORCID:
0000-0002-8945-8573
More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Biology
Role:
Author
ORCID:
0000-0001-6449-7296


More from this funder
Funder identifier:
https://ror.org/012mzw131
Grant:
ECF-2019-188


Publisher:
Royal Society
Journal:
Royal Society Open Science More from this journal
Volume:
12
Issue:
7
Article number:
242086
Publication date:
2025-07-23
Acceptance date:
2025-04-02
DOI:
EISSN:
2054-5703


Language:
English
Keywords:
Pubs id:
2120786
Local pid:
pubs:2120786
Deposit date:
2025-04-30

Terms of use



Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP