GabrielMajeri / nyuv2-python-toolbox

Python toolbox for the NYU Depth Dataset V2
MIT License
76 stars 11 forks source link

Incorrect frame sync #3

Closed jungerm2 closed 4 years ago

jungerm2 commented 4 years ago

The frame synchronization method is missing a very important line, you need to add:

diff = new_diff

somewhere after the if, around here:

https://github.com/GabrielMajeri/nyuv2-python-toolbox/blob/1ad502ca083fd81f908ffe28daab814a7fa724ce/nyuv2/raw/extract.py#L87

Otherwise, the timedelta never gets updated.

GabrielMajeri commented 4 years ago

Thanks for the correction!