This protocol details a method to quantify swimming behavior in zebrafish, suggesting it is accessible for beginners with basic skills.
Here, we present a protocol for quantifying adult zebrafish swimming behavior using open-source software. We describe steps for recording and preprocessing swimming behavior videos, labeling and training a DeepLabCut network, and applying the trained model to analyze behavior. We then detail procedures for processing and visualizing behavioral data. This protocol is optimized for single-fish tracking under standardized recording conditions and can be completed using beginner-level computational skills with basic laboratory hardware. • Reproducible workflow for recording and analyzing adult zebrafish swimming behavior • Pretrained DeepLabCut model enables immediate analysis by beginners • Step-by-step guidance for training and validating new DeepLabCut models • Smartphone-based recording setup using standard zebrafish tanks Publisher’s note: Undertaking any experimental protocol requires adherence to local institutional guidelines for laboratory safety and ethics. Here, we present a protocol for quantifying adult zebrafish swimming behavior using open-source software. We describe steps for recording and preprocessing swimming behavior videos, labeling and training a DeepLabCut network, and applying the trained model to analyze behavior. We then detail procedures for processing and visualizing behavioral data. This protocol is optimized for single-fish tracking under standardized recording conditions and can be completed using beginner-level computational skills with basic laboratory hardware.
No takes yet. Share an insight, caveat, or question.
Keerthisinghe et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: