Automated Measurement of Sheep Body Dimensions via Fusion of YOLOv12n-Seg-SSM and 3D Point Clouds

Accurate measurement of sheep body dimensions is fundamental for growth monitoring and breeding management. To address the limited segmentation accuracy and the trade-off between lightweight design and precision in existing non-contact measurement methods, this study proposes an improved model, YOLOv12n-Seg-SSM, for the automatic measurement of body height, body length, and chest circumference from side-view images of sheep. The model employs a synergistic strategy that combines semantic segmentation with 3D point cloud geometric fitting. It incorporates the SegLinearSimAM feature enhancement module, the SEAttention channel optimization module, and the ENMPDIoU loss function to improve measurement robustness under complex backgrounds and occlusions. After segmentation, valid RGB-D point clouds are generated through depth completion and point cloud filtering, enabling 3D computation of key body measurements. Experimental results demonstrate that the improved model outperforms the baseline YOLOv12n-Seg: the [email protected] for segmentation reaches 94.20%, the [email protected] for detection reaches 95.00% (improvements of 0.5 and 1.3 percentage points, respectively), and the recall increases to 99.00%. In validation tests on 43 Hu sheep, the R2 values for chest circumference, body height, and body length were 0.925, 0.888 and 0.819, respectively, with measurement errors within 5%. The model requires only 10.71 MB of memory and 9.9 GFLOPs of computation, enabling real-time operation on edge devices. This study demonstrates that the proposed method achieves non-contact automatic measurement of sheep body dimensions, providing a practical solution for on-site growth monitoring and intelligent management in livestock farms.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2026-01-21
DOI
https://doi.org/10.3390/agriculture16020272
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Measurement of Sheep Body Dimensions via Fusion of YOLOv12n-Seg-SSM and 3D Point Clouds

Yanjun Yuan, Zihao Gao, Wuping Zhang, Yangfan Bai et al.
Agriculture
Animal Behavior and Welfare Studies
article

Automated Measurement of Sheep Body Dimensions via Fusion of YOLOv12n-Seg-SSM and 3D Point Clouds

Yanjun Yuan, Zihao Gao, Wuping Zhang, Yangfan Bai, Xinran Liang, Zhimin Zhang, Xiaona Zhao, Xifeng Liu, Fuzhong Li
article en

Abstract

Accurate measurement of sheep body dimensions is fundamental for growth monitoring and breeding management. To address the limited segmentation accuracy and the trade-off between lightweight design and precision in existing non-contact measurement methods, this study proposes an improved model, YOLOv12n-Seg-SSM, for the automatic measurement of body height, body length, and chest circumference from side-view images of sheep. The model employs a synergistic strategy that combines semantic segmentation with 3D point cloud geometric fitting. It incorporates the SegLinearSimAM feature enhancement module, the SEAttention channel optimization module, and the ENMPDIoU loss function to improve measurement robustness under complex backgrounds and occlusions. After segmentation, valid RGB-D point clouds are generated through depth completion and point cloud filtering, enabling 3D computation of key body measurements. Experimental results demonstrate that the improved model outperforms the baseline YOLOv12n-Seg: the [email protected] for segmentation reaches 94.20%, the [email protected] for detection reaches 95.00% (improvements of 0.5 and 1.3 percentage points, respectively), and the recall increases to 99.00%. In validation tests on 43 Hu sheep, the R2 values for chest circumference, body height, and body length were 0.925, 0.888 and 0.819, respectively, with measurement errors within 5%. The model requires only 10.71 MB of memory and 9.9 GFLOPs of computation, enabling real-time operation on edge devices. This study demonstrates that the proposed method achieves non-contact automatic measurement of sheep body dimensions, providing a practical solution for on-site growth monitoring and intelligent management in livestock farms.

AgricultureVol. 16(2)
Shanxi Agricultural University (CN)
Openalex Percentile: Top 80%
Animal Behavior and Welfare Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.