The mobile app only records video and stores the gyroscope signals during the video. It dumps this data into two files: a
.mp4 and a
.csv file. These two files are the input for the next step. There is no computation on the mobile device. In this chapter, we'll use Android as our platform. Moving to any other platform should be fairly easy—we are doing only basic tasks that any platform should support.
The video stabilizer runs on a desktop. This is to help you figure out what's happening in the stabilization algorithm much more easily. Debugging, stepping through code and viewing images on a mobile device is relatively slower than iterating on a desktop. We have some really good scientific modules available for free (from the Python community. In this project, we will use Scipy, Numpy, and Matplotlib...