/cos429-finalproj

COS 429 Computer Vision, Fall 2019

Primary LanguagePython

Project Description

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

Dependencies

This project uses the following software packages:

cvx
opencv
numpy

To Use

  1. Make sure the video is in the same directory as all the code files. Include the video extension in all instances of <videoname>.

  2. python estimateCameraPath.py <videoname>

  3. Change the variable videoname in runGetOptimCamPath.m and run the script.

  4. python createVideo.py <videoname>

Examples

The folder examples contains examples of the algorithm applied on various videos. A few are shown below.

pan1.mp4 train1.mp4 walking3.mp4 williams2.mp4 yuna1.mp4

Experiments

The folder experiments contains various results from tests on crop window parameters.