Simple Summary
Forest musk deer are sensitive to human presence, but routine behavior monitoring still relies heavily on manual observation. This approach has two limitations: close observation may disturb the animals, and intermittent inspection is labor-intensive and cannot provide continuous records. Fixed-camera monitoring reduces direct human interference, but weak illumination, low contrast, partial occlusion, and posture changes can reduce recognition reliability. We therefore developed HGS-YOLO26n with three targeted improvements. HVIEnhanceStem strengthens visual cues under poor illumination and low contrast; AdaGFB adapts feature extraction to posture-related changes in local behavioral regions; and SDIoU stabilizes bounding-box localization under occlusion and target-scale variation. The model was evaluated using 6760 images from 30 forest musk deer enclosures and recognized four daily behaviors. It improved detection over the baseline while retaining lightweight real-time performance. In long videos, its behavior-duration and event-frequency records were also more consistent with blind manual observations. The system converts routine surveillance footage into structured behavioral records, reducing the need for full-length manual video review and providing longitudinal behavioral information for routine husbandry and veterinary observation.
Abstract
Non-contact behavioral monitoring is important for low-disturbance husbandry of captive forest musk deer, but variable illumination, shadows, partial occlusion, and low target-background contrast can reduce recognition reliability. This study developed HGS-YOLO26n, a lightweight real-time detector for continuous behavior recording under practical captive breeding conditions. HVIEnhanceStem was used to preserve shallow visual cues under weak illumination and low contrast, AdaGFB adapted feature extraction to posture-related shifts in local discriminative regions, and SDIoU improved bounding-box localization under occlusion and target-scale variation. The model was trained and evaluated using 6760 field images collected from 30 enclosures. HGS-YOLO26n achieved an mAP50–95 of 0.8409, exceeding the YOLO26n baseline by 3.74 percentage points, with 2.84 M parameters and an inference speed of 176.8 frames per second. Validation on continuous videos showed that its behavior-duration and event-count estimates were closer overall to blinded manual observations than those of the comparison models. By converting routine surveillance footage into longitudinal, individual-level records of behavior duration, event frequency, and temporal distribution, the system enables efficient review of behavioral activity across extended monitoring periods. Husbandry and veterinary staff can use these records to compare behavioral patterns across observation periods and return to corresponding video segments when specific changes require verification. This provides a low-disturbance source of quantitative behavioral information for routine husbandry, longitudinal observation, and conservation breeding of captive forest musk deer.