Patent ID: 8243990

Claim:
A method for tracking a moving object, comprising: detecting the moving object in a plurality of continuous images to obtain space information of the moving object in each of the images; tracking the moving path of the moving object according to the space information, and accumulating a elapsed time of the moving object staying in the images; capturing an appearance feature of the moving object in each of the images to build an appearance model of the moving object if the elapsed time is greater than a first predetermined time; associating the appearance model of the moving object to a plurality of appearance models within a database to judge whether the appearance model of the moving object is recorded in the database, the associating comprising: calculating a distance between the appearance model of the moving object and each of the appearance models in the database, judging whether the distance is less than a threshold, and renewing the appearance model in the database according to the appearance model of the moving object if the distance of the appearance model is less than the threshold, the calculating comprising: calculating a first distance between the appearance models built at two different time points based on the moving object in the images, so as to build a first distance distribution; calculating a second distance between the appearance models of two moving objects in the images, so as to build a second distance distribution; and obtaining a boundary of the first distance distribution and the second distance distribution to serve as the threshold for distinguishing the appearance model; and combining the space information and the appearance model of the moving object to track a moving path of the moving object in the images.