Abstract:The classic Mean-Shift tracking algorithm, characterized by the color histogram, does not make full use of the position information of the target, therefore it is easy to lose the target as the target fast moving. Proposes a Mean-Shift tracking algorithm based on weighted histogram of the distance to target center.The weighted histogram effectively uses the target spatial information in the image to achieve the target tracking in complex background. Applies respectively the improved Mean-Shift tracking algorithm and classic Mean-Shift tracking algorithm for fast moving target tracking tests. The result shows that the improved algorithm has good robustness and real-time performance and effectively achieves the target tracking in complex scenes.