摘要 |
PROBLEM TO BE SOLVED: To automatically stop subject tracking processing when a subject being tracked is lost and to automatically restart the subject tracking processing when the subject being tracked appears in an image plane again.SOLUTION: A subject tracking device includes: subject tracking means of specifying the position of a subject being tracked on the basis of similarities between an initial template image and an input image and similarities between an update template image and the input image; first determination means of determining whether the subject being tracked is detected from the input image on the basis of similarities between the initial template image and the input image at the position of the subject being tracked; and second determination means of determining whether the subject being tracked comes back into the input image on the basis of similarities between the initial template image and an image in a second search region when the subject being tracked is not detected. The subject tracking means stops specifying the position of the subject being tracked when the subject being tracked is not detected and restarts specifying the position of the subject being tracked when the subject being tracked comes back. |