The invention provides a live pig health monitoring method based on multi-source
information fusion, and the method comprises the steps: collecting the sound data of a live pig in a
natural environment, carrying out the classification and preprocessing of the sound data, forming a sound sample
data set, inputting an LSTM neural
network model, and carrying out the training, and obtaining a
sound detection model; acquiring a live pig attitude image to obtain an attitude sample
data set, and inputting the live pig attitude sample
data set into the YOLOv5s model for training to obtain an attitude detection model; inputting live pig sound data collected in real time, preprocessing the data, and inputting the data into the
sound detection model to obtain sound features; inputting live pig attitude images collected in real time into the attitude detection model to obtain attitude features; measuring the body temperature of the live pig by using an
infrared temperature sensor, measuring the weight of the live pig by using a weight sensor, and fusing the sound feature, the posture feature, the body temperature and the weight to obtain a fusion vector; and inputting the fusion vector into a
random forest classifier for
decision making, and determining the health state of the live pig. According to the method, multi-
modal data are fused, comprehensive evaluation and diagnosis of the
health condition of the live pigs are facilitated, and the accuracy and robustness of the whole
monitoring system are further improved.