-
-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[keyframe] Handle corner case when identifying subsequences
This commit handles the specific case where the last frame of an input sequence happens to be the one that pushes the motion accumulation over the threshold: the last frame was being pushed a first time within the 'for' loop, and then a second time outside of it. This led the last subsequence to have a size of 0, which led to the 'while' loop condition filling the weights' vector to never be broken.
- Loading branch information
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters