Scientific Reports (Feb 2023)

Automatic measurement and prediction of Chinese Grown Pigs weight using multilayer perceptron neural networks

  • Obiajulu Emenike Ositanwosu,
  • Qiong Huang,
  • Yun Liang,
  • Chukwunonso H. Nwokoye

DOI
https://doi.org/10.1038/s41598-023-28433-2
Journal volume & issue
Vol. 13, no. 1
pp. 1 – 16

Abstract

Read online

Abstract The knowledge of body size/weight is necessary for the general growth enhancement of swine as well as for making informed decisions that concern their health, productivity, and yield. Therefore, this work aims to automate the collection of pigs’ body parameters using images from Kinect V2 cameras, and the development of Multilayer Perceptron Neural Network (MLP NN) models to predict their weight. The dataset obtained using 3D light depth cameras contains 9980 pigs across the S21 and S23 breeds, and then grouped into 70:15:15 training, testing, and validation sets, respectively. Initially, two MLP models were built and evaluations revealed that model 1 outperformed model 2 in predicting pig weights, with root mean squared error (RMSE) values of 5.5 and 6.0 respectively. Moreover, employing a normalized dataset, two new models (3 and 4) were developed and trained. Subsequently, models 2, 3, and 4 performed significantly better with a RMSE value of 5.29 compared to model 1, which has a RMSE value of 6.95. Model 3 produced an intriguing discovery i.e. accurate forecasting of pig weights using just two characteristics, age and abdominal circumference, and other error values show corresponding results