Comments (3)
Updates:
-
While searching for python library based on nghiaho implementation. I came across Python Video Stabilization (VidStab) by AdamSpannbauer. Initially, I decided to build a wrapper around this library for vidgear , but the experiments with this library tell a different story. The quality of stabilization with
vidstab
is very poor as compared to the original implementation by nghiaho12. The main problem is that after stabilizing,vidstab
output is still swaying too much even with slow vibrations in videos which were not present in the original implementation. This behavior was reported onvidstab
issues but didn't get any valid response from the author in time. -
After digging into this issue further and researching the original implementation, I decided to reimplement my own modified stabilizer for
vidgear
from scratch based on findings of Simple video stabilization using OpenCV by nghiaho12 sample code.
from vidgear.
Purposed Fix
PR #24 introduces Powerful Real-time Video Stabilizer for vidgear from scratch based on findings of by nghiaho12 sample code. This stabilizer can work both standalone and with VidGear Multi-Threaded Classes and thereby is solely integrated into vidgear's VideoGear
Class. This feature for any given video stream can be activated with stabilize
boolean flag during initialization in VideoGear Class.
Features :
- Real-time stabilization and low latency with no extra resources.
- Works exceptionally well with low frequency jitter.
- Compatible with any vidgear's video streams including live network streams.
- Works both standalone and with VidGear Multi-Threaded Classes.
- Directly integrated into vidgear's
VideoGear
Class.
from vidgear.
Successfully resolved and merged in bdc02a2
from vidgear.
Related Issues (20)
- [Question]: How to get original video fps with VideoGear. HOT 8
- [Bug]: ScreenGear's options wrong names HOT 13
- [Bug]: CamGear - Error when loading first segment , while taking picture from youtube streaming HOT 2
- [Bug]: In NetGear client.recv() stucking in a some non returnable loop HOT 4
- [Proposal]: Add type annotations to the code or add stub files HOT 2
- [Proposal]: Add ffmpeg creationflag in Writegear API HOT 1
- [Bug]: frame desynchronization HOT 6
- [Question]: Does VidGear support downloading arbitrary frames and getting video sizes? HOT 4
- Putting a client IP into the Server code? HOT 2
- [Bug]: Stream gear imposes simplified aspect ratios, which does not seem necessary HOT 1
- [Bug]: no sound on output video with bare minimum code on google colab HOT 4
- [Bug]: No video shown on RTSP tested with VLC HOT 2
- [Question]: how to stream frames from opencv capture already in use? HOT 2
- Exception in thread NetGear, zmq.error.Again: Resource temporarily unavailable HOT 7
- [Question]: looping? HOT 2
- [Bug]: Freezes video thread when processing background thread? HOT 5
- [Bug]: Logging issue with yt-dlp HOT 2
- How to use nvdec/nvenc HOT 5
- [Proposal]: -vcodec copy HLS HOT 1
- [Proposal]: Deprecate `on_startup` and `on_shutdown` in favor of `lifespan`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vidgear.