In this paper, an improved method are put forward for making up the defects of algorithm Meanshift in Moving
target tracking, the automatic initialization of moving targets is realized by determining the center of mass, pixel location
is determined by calculation the center of the target in each frame. The experimental results show that the improved
Meanshift algorithm avoids the error of the artificial participation, reduces the tracking deviation phenomena and the
number of iterations when calculating the candidate target center. The tracking accuracy and efficiency are improved.