DRG-LiteStar-YOLO: Reliability-Guided Pseudo-Depth Fusion for Dairy Goat Detection in Complex Barns
Open Access
Abstract
Reliable dairy goat detection in barns is challenging because uneven illumination, railings, and animal overlap weaken RGB boundaries. We developed DRG-LiteStar-YOLO, a lightweight RGB-camera-compatible detector that integrates monocular pseudo-depth with RGB features without requiring a dedicated depth sensor. DA3-Small was used to generate relative pseudo-depth maps, which were fused with RGB features through reliability-guided fusion and boundary-enhanced multi-scale aggregation. The dataset comprised 1521 images of 134 lactating Saanen goats and 13,985 annotated instances. On the held-out test set, DRG-LiteStar-YOLO achieved a precision of 0.961, a recall of 0.941, an mAP@0.5 of 0.978, and an mAP@0.5:0.95 of 0.735. Compared with RGB-only LiteStar-YOLO, the proposed method improved mAP@0.5 and mAP@0.5:0.95 by 1.6 and 3.8 percentage points, respectively. The five-seed cumulative ablation further showed that the full configuration achieved mAP@0.5:0.95 compared with for RGB-only LiteStar-YOLO. The detector contains 4.20 M parameters and 12.60 GFLOPs and achieves 86.2 FPS on an RTX 4090 with precomputed pseudo-depth maps. These results demonstrate that reliability-guided pseudo-depth fusion improves goat localization under complex barn conditions while retaining a compact detector design. DRG-LiteStar-YOLO provides an effective perception framework for RGB-camera-based dairy goat monitoring and supports future counting, tracking, and behavior-analysis applications.
Keywords
Funding Information
- Key Research and Development Program of Shaanxi Province (170445463)
- General Program of the Shaanxi Natural Science Basic Research Program (2022JM-363)
This publication has 34 references indexed in Scilit:
- YOLO-MSLT: A Multimodal Fusion Network Based on Spatial Linear Transformer for Cattle and Sheep Detection in Challenging EnvironmentsAgriculture, 2025
- A systematic survey of public computer vision datasets for precision livestock farmingComputers and Electronics in Agriculture, 2024
- A dairy goat tracking method via lightweight fusion and Kullback Leibler divergenceComputers and Electronics in Agriculture, 2023
- Real-time goat face recognition using convolutional neural networkComputers and Electronics in Agriculture, 2022
- Automatic behavior recognition of group-housed goats using deep learningComputers and Electronics in Agriculture, 2020
- Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-Shot Cross-Dataset TransferIEEE Transactions on Pattern Analysis and Machine Intelligence, 2020
- Dairy goat detection based on Faster R-CNN from surveillance videoComputers and Electronics in Agriculture, 2018
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016
- Precision livestock farming technologies for welfare management in intensive livestock systemsScientific and Technical Review, 2014
- Is precision livestock farming an engineer's daydream or nightmare, an animal's friend or foe, and a farmer's panacea or pitfall?Computers and Electronics in Agriculture, 2008