Related Experiment Video
Updated: Feb 24, 2026

A Simple Technique to Assay Locomotor Activity in Drosophila
Published on: February 24, 2023
Design and Implementation of an Automated Drosophila Locomotor Assay Using Computer Vision Tracking
Dave Melkani1, Neelaksh Harnwal1, Shubhankar Desai1
1Department of Pathology, Division of Molecular and Cellular Pathology, Heersink School of Medicine, University of Alabama at Birmingham, Birmingham, AL 35294, USA.
Abstract:
Drosophila has long served as a powerful model for investigating locomotor behavior, using geotaxis assays to generate valuable insights into genetics, aging, and neurobiology. Nonetheless, mostly their use can be constrained by subjective scoring, modest thought, and challenges in reproducibility. We developed and validated an integrated hardware-software platform that enables automated, high-resolution locomotor analysis across 12 vials in parallel. The system integrates 3D-printed mechanical components, Raspberry Pi-based video acquisition, and programmable environmental controls to ensure standardized conditions. A deep learning pipeline segments vials with near-perfect accuracy (IoU > 0.95), while computer vision algorithms quantify climbing trajectories, velocity, and positional zone occupancy at 60 frames per second. The end-to-end workflow converts raw video into time-resolved metrics, supports sex-specific aggregation, and incorporates advanced statistical analyses, including Linear Mixed Effects regression, harmonic mean p-values, and Mann-Whitney U tests. Relative to manual scoring, this automated pipeline yields 2.8-fold faster processing and about 800-fold higher data density. Application of the platform uncovered reproducible phenotypes of multiple genotypes. For example, in circadian mutation, males displayed progressive climbing deficits with age, whereas females-maintained age-resilient trajectories. Moreover, male exhibited a reduced locomotor performance compared to age-matched control males, however, female showed subtle reduction in locomotor performance. Additionally, glial-specific knockdown of PoIG, encoding the DNA polymerase gamma catalytic subunit, revealed striking sex-dimorphic aging patterns: females outperformed controls at older age in Glaz driven and at younger age in Elav driven, while males exhibited some marked decline. To promote broad adoption, a user-friendly Python interface (Tkinter GUI) enables accessibility independent of computational expertise. Collectively, this standardized, high-throughput framework advances the resolution of genotype-, age-, and sex-dependent locomotor dynamics, offering new opportunities in aging, circadian biology, and neurodegeneration research.

