主权项 |
1. A method for object tracking, comprising the steps of:
S1: receiving a plurality of coordinates (bounding box) target in an input image from the user, S2: determining if an acquired image is the first image acquired or not, S3: if the acquired image is the first image acquired then training of a classifier that discriminates target from the background, S4: if the acquired image is not the first image acquired then detecting the target using the classifier that is trained in the step, S5: determining if the detection is successful or not, S6: if the detection is successful then updating the classifier, S7: if the detection is unsuccessful for a predefined number of consecutive frames then termination of tracking, wherein the step of S3 further comprising the sub-steps of: extracting the feature representation of image patches from an input image, training a linear classifier, determining if the change in the classifier is greater than a predefined value, if the change in the classifier is greater than a predefined value then rejecting the training output, if the change in the classifier is not greater than a predefined value then updating the classifier, if the change in the classifier is greater than another predefined value, then saving the original classifier in a database. |