The application relates to an improved
template matching-based target tracking
algorithm implementation method, which solves the problems of time consumption,
instability, surrounding similar target interference and the like of a traditional
template matching algorithm by improving a template creation strategy, reading original image data to create a template, and the like; when searching for each frame, a scale factor is introduced to match with a current scale image and a predicted scale image, a region block with an
equal size to the template is taken out from each pixel point in a search range as a center to carry out
normalized correlation operation with the template, a target point position in the current scale and the predicted next scale image is obtained, a latest scale factor is obtained by judging a confidence degree, and the problem of tracking drift of the traditional
template matching algorithm is solved; the application improves the applicability of the traditional template matching algorithm, considers tracking speed and precision, has small and fixed algorithm calculation amount, has low requirement on an embedded platform, and has a good application prospect.