biigle / videos

:m: BIIGLE module to create, edit and explore video annotations
0 stars 0 forks source link

Improve keyframe sampling of object tracking #38

Closed mzur closed 5 years ago

mzur commented 5 years ago

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.