Implementation of the Youtube video stabilization algorithm. Based on work by Matthias Grundmann, Vivek Kwatra, and Irfan Essa:
https://ai.googleblog.com/2011/06/auto-directed-video-stabilization-with.html
This project uses the following software packages:
cvx
opencv
numpy
-
Make sure the video is in the same directory as all the code files. Include the video extension in all instances of
<videoname>
. -
python estimateCameraPath.py <videoname>
-
Change the variable
videoname
inrunGetOptimCamPath.m
and run the script. -
python createVideo.py <videoname>
The folder examples contains examples of the algorithm applied on various videos. A few are shown below.
The folder experiments contains various results from tests on crop window parameters.