Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 May 18;43(3):343-351.
doi: 10.24272/j.issn.2095-8137.2021.353.

MonkeyTrail: A scalable video-based method for tracking macaque movement trajectory in daily living cages

Affiliations

MonkeyTrail: A scalable video-based method for tracking macaque movement trajectory in daily living cages

Meng-Shi Liu et al. Zool Res. .

Abstract

Behavioral analysis of macaques provides important experimental evidence in the field of neuroscience. In recent years, video-based automatic animal behavior analysis has received widespread attention. However, methods capable of extracting and analyzing daily movement trajectories of macaques in their daily living cages remain underdeveloped, with previous approaches usually requiring specific environments to reduce interference from occlusion or environmental change. Here, we introduce a novel method, called MonkeyTrail, which satisfies the above requirements by frequently generating virtual empty backgrounds and using background subtraction to accurately obtain the foreground of moving animals. The empty background is generated by combining the frame difference method (FDM) and deep learning-based model (YOLOv5). The entire setup can be operated with low-cost hardware and can be applied to the daily living environments of individually caged macaques. To test MonkeyTrail performance, we labeled a dataset containing >8 000 video frames with the bounding boxes of macaques under various conditions as ground-truth. Results showed that the tracking accuracy and stability of MonkeyTrail exceeded that of two deep learning-based methods (YOLOv5 and Single-Shot MultiBox Detector), traditional frame difference method, and naïve background subtraction method. Using MonkeyTrail to analyze long-term surveillance video recordings, we successfully assessed changes in animal behavior in terms of movement amount and spatial preference. Thus, these findings demonstrate that MonkeyTrail enables low-cost, large-scale daily behavioral analysis of macaques.

猕猴的行为分析能为神经科学研究提供重要的实验证据。近年来,自动化的动物行为视频分析受到了广泛的关注。然而,这些方法大多需要特定的实验环境以减少物体遮挡或环境变化带来的干扰,目前还缺乏能够规模化用于日常饲养条件下猕猴运动轨迹跟踪的有效手段。在该研究中,我们提出了一种新的方法(MonkeyTrail)用于实现这一目的。其关键原理是通过频繁生成的虚拟空背景,结合背景减除法准确获得包含运动中动物的前景图像。空背景生成利用了帧差法(FDM)和基于深度学习的视觉目标检测模型(YOLOv5)。整个装置由低成本的硬件构成,并可以在单笼饲养猕猴的日常环境中有效工作。为了测试这一方法的性能,我们标定了>8000帧的视频图像作为验证数据集,其中包含各种条件下的猕猴边界框数据。测试结果表明,在相同条件下,MonkeyTrail的跟踪精度和稳定性均超过了传统帧差法、背景减除法和两种基于深度学习的方法(YOLOv5和SSD)。通过对长期监控视频的分析,MonkeyTrail成功地检测到了猕猴在运动量和空间偏好方面的变化。这些结果表明,该方法可以用于实现低成本、较大规模的猕猴日常行为分析。.

Keywords: Background subtraction; Movement trajectory tracking; Occlusion; Video-based behavioral analyses; Virtual empty background.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Overall recording environment and camera setup
Figure 2
Figure 2
MonkeyTrail workflow
Figure 3
Figure 3
Influence of environmental changes on efficacy of background subtraction
Figure 4
Figure 4
Method to frequently update empty background
Figure 5
Figure 5
Background subtraction process with generated empty background
Figure 6
Figure 6
Representative tracking results for macaque during daytime and nighttime
Figure 7
Figure 7
Visualization of performance in generating bounding boxes by different methods
Figure 8
Figure 8
Tracking success rates with systematically varying overlap thresholds for different tracking methods
Figure 9
Figure 9
Daily total activity patterns of two monkeys (A and B) captured with MonkeyTrail
Figure 10
Figure 10
Spatial preference of macaques extracted by MonkeyTrail

Similar articles

Cited by

References

    1. Bala PC, Eisenreich BR, Yoo SBM, Hayden BY, Park HS, Zimmermann J Automated markerless pose estimation in freely moving macaques with OpenMonkeyStudio. Nature Communications. 2020;11(1):4560. doi: 10.1038/s41467-020-18441-5. - DOI - PMC - PubMed
    1. Ballesta S, Reymond G, Pozzobon M, Duhamel JR A real-time 3D video tracking system for monitoring primate groups. Journal of Neuroscience Methods. 2014;234:147–152. doi: 10.1016/j.jneumeth.2014.05.022. - DOI - PubMed
    1. Bateson M, Martin PR. 2021. Measuring Behaviour: an Introductory Guide. 4th ed. Cambridge: Cambridge University Press.

    1. Beckman D, Morrison JH Towards developing a rhesus monkey model of early Alzheimer's disease focusing on women's health. American Journal of Primatology. 2021;83(11):e23289. - PubMed
    1. Bezard E, Dovero S, Prunier C, Ravenscroft P, Chalon S, Guilloteau D, et al Relationship between the appearance of symptoms and the level of nigrostriatal degeneration in a progressive 1-methyl-4-phenyl-1, 2, 3, 6-tetrahydropyridine-lesioned macaque model of Parkinson's disease. Journal of Neuroscience. 2001;21(17):6853–6861. doi: 10.1523/JNEUROSCI.21-17-06853.2001. - DOI - PMC - PubMed