1. A method implemented in an image editing device for tracking an object in a plurality of frames, comprising: obtaining a reference contour of an object in a reference frame; estimating, for a current frame after the reference frame, a contour of the object; comparing the reference contour with the estimated contour; determining at least one local region of the reference contour in the reference frame based on a difference between the reference contour and the estimated contour; based on the difference, determining at least one corresponding region of the current frame; computing a degree of similarity between the at least one corresponding region in the current frame and the at least one local region in the reference frame; adjusting the estimated contour in the current frame according to the degree of similarity; and designating the current frame as a new reference frame and a frame after the new reference as a new current frame.