Related Experiment Video
Updated: Aug 12, 2026

High-Resolution Video Tracking of Locomotion in Adult Drosophila Melanogaster
Published on: February 20, 2009
Protocol for Tracking and Automated Behavioral Quantification in Drosophila melanogaster
Anye Wu1, Nan Jiang2, Meiyu Chen3
1Department of Obstetrics and Gynecology, Center for Reproductive Medicine; Guangdong Provincial Key Laboratory of Major Obstetric Diseases; Guangdong Provincial clinical Research Center for Obstetrics and Gynecology; Guangdong Hong Kong-Macao Greater Bay Area Higher Education Joint Laboratory of Maternal-Fetal Medicine; The Third Affiliated Hospital, Guangzhou Medical University.
We developed an open-source Python tool using high-resolution networks (HRNet) to track fly key points for analyzing social behaviors. This method accurately quantifies Drosophila interactions, improving reproducibility and reducing manual effort.
Area of Science:
- Ethology
- Bioinformatics
- Computational Biology
Background:
- Traditional centroid-based tracking methods for social behavior analysis in Drosophila have limitations.
- Accurate quantification of social interactions in freely behaving flies is crucial for understanding complex behaviors.
Purpose of the Study:
- To develop an open-source analytical tool overcoming centroid-based tracking limitations.
- To enable accurate analysis of social interactions in freely behaving Drosophila pairs.
- To provide a complete workflow for quantitative ethology and automated behavioral analysis.
Main Methods:
- Utilized the high-resolution network (HRNet) framework for simultaneous tracking of five key anatomical points (head, thorax, abdomen, left/right wing tips).
- Developed a Python-based protocol with a graphical user interface (GUI) for dataset construction, model training, and automated coordinate extraction.
- Integrated modules for generating spatial occupancy heatmaps, locomotor trajectories, and social interaction ratios.
Main Results:
- Demonstrated stable key-point detection in Drosophila melanogaster.
- Revealed genotype-specific differences in spatial utilization and locomotive structure between w1118 and Canton-S strains.
- Validated the framework's effectiveness for quantitative analysis of social behaviors.
Conclusions:
- The developed HRNet-inspired protocol offers a scalable foundation for quantitative ethology.
- This methodology enhances the automated analysis of social interactions in Drosophila.
- The tool reduces manual annotation effort and improves the reproducibility of behavioral studies.

