The invention provides a video target detecting and tracking method based on
optical flow features. According to the technical scheme of the method, during the first step, an input
image frame sequence is subjected to background sampling, and the
optical flow vector of each pixel point after the sampling process is calculated. Meanwhile, the background motion is estimated based on the Mean Sift
algorithm, and then the overall significance of a target is estimated. Finally, a threshold value is set according to the detection result of the target significance detection, so that a target region and a background region are separated. During the second step, the tracking of a video target is conducted: firstly, the target region is selected as a
positive sample, and the background region is selected as a
negative sample. The target is described based on the Haar features and the global color features of the target. Meanwhile, original features are subjected to sampling and compressing in the
random matrix manner. Based on the bayesian criterion, the similarity between the target and a target of a previous frame is judged. Finally, the target is continuously tracked based on the
particle filtering algorithm. In this way, multiple features including the target motion saliency, the color, the texture and the like are fused together, so that the success rate of target detection is improved. Therefore, the target can be quickly, effectively and continuously tracked.