The invention discloses a target tracking method based on difficult
positive sample generation. According to the method, for each video in training data, a variation auto-
encoder is utilized to learna corresponding flow pattern, namely a
positive sample generation network, codes are slightly adjusted according to an input image obtained after encoding, and a large quantity of positive samples aregenerated; the positive samples are input into a difficult
positive sample conversion network, an intelligent body is trained to learn to shelter a target object through one
background image block, the intelligent body performs bounding box adjustment continuously, so that the samples are difficult to recognize, the purpose of difficult positive sample generation is achieved, and sheltered difficult positive samples are output; and based on the generated difficult positive samples, a twin network is trained and used for matching between a target image block and
candidate image blocks, and positioning of a target in a current frame is completed till
processing of the whole video is completed. According to the target tracking method based on difficult positive sample generation, the flow pattern distribution of the target is learnt directly from the data, and a large quantity of diversified positive samples can be obtained.