Related Experiment Video
Updated: Sep 29, 2025

08:32
Tracking Rats in Operant Conditioning Chambers Using a Versatile Homemade Video Camera and DeepLabCut
Published on: June 15, 2020
12.7K
MonkeyTrail: A scalable video-based method for tracking macaque movement trajectory in daily living cages
Meng-Shi Liu1,2,3, Jin-Quan Gao4,5, Gu-Yue Hu1,2,3,6
1Brainnetome Center, Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China.
Zoological Research
|March 18, 2022
Summary
MonkeyTrail accurately tracks macaque movement trajectories in daily cages using virtual backgrounds. This low-cost method enables large-scale behavioral analysis in neuroscience research.
Area of Science:
- Neuroscience
- Animal Behavior
- Computational Biology
Background:
- Behavioral analysis of macaques is crucial for neuroscience research.
- Existing automatic animal behavior analysis methods struggle with occlusion and environmental changes in daily living cages.
- Accurate tracking of macaque movement trajectories in naturalistic settings is underdeveloped.
Purpose of the Study:
- To introduce MonkeyTrail, a novel method for extracting and analyzing daily movement trajectories of macaques in their living cages.
- To overcome limitations of previous methods by enabling analysis in standard environments without specific setup.
- To provide a low-cost, scalable solution for long-term behavioral monitoring.
Main Methods:
- MonkeyTrail utilizes frequently generated virtual empty backgrounds combined with background subtraction to isolate macaque subjects.
- The virtual background generation integrates the frame difference method (FDM) and the YOLOv5 deep learning model.
- Performance was validated against ground-truth data from over 8,000 labeled video frames.
Main Results:
- MonkeyTrail demonstrated superior tracking accuracy and stability compared to YOLOv5, Single-Shot MultiBox Detector, frame difference method, and naive background subtraction.
- The method successfully analyzed long-term surveillance videos to assess changes in macaque behavior, including movement amount and spatial preference.
- Low-cost hardware implementation was confirmed, suitable for individually caged macaques.
Conclusions:
- MonkeyTrail offers a robust and accurate solution for automated behavioral analysis of macaques in their daily environments.
- The method facilitates low-cost, large-scale studies, advancing neuroscience research through detailed behavioral insights.
- This approach addresses a critical gap in the analysis of primate behavior in ecologically relevant settings.

