The invention discloses a target tracking method and
system based on color prompt embedding and position constraint, and relates to the technical field of
computer vision, and the method comprises the steps: extracting the depth features of a target search image according to a preset
deep learning network; extracting a color
histogram from the target search image through a color prompt
encoder, converting the color
histogram into a
color target probability graph, and performing
feature mapping after preprocessing to obtain mapping features; obtaining a color prompt target
perception feature map according to the mapping features and the depth features, inputting the color prompt target
perception feature map into a model predictor, and obtaining an appearance model; the method comprises the following steps:
processing a
test set image through a feature extractor, obtaining a
target response diagram through an appearance model, determining the position of a next frame of a target according to the target peak position of the
target response diagram, and updating a model predictor through an HNM
algorithm in combination with a target constraint mechanism to realize real-time updating of the appearance model. According to the invention, a color prompt
encoder and a position constraint mechanism are added to the
deep learning network, so that the model updated in real time is more accurate.