The application discloses a kind of sow
lactation behavior fine-grained identification method based on
computer vision, steps are as follows: collecting sow and piglet's down video during
lactation period;Establish sow
lactation behavior fine-grained classification
data set;
Train sow lactation behavior fine-grained classification
behavior recognition model;Long section monitoring video is input into
behavior recognition model, and the behavior category
label sequence corresponding to sow lactation behavior fine-grained classification is generated;Using the prior knowledge of sow lactation behavior, combined with
hidden Markov model, the problem of sow lactation behavior fine-grained classification is modeled, and the category
label sequence is corrected using
Viterbi algorithm, and the classification results of four categories of piglet
weaning, lactation, interrupted lactation and non-lactation state are output.The application can avoid the shielding interference of sow delivery
bed limiting fence as much as possible, has strong robustness, and consumes less computing resources, runs faster, and is suitable for
video monitoring system in actual breeding environment.