Related Experiment Video
Updated: Jul 13, 2025

14:03
Using an Automated 3D-tracking System to Record Individual and Shoals of Adult Zebrafish
Published on: December 5, 2013
11.1K
pi_tailtrack: A compact, inexpensive and open-source behaviour-tracking system for head-restrained zebrafish
1Laboratoire MeLiS, Université Claude Bernard Lyon 1 - CNRS UMR5284 - Inserm U1314, Institut NeuroMyoGène, Faculté de Médecine et de Pharmacie, 8 Avenue Rockefeller, 69008 Lyon, France.
The Journal of Experimental Biology
|October 11, 2023
Summary
This study presents a low-cost Raspberry Pi system for tracking larval zebrafish behavior during microscopy. It enables precise quantification of swimming patterns to link neural activity with behavior.
Area of Science:
- Neuroscience
- Bioengineering
- Zebrafish research
Background:
- Accurate quantification of animal behavior is essential for correlating neural activity with behavioral outputs.
- Head-restrained larval zebrafish are a key model organism for studying neural circuits and behavior.
Purpose of the Study:
- To develop and describe an affordable, high-performance imaging and tracking system for head-restrained larval zebrafish.
- To enable real-time behavioral analysis compatible with functional microscopy techniques.
Main Methods:
- Utilized a Raspberry Pi computer, Pi NoIR camera, and open-source software for real-time image processing.
- Implemented tail segmentation and skeletonization algorithms for over 100 Hz tracking of larval zebrafish.
- Designed a system for precise, long-term quantification of swimming behavior.
Main Results:
- The system successfully achieved real-time, high-frequency tracking of larval zebrafish tail movements.
- Demonstrated the capability to precisely quantify swimming behavior for extended periods.
- The developed system is compatible with functional microscopy for correlating neural activity and behavior.
Conclusions:
- This system provides a simple yet effective solution for quantifying the behavior of head-restrained larval zebrafish.
- The low cost (340€) makes this system accessible for many research laboratories.
- Facilitates detailed analysis of swimming behavior, crucial for understanding neural control of movement.

