A Novel Approach of Pig Weight Estimation Using High-Precision Segmentation and 2D Image Feature Extraction
Yan Chen, Zhuzhou Li, Ling Yin, Yingjie Kuang
South China Agricultural University
Key points
From the paper's conclusion- These results indicate the method provides accurate, low-cost and computationally efficient weight prediction from simple RGB images, supporting frequent, noninvasive monitoring and practical deployment in smart-farming settings.
Abstract
In modern livestock production, obtaining accurate body weight measurements for pigs is essential for feeding management and economic assessment, yet conventional weighing is laborious and can stress animals. To address these limitations, we developed a contactless image-based pipeline that first uses BiRefNet for high-precision background removal and YOLOv11-seg to extract the pig dorsal mask from top-view RGB images; from these masks we designed and extracted 17 representative phenotypic features (for example, dorsal area, convex hull area, major/minor axes, curvature metrics and Hu moments) and included camera height as a calibration input. We then compared eight machine-learning and deep-learning regressors to map features to body weight. The segmentation pipeline achieved mAP50–95 = 0.995 on the validation set, and the XGBoost regressor gave the best test performance (MAE = 3.9350 kg, RMSE = 5.2372 kg, R2 = 0.9814). These results indicate the method provides accurate, low-cost and computationally efficient weight prediction from simple RGB images, supporting frequent, noninvasive monitoring and practical deployment in smart-farming settings.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Evaluation of hybrid models based on image segmentation and inference for pig weight estimation.Frontiers in artificial intelligence · 2026
- Beef Cattle Body Weight Estimation Based on Dual-View RGB Images.Animals : an open access journal from MDPI · 2026
- Non-Contact Phenotypic Measurement and Body Mass Prediction of Penaeus japonicus Based on Skeletonization and Multi-View Comparison.Sensors (Basel, Switzerland) · 2026
- Body Mass Estimation of Large Yellow Croaker Using Measurement-Oriented Instance Segmentation and Selective Stereo MeasurementFishes · 2026
- Prediction of body weight in buffaloes using conventional and multi-view image-based morphometric traitsCogent Food & Agriculture · 2026
- Feeding behavior recognition of group-housed pigs based on pose estimation and keypoint features discriminationComputers and Electronics in Agriculture · 2025