Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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 supports OpenCV 3.x and 4.x.

Python

The code is tested on Python 3 only.

python3 video_stabilization.py

By default it writes video_out.mp4.

C++

Compile using the following

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

Run using the following command

./video_stabilization

By default it writes video_out.mp4. 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

Computer Vision & AI Consulting

If you need help implementing your computer vision or AI project, we provide consulting services at BigVision.AI.

Contact us at contact@bigvision.ai.

BigVision.AI