bioRxivBioinformaticsPreprint
ZebraTrack: An Open-Source Object Detection Algorithm to Detect and Track Larval Zebrafish Motor Touch Responses
Abstract
MotivationZebrafish (Danio rerio) are a model organism used for the study of vertebrate development, disease and drug discovery. Two-day old larval zebrafish exhibit burst swimming behaviour that can be elicited by a light touch to the tail. Larval motor touch-responses are frequently video recorded and later analyzed. Methods to robustly analyze these videos in a reproducible and time-efficient manner are reliant on manual tracking, which is prone to experimenter bias and error. ResultsHere we present ZebraTrack, a machine learning-based program, which employs Ultralytics YOLOv8 nano (YOLOv8n) object detection algorithm to automatically analyze larval touch response videos. The program breaks down video files into their constituent frames and passes these through a custom-trained YOLOv8n algorithm to detect the presence of a single larval zebrafish. ZebraTrack then refines the tracking data output by the model and tabulates it into an excel spreadsheet. The program then computes and extracts four relevant swim metrics: swim duration (s), swim distance (mm), mean swim velocity (mm/s), and max swim velocity (mm/s). ZebraTrack rapidly accelerates the analysis process, while also eliminating the errors associated with manual tracking. Furthermore, it allows for high-throughput analysis of larval touch response videos and can detect subtle differences in motor metrics arising as a result of temperature differences, demonstrating that utility of this tracking algorithm. Availability and implementationZebraTrack is available for download at https://github.com/Armstrong-Lab-70/ZebraTrack.
- organism: zebrafish
- assay: imaging
- research focus: cell-cell communication
- approach: machine learning (classical)
- Citations
- 0
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
- Threshold-Free Neural Network Models for Swim Bout Detection of Larval Zebrafish
Haochen Wang, Grant Kroeschell, … Ji Yi·bioRxiv·Jul 22, 2026
- Plug-and-Play automated behavioral tracking of zebrafish larvae with DeepLabCut and SLEAP: pre-trained networks and datasets of annotated poses
Leandro A. Scholz, Tessa Mancienne, … Conrad C.Y. Lee·bioRxiv·Jun 4, 2025
- Automatic classification of behavior in zebrafish larvae
Adrien Jouary, German Sumbre·bioRxiv·May 10, 2016
- High throughput machine learning pipeline to characterize larval zebrafish motor behavior
John Hageter, John P. Efromson, … Eric James Horstick·PLoS ONEPeer-reviewed·Oct 17, 2025
- Marigold: A machine learning-based web app for zebrafish pose tracking
Gregory Teicher, R. Madison Riffe, … Gerald B. Downes·BMC BioinformaticsPeer-reviewed·Jan 28, 2025
- High-throughput multi-camera array microscope platform for automated 3D behavioral analysis of swimming zebrafish larvae
Haitao Chen, Kevin Li, … Roarke W. Horstmeyer·Communications BiologyPeer-reviewed·Jan 23, 2026