This repository contains the code for Video Stabilization Using Point Feature Matching in OpenCV blog post.
Please download input video from here. Please make sure it is present in the directory from which the code is run.
The code supports OpenCV 3.x and 4.x.
The code is tested on Python 3 only.
python3 video_stabilization.py
By default it writes video_out.mp4.
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
If you need help implementing your computer vision or AI project, we provide consulting services at BigVision.AI.
Contact us at contact@bigvision.ai.

