googleinterns / deep-stabilization

Apache License 2.0
159 stars 34 forks source link

"sample_freq" means what? #8

Open liuhuaer opened 2 years ago

liuhuaer commented 2 years ago

sample_freq: 40 # ms

zhmeishi commented 2 years ago

It should be corresponding to 25fps for the videos. Note that the gyro scope may have a different sample frequency than video images. Thus, we use this sampling frequency and Slerp interpolation to the gyro scope data, to make an alignment between the gyro scope sample frequency and video images sample frequency. See file dvs/gyro/gyro_function.py.