EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Enhanced Non-Invasive Estimation of Pig Body Weight in Growth Stage Based on Computer Vision

Franck Morais de Oliveira, Verónica González Cadavid, Jairo Alexander Osorio Saraz, Felipe Andrés Obando Vega, Gabriel Araújo e Silva Ferraz, Patrícia Ferreira Ponciano Ferraz

AgriEngineering · 28.04.2026 · 8 (5) · 165

DOI: 10.3390/agriengineering8050165 ↗

Kurz gefasst

Fachartikel in der Zeitschrift AgriEngineering, online erschienen am 28.04.2026. Verfasst von Franck Morais de Oliveira und 5 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 24 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Proyectos de Investigación y Creación Artística en la Universidad Nacional de Colombia-Sede Medellín.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Pig weighing is an essential procedure for monitoring growth and animal health; however, conventional methods are often labor-intensive, costly, and potentially stressful. In this context, this study proposes a non-invasive approach for estimating the body weight of pigs during the growing stage based on computer vision and the YOLOv11 algorithm, enabling automatic segmentation and individual identification in multi-animal environments. The study used RGB images of 10 group-housed pigs captured throughout the growing phase, in which automatic dorsal segmentation was combined with individual identification through numerical markings. From the generated binary masks, the segmented dorsal area was extracted and used as a predictor variable in Linear Regression and a Multilayer Perceptron (MLP) Artificial Neural Network. The YOLOv11 model showed consistent performance in the segmentation task, achieving test-set metrics of Precision = 0.849, Recall = 0.886, mAP@0.50 = 0.936, and mAP@0.50–0.95 = 0.819, demonstrating good generalization capability in scenarios with intense animal interaction. In the weight prediction stage, Linear Regression and the MLP achieved high coefficients of determination (R2 = 0.96 and 0.95, respectively) with low errors (RMSE = 1.52 kg and 1.63 kg; MAE = 1.20 kg and 1.25 kg), indicating a strong correlation between segmented dorsal area and actual body weight. Class-wise analysis revealed superior performance for classes 7 and 9, with R2 values up to 0.98 and RMSE below 1.1 kg, whereas class 8 showed greater error dispersion, associated with higher morphological variability and a smaller number of available samples. These results demonstrate that the direct use of morphometric information extracted from segmented masks in 2D images constitutes a robust, accurate, and low-cost approach for automatic pig body-weight estimation. Moreover, this study is among the few addressing this task specifically during the growing stage, highlighting its potential for future deployment in embedded systems and intelligent monitoring platforms for precision pig farming, although further evaluation of computational efficiency and real-time performance is still required.

Förderung

  • Proyectos de Investigación y Creación Artística en la Universidad Nacional de Colombia-Sede Medellín

Zitieren

APA

Oliveira, F. M. D., Cadavid, V. G., Saraz, J. A. O., Vega, F. A. O., Ferraz, G. A. E. S., & Ferraz, P. F. P. (2026). Enhanced Non-Invasive Estimation of Pig Body Weight in Growth Stage Based on Computer Vision. AgriEngineering, 8(5), 165. https://doi.org/10.3390/agriengineering8050165

Vancouver

Oliveira FMD, Cadavid VG, Saraz JAO, Vega FAO, Ferraz GAES, Ferraz PFP. Enhanced Non-Invasive Estimation of Pig Body Weight in Growth Stage Based on Computer Vision. AgriEngineering. 2026;8(5):165. doi:10.3390/agriengineering8050165

BibTeX
@article{Oliveira2026,
  author = {Oliveira, Franck Morais de and Cadavid, Verónica González and Saraz, Jairo Alexander Osorio and Vega, Felipe Andrés Obando and Ferraz, Gabriel Araújo e Silva and Ferraz, Patrícia Ferreira Ponciano},
  title = {Enhanced Non-Invasive Estimation of Pig Body Weight in Growth Stage Based on Computer Vision},
  journal = {AgriEngineering},
  year = {2026},
  volume = {8},
  number = {5},
  pages = {165},
  doi = {10.3390/agriengineering8050165}
}
Kostenlos starten →