For a video stabilization project, a USB webcam (25 fps) and USB acceleration sensors are being used.
the sensors gives a speed of approximately 50 samples/second.
the derivative of the acceleration aka. 'Jerk' is done in order to localize the start and the end of the shake in the video.
the purpose is to compensate the camera movement in real-time, if it were you how would you :
- Match the frame (from camera) with the data of the sensor.
- Calculate the number of pixels to compensate from acceleration sensors data.
Thank you.