Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision

Feeding and drinking behaviors are important in pig breeding. Although many methods have been developed to monitor them, most are too expensive for pig research, and some vision-based methods have not been integrated into equipment or systems. In this study, two systems were designed to monitor pigs...

Full description

Bibliographic Details
Main Authors: Yanrong Zhuang, Kang Zhou, Zhenyu Zhou, Hengyi Ji, Guanghui Teng
Format: Article
Language:English
Published: MDPI AG 2022-12-01
Series:Agriculture
Subjects:
Online Access:https://www.mdpi.com/2077-0472/13/1/103
_version_ 1797447285987082240
author Yanrong Zhuang
Kang Zhou
Zhenyu Zhou
Hengyi Ji
Guanghui Teng
author_facet Yanrong Zhuang
Kang Zhou
Zhenyu Zhou
Hengyi Ji
Guanghui Teng
author_sort Yanrong Zhuang
collection DOAJ
description Feeding and drinking behaviors are important in pig breeding. Although many methods have been developed to monitor them, most are too expensive for pig research, and some vision-based methods have not been integrated into equipment or systems. In this study, two systems were designed to monitor pigs’ feeding and drinking behaviors, which could reduce the impact of the image background. Moreover, three convolutional neural network (CNN) algorithms, VGG19, Xception, and MobileNetV2, were used to build recognition models for feeding and drinking behaviors. The models trained by MobileNetV2 had the best performance, with the recall rate higher than 97% in recognizing pigs, and low mean square error (RMSE) and mean absolute error (MAE) in estimating feeding (RMSE = 0.58 s, MAE = 0.21 s) and drinking durations (RMSE = 0.60 s, MAE = 0.12 s). In addition, the two best models trained by MobileNetV2 were combined with the LabVIEW software development platform, and a new software to monitor the feeding and drinking behaviors of pigs was built that can automatically recognize pigs and estimate their feeding and drinking durations. The system designed in this study can be applied to behavioral recognition in pig production.
first_indexed 2024-03-09T13:53:44Z
format Article
id doaj.art-10cb1d18fd244a64b367fcc7a083af26
institution Directory Open Access Journal
issn 2077-0472
language English
last_indexed 2024-03-09T13:53:44Z
publishDate 2022-12-01
publisher MDPI AG
record_format Article
series Agriculture
spelling doaj.art-10cb1d18fd244a64b367fcc7a083af262023-11-30T20:45:48ZengMDPI AGAgriculture2077-04722022-12-0113110310.3390/agriculture13010103Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine VisionYanrong Zhuang0Kang Zhou1Zhenyu Zhou2Hengyi Ji3Guanghui Teng4College 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, ChinaCollege of Water Resources & Civil Engineering, China Agricultural University, Beijing 100083, ChinaFeeding and drinking behaviors are important in pig breeding. Although many methods have been developed to monitor them, most are too expensive for pig research, and some vision-based methods have not been integrated into equipment or systems. In this study, two systems were designed to monitor pigs’ feeding and drinking behaviors, which could reduce the impact of the image background. Moreover, three convolutional neural network (CNN) algorithms, VGG19, Xception, and MobileNetV2, were used to build recognition models for feeding and drinking behaviors. The models trained by MobileNetV2 had the best performance, with the recall rate higher than 97% in recognizing pigs, and low mean square error (RMSE) and mean absolute error (MAE) in estimating feeding (RMSE = 0.58 s, MAE = 0.21 s) and drinking durations (RMSE = 0.60 s, MAE = 0.12 s). In addition, the two best models trained by MobileNetV2 were combined with the LabVIEW software development platform, and a new software to monitor the feeding and drinking behaviors of pigs was built that can automatically recognize pigs and estimate their feeding and drinking durations. The system designed in this study can be applied to behavioral recognition in pig production.https://www.mdpi.com/2077-0472/13/1/103feeding behaviordrinking behaviorCNNMobileNetV2LabVIEW
spellingShingle Yanrong Zhuang
Kang Zhou
Zhenyu Zhou
Hengyi Ji
Guanghui Teng
Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision
Agriculture
feeding behavior
drinking behavior
CNN
MobileNetV2
LabVIEW
title Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision
title_full Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision
title_fullStr Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision
title_full_unstemmed Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision
title_short Systems to Monitor the Individual Feeding and Drinking Behaviors of Growing Pigs Based on Machine Vision
title_sort systems to monitor the individual feeding and drinking behaviors of growing pigs based on machine vision
topic feeding behavior
drinking behavior
CNN
MobileNetV2
LabVIEW
url https://www.mdpi.com/2077-0472/13/1/103
work_keys_str_mv AT yanrongzhuang systemstomonitortheindividualfeedinganddrinkingbehaviorsofgrowingpigsbasedonmachinevision
AT kangzhou systemstomonitortheindividualfeedinganddrinkingbehaviorsofgrowingpigsbasedonmachinevision
AT zhenyuzhou systemstomonitortheindividualfeedinganddrinkingbehaviorsofgrowingpigsbasedonmachinevision
AT hengyiji systemstomonitortheindividualfeedinganddrinkingbehaviorsofgrowingpigsbasedonmachinevision
AT guanghuiteng systemstomonitortheindividualfeedinganddrinkingbehaviorsofgrowingpigsbasedonmachinevision