LaZeTrack: An open-source object detection algorithm to detect and track 2-day-old zebrafish motor touch responses.
Adrien Lacroix, Gary Alan Barclay Armstrong
Department of Neurology and Neurosurgery McGill University Montreal Quebec Canada.
Key points
From the paper's conclusion- Here we present LaZeTrack, a machine learning-based program, which employs Ultralytics' YOLOv8 nano (YOLOv8n) object detection algorithm to automatically analyze touch response videos using 2-day-old zebrafish.
Abstract
Zebrafish are a model organism used for the study of vertebrate development, disease, and drug discovery. Two-day old zebrafish exhibit burst swimming behavior that can be elicited by a light touch to the tail. Motor touch responses are frequently video-recorded and later analyzed by hand. Despite this being a simple behavioral assay, methods for robustly analyzing these videos in a reproducible and time-efficient manner rely on manual tracking, which is prone to experimenter bias and error. Here we present LaZeTrack, a machine learning-based program, which employs Ultralytics' YOLOv8 nano (YOLOv8n) object detection algorithm to automatically analyze touch response videos using 2-day-old zebrafish. This program breaks down video files into their constituent frames which are then passed through a custom-trained YOLOv8n algorithm to detect the presence of a single zebrafish (mean average precision, mAP50-95 = 0.74). LaZeTrack then refines the tracking data output by the model and tabulates it into an Excel spreadsheet. It then computes and extracts four relevant swim metrics: swim duration (s), swim distance (mm), mean swim velocity (mm/s), and maximum swim velocity (mm/s). LaZeTrack rapidly accelerates the analysis process, while also eliminating errors associated with manual tracking. Furthermore, it allows for high-throughput analysis of zebrafish touch response videos and can detect subtle differences in motor metrics arising from temperature differences, demonstrating the utility of this tracking algorithm. LaZeTrack is available for download on GitHub (Armstrong-Lab-70/LaZeTrack).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automated behavioral tracking of zebrafish larvae with DeepLabCut and SLEAP: pre-trained networks and datasets of annotated poses.eNeuro · 2026
- Comparing behavioral outputs across automated tracking software reveals platform-dependent variability in zebrafish neurobehavioral analysis.Behavioural processes · 2026
- Automated C. elegans behavior analysis via deep learning-based detection and trackingPLoS Computational Biology · 2025
- Dissecting Larval Zebrafish Hunting using Deep Reinforcement Learning Trained RNN Agents.Proceedings of the ... Conference on Cognitive Computational Neuroscience · 2026
- Evaluation and primer for using DeepLabCut to track small animals in large spacesbioRxiv · 2026
- DeepLabCut-based automated system reveals diverse temperature tolerance among medaka strains and related Oryzias species.Scientific reports · 2026