The fixed distance in seconds between two object tracking keyframes does not work well for some videos. If there are fast movements, the annotation moves too quickly or too slowly between keyframes. Implement a dynamic keyframe sampling that is based of offset deltas. Based on a fixed offset delta x, a new keyframe is sampled if the old keyframe position is more than x pixels away from the new keyframe or the tracking has been finished.
The fixed distance in seconds between two object tracking keyframes does not work well for some videos. If there are fast movements, the annotation moves too quickly or too slowly between keyframes. Implement a dynamic keyframe sampling that is based of offset deltas. Based on a fixed offset delta x, a new keyframe is sampled if the old keyframe position is more than x pixels away from the new keyframe or the tracking has been finished.