Popis: |
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. |