Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method
Pig weight and body size are important indicators for producers. Due to the increasing scale of pig farms, it is increasingly difficult for farmers to quickly and automatically obtain pig weight and body size. Due to this problem, we focused on a multiple output regression convolutional neural netwo...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2021-05-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/21/9/3218 |
id |
doaj-6871fd5dd08c43af9600d7691d9680cc |
---|---|
record_format |
Article |
spelling |
doaj-6871fd5dd08c43af9600d7691d9680cc2021-05-31T23:17:59ZengMDPI AGSensors1424-82202021-05-01213218321810.3390/s21093218Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic MethodJianlong Zhang0Yanrong Zhuang1Hengyi Ji2Guanghui Teng3College of Water Resources & Civil Engineering, China Agricultural University, Beijing 100083, ChinaCollege of Water Resources & Civil Engineering, China Agricultural University, Beijing 100083, ChinaCollege of Water Resources & Civil Engineering, China Agricultural University, Beijing 100083, ChinaCollege of Water Resources & Civil Engineering, China Agricultural University, Beijing 100083, ChinaPig weight and body size are important indicators for producers. Due to the increasing scale of pig farms, it is increasingly difficult for farmers to quickly and automatically obtain pig weight and body size. Due to this problem, we focused on a multiple output regression convolutional neural network (CNN) to estimate pig weight and body size. DenseNet201, ResNet152 V2, Xception and MobileNet V2 were modified into multiple output regression CNNs and trained on modeling data. By comparing the estimated performance of each model on test data, modified Xception was selected as the optimal estimation model. Based on pig height, body shape, and contour, the mean absolute error (MAE) of the model to estimate body weight (BW), shoulder width (SW), shoulder height (SH), hip width (HW), hip width (HH), and body length (BL) were 1.16 kg, 0.33 cm, 1.23 cm, 0.38 cm, 0.66 cm, and 0.75 cm, respectively. The coefficient of determination (R<sup>2</sup>) value between the estimated and measured results was in the range of 0.9879–0.9973. Combined with the LabVIEW software development platform, this method can estimate pig weight and body size accurately, quickly, and automatically. This work contributes to the automatic management of pig farms.https://www.mdpi.com/1424-8220/21/9/3218pig weightbody sizeestimationdeep learningconvolutional neural network |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Jianlong Zhang Yanrong Zhuang Hengyi Ji Guanghui Teng |
spellingShingle |
Jianlong Zhang Yanrong Zhuang Hengyi Ji Guanghui Teng Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method Sensors pig weight body size estimation deep learning convolutional neural network |
author_facet |
Jianlong Zhang Yanrong Zhuang Hengyi Ji Guanghui Teng |
author_sort |
Jianlong Zhang |
title |
Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method |
title_short |
Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method |
title_full |
Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method |
title_fullStr |
Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method |
title_full_unstemmed |
Pig Weight and Body Size Estimation Using a Multiple Output Regression Convolutional Neural Network: A Fast and Fully Automatic Method |
title_sort |
pig weight and body size estimation using a multiple output regression convolutional neural network: a fast and fully automatic method |
publisher |
MDPI AG |
series |
Sensors |
issn |
1424-8220 |
publishDate |
2021-05-01 |
description |
Pig weight and body size are important indicators for producers. Due to the increasing scale of pig farms, it is increasingly difficult for farmers to quickly and automatically obtain pig weight and body size. Due to this problem, we focused on a multiple output regression convolutional neural network (CNN) to estimate pig weight and body size. DenseNet201, ResNet152 V2, Xception and MobileNet V2 were modified into multiple output regression CNNs and trained on modeling data. By comparing the estimated performance of each model on test data, modified Xception was selected as the optimal estimation model. Based on pig height, body shape, and contour, the mean absolute error (MAE) of the model to estimate body weight (BW), shoulder width (SW), shoulder height (SH), hip width (HW), hip width (HH), and body length (BL) were 1.16 kg, 0.33 cm, 1.23 cm, 0.38 cm, 0.66 cm, and 0.75 cm, respectively. The coefficient of determination (R<sup>2</sup>) value between the estimated and measured results was in the range of 0.9879–0.9973. Combined with the LabVIEW software development platform, this method can estimate pig weight and body size accurately, quickly, and automatically. This work contributes to the automatic management of pig farms. |
topic |
pig weight body size estimation deep learning convolutional neural network |
url |
https://www.mdpi.com/1424-8220/21/9/3218 |
work_keys_str_mv |
AT jianlongzhang pigweightandbodysizeestimationusingamultipleoutputregressionconvolutionalneuralnetworkafastandfullyautomaticmethod AT yanrongzhuang pigweightandbodysizeestimationusingamultipleoutputregressionconvolutionalneuralnetworkafastandfullyautomaticmethod AT hengyiji pigweightandbodysizeestimationusingamultipleoutputregressionconvolutionalneuralnetworkafastandfullyautomaticmethod AT guanghuiteng pigweightandbodysizeestimationusingamultipleoutputregressionconvolutionalneuralnetworkafastandfullyautomaticmethod |
_version_ |
1721417830704873472 |