Patent ID: 8265392

Claim:
A method comprising: receiving a video frame of a video sequence; identifying a moving foreground region of the video frame representing movement relative to a different video frame in the video sequence; wherein identifying the moving foreground comprises, comparing a first location of pixels within a region of interest (ROI) object of the different video frame to a second location of the pixels within the different video frame; classifying pixels that have not moved from the second location as background pixels; classifying pixels that have moved from the second location as foreground pixels; and identifying the moving foreground region based on the foreground pixels; determining if there is more than one foreground object in the ROI object of the different frame, and merging foreground objects to form a combined foreground region; detecting ROI features within a combined foreground region of the video frame corresponding to the moving foreground region and a foreground region of the different video frame; and approximating a shape of an ROI object within the video frame based on the detected ROI features.