DMFRNet: Dynamic Multi-Scale Feature Reweighting Network for Dairy Cow Detection.
Zhihang Wei, Gaohan Zhao, Zhiyu Yu, Xiaoqian Li, Qiuchen Li, Donghui Wei
College of Intelligence Science and Engineering, Northeast Agricultural University, Harbin 150030, China. · College of Agriculture, Northeast Agricultural University, Harbin 150030, China.
Key points
From the paper's conclusion- Comparative experiments demonstrate that DMFRNet provides a favorable accuracy-efficiency trade-off for lightweight dairy cow detection.
Abstract
Achieving accurate cattle detection in complex barn environments is a critical technical challenge for smart livestock farming. Cattle exhibit highly similar appearances, severe occlusion, and significant multi-scale variations, making it difficult for existing detection methods to balance accuracy with model efficiency. This paper proposes a lightweight cattle detection model, DMFRNet, with YOLO11 as the baseline. To address these challenges, DMFRNet introduces three targeted improvements. First, C3K2-DIMB is designed to enhance multi-scale feature extraction by adaptively reweighting multi-branch depthwise convolution features, thereby improving the representation of cattle with different body sizes, poses, and viewing distances. Second, SimAM is embedded after the SPPF layer to refine high-level semantic features without introducing additional parameters, which improves feature discrimination under occlusion, low contrast, and complex backgrounds. Third, LSCDH replaces the original decoupled detection head to reduce parameter redundancy through cross-scale shared convolution while preserving multi-scale prediction capability. These designs jointly address the key challenges of multi-scale cattle appearance, occlusion, and lightweight model construction in complex barn scenes. Experimental results on the combined CBVD-5 and Dairy Cow dataset demonstrate that DMFRNet achieves a Precision of 93.49%, F1 of 89.84%, mAP50 of 93.85%, and mAP50-95 of 61.74%, with only 2.16 M parameters, 5.10 GFLOPs, and a model size of 4.5 MB. Comparative experiments demonstrate that DMFRNet provides a favorable accuracy-efficiency trade-off for lightweight dairy cow detection.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Cattle posture recognition in complex farm environments with real-time edge deployment.PloS one · 2026
- DGF-YOLOv12n-LiteP2: Dynamic Gated Local-Context Fusion with a High-Resolution Detection Head for Cattle Body-Part Detection in Complex Barns.Sensors (Basel, Switzerland) · 2026
- DOLD-Net: Dense occluded livestock detection via global-local feature collaboration.PloS one · 2026
- A Multi-Object Tracking Method for Dairy Cows in Intensive Farming Scenarios.Animals : an open access journal from MDPI · 2026
- Deep learning-based holstein face recognition in real-world farming conditionsSmart Agricultural Technology · 2025
- Multi-Object Tracking of Korean Cattle (Hanwoo) in High-Density Barns Using Multi-Temporal Window Repair (MTW-Repair).Animals : an open access journal from MDPI · 2026