| CPC G06T 5/73 (2024.01) [G06T 7/246 (2017.01); G06T 2207/10016 (2013.01)] | 20 Claims |

|
1. A system for video stabilization, comprising:
at least one storage device storing a set of instructions; and
at least one processor in communication with the at least one storage device, wherein when executing the set of instructions, the at least one processor is configured to stabilize a video frame-by-frame from a second frame of the video by repeating operations including:
obtaining a target frame of the video, the target frame being a current frame to be stabilized in the video;
obtaining a plurality of feature points to be tracked in the target frame;
determining whether the plurality of feature points to be tracked in the target frame include at least one feature point relating to a moving object in the video;
in response to a determination that the plurality of feature points to be tracked in the target frame include at least one feature point relating to the moving object in the video, removing the at least one feature point relating to the moving object;
estimating one or more first motion parameters based on the remaining feature points of the plurality of feature points to be tracked in the target frame, the one or more first motion parameters including a homography matrix;
performing video stabilization to the target frame based on the one or more first motion parameters;
determining whether the target frame is a last frame of the video;
in response to determining that the target frame is the last frame of the video, terminating the video stabilization;
in response to determining that the target frame is not the last frame of the video,
identifying, in the target frame after the video stabilization, at least one supplement feature point that is different from the remaining feature points of the plurality of feature points to be tracked in the target frame;
designating the at least one supplement feature point and the remaining feature points as a plurality of feature points to be tracked in a frame immediately following the target frame in the video, a count of the at least one supplement feature point being equal to a count of at least one removed feature point so that a count the plurality of feature points to be tracked in the target frame is equal to a count of the plurality of feature points to be tracked in the frame immediately following the target frame; and
initiating a new repetition of the operations.
|