ABSTRACT Background Increasing interface zones between long‐tailed macaques ( Macaca fascicularis ) and humans can increase macaques' risk‐related behaviors to human safety because of their aggressiveness. In addition, risk to human properties and the environment can occur when they play or search for food and other stuff on vehicles and take trash out from trash bins to find edible items. Objective This study aims to develop a YOLOv8‐based detection system for identifying long‐tailed macaques and their risk‐related behaviors in a university campus, with enhanced robustness through data augmentation and Genetic Algorithm–based hyperparameter tuning to support early warning and deterrent system. Methods We developed a You Only Look Once version 8 (YOLOv8)‐based object detection system to identify macaques and recognize risk‐related behaviors within a multi‐purpose university campus environment. A dataset of annotated images and video frames compiled from on‐site observations was supplemented by using data‐augmentation techniques such as Mosaic, MixUp, and geometric transformation to improve robustness under varying environmental conditions. Model performance was further improved through Genetic Algorithm (GA)‐based hyperparameter tuning. Results The experimental results show that the system could detect macaques and contextual objects in real‐time with strong performance across diverse scenes, even when they were camouflaged or partially occluded. Conclusions The findings indicate that this approach could be used to provide an automated early warning and deterrent system to help reduce human–macaque negative interaction.
Watchanupaporn et al. (Sun,) studied this question.