The invention relates to the technical field of intelligent breeding, and discloses a
beef cattle identification method based on multi-scale segmentation optimization and multi-
modal data fusion, which comprises the following steps: acquiring
beef cattle multi-
modal image data, carrying out time-space synchronization and fusion to construct a
fusion image, carrying out preprocessing of illumination invariant transformation and multi-scale
pyramid construction, and carrying out multi-scale segmentation optimization and multi-
modal data fusion on the
fusion image; generating an enhanced image, inputting the enhanced image into a depth-guided attention segmentation network to extract double-
branch foreground features, generating an initial segmentation probability graph, optimizing a segmentation
mask in combination with a
conditional random field model and a motion consistency constraint, finally extracting multi-dimensional features from the
mask, inputting the multi-dimensional features into a multi-classification
support vector machine to perform individual classification reasoning, and obtaining a final segmentation result. And obtaining a
beef cattle individual identification result. Therefore, the foreground and background segmentation method applied to the intelligent breeding scene for beef cattle individual recognition is provided, the beef cattle individual recognition precision is improved, and meanwhile the management requirements of commercial breeding for high precision, high stability and multi-scene adaptability are met.