Skip to content

Files

Latest commit

21fad4c · Jan 22, 2019

History

History
37 lines (29 loc) · 849 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 849 Bytes

Download Video

Please download input video from here. Please make sure it is present in the directory from which the code is run.

Run Code

The code requires OpenCV 3.x.

Python

The code is tested on Python 3 only, but should work with Python 2 with minor modifications.

python3 video_stabilization.py

C++

Compile using the following

g++ -O3 -std=c++11 `pkg-config --cflags --libs opencv` video_stabilization.py -o video_stabilization

Run using the following command

./video_stabilization

The code can also be compiled using cmake as follows:

mkdir build
cd build
cmake ..
cmake --build . --config Release

The executable file generated can be run using the following command

./video_stabilization