#287 · Primary category: Video & Animation

python_video_stab

computer-vision opencv python video video-stabilization

A Python package to stabilize videos using OpenCV

Project last updated:07/19/23

GitHub Stars

774

Forks

126

Contributors

4

License

MIT

Why we included this project

Handheld footage rarely comes out steady enough to publish as-is, and this library exists to fix exactly that one problem. It wraps a single VidStab class around OpenCV's feature tracking, estimates the motion between frames, and applies the inverse transform to produce a steadier clip. You can drive it from the command line or import it into your own Python scripts, and the practical extras include border handling (black, reflect, or replicate) and frame layering for trail effects. It also handles live video and lets you stabilize a single frame at a time, so it slots into a larger processing pipeline without much fuss. This is a focused tool for a specific job, not a general-purpose editing suite.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category