College of Mathematics and Informatics, South China Agricultural University, Guangzhou, 510642, China.
Department of Computer Science, Nnamdi Azikiwe University, P.M.B. 5025, Awka, Nigeria.
Sci Rep. 2023 Feb 13;13(1):2573. doi: 10.1038/s41598-023-28433-2.
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.
猪体尺/体重的知识对于猪的整体生长发育以及做出关乎其健康、生产力和产量的明智决策都是必要的。因此,本工作旨在使用 Kinect V2 相机的图像自动采集猪的体参数,并开发多层感知器神经网络(MLP NN)模型来预测其体重。使用 3D 光深度相机获得的数据集包含 S21 和 S23 两个品种的 9980 头猪,然后分别将其分为 70:15:15 的训练、测试和验证集。最初构建了两个 MLP 模型,评估结果表明模型 1 在预测猪体重方面优于模型 2,其均方根误差(RMSE)值分别为 5.5 和 6.0。此外,采用归一化数据集,开发和训练了两个新模型(3 和 4)。随后,模型 2、3 和 4 的表现明显优于模型 1,其 RMSE 值为 5.29,而模型 1 的 RMSE 值为 6.95。模型 3 产生了一个有趣的发现,即仅使用年龄和腹围两个特征就能准确预测猪的体重,其他误差值也显示出相应的结果。