pi_tailtrack: A compact, inexpensive and open-source behaviour-tracking system for head-restrained zebrafish

J Exp Biol. 2023 Nov 15;226(22):jeb246335. doi: 10.1242/jeb.246335. Epub 2023 Nov 22.

Abstract

Quantifying animal behaviour during microscopy is crucial to associate optically recorded neural activity with behavioural outputs and states. Here, I describe an imaging and tracking system for head-restrained larval zebrafish compatible with functional microscopy. This system is based on the Raspberry Pi computer, Pi NoIR camera and open-source software for the real-time tail segmentation and skeletonization of the zebrafish tail at over 100 Hz. This allows for precise and long-term analyses of swimming behaviour, which can be related to functional signals recorded in individual neurons. This system offers a simple but performant solution for quantifying the behaviour of head-restrained larval zebrafish, which can be built for 340€.

Keywords: Ca2+ imaging; Microscopy; Neuroethology; Neuroscience; Open source; Raspberry Pi.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Animals
  • Behavior, Animal
  • Software*
  • Swimming
  • Zebrafish* / physiology