Tim M 57b5cefde5 Updated all `.md` files to contain newest image 2 éve
..
CMakeLists.txt bd18383560 Create CMakeLists.txt 6 éve
README.md 57b5cefde5 Updated all `.md` files to contain newest image 2 éve
video_stabilization.cpp 959609e47a OpenCV 4.0 compatibility fixes. 4 éve
video_stabilization.py 0ec7a0b973 minor changes to video stab 6 éve

README.md

Video Stabilization Using Point Feature Matching in OpenCV

This repository contains the code for Video Stabilization Using Point Feature Matching in OpenCV blog post.

download

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

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.