Ask Your Question
0

How to stablize video in realtime?

asked Oct 8 '16

hjl240 gravatar image

updated Oct 8 '16

Tetragramm gravatar image

I know openCV3.1.0 now has a video stabilization class, and I read and run the given example cpp code(.\sources\samples\cpp\videostab.cpp), I find it first run "estimating motion", and then process frames. The result is good, but it is not run in realtime.

So I want to ask, how to modify the given code("videostab.cpp") to stablize video in realtime? Or now opencv3.1.0 can not implement video stabilization in realtime by using the video stabilization class?

Thank you!

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Oct 8 '16

Tetragramm gravatar image

videostab.cpp is not meant for real-time. Unfortunately, at this time, there are no complete OpenCV classes for doing real-time stabilization.

However, it is certainly possible to do. Take a look here for a somewhat sophisticated method that handles full affine motion.

Preview: (hide)

Comments

Thank you!

hjl240 gravatar imagehjl240 (Oct 10 '16)edit

Question Tools

1 follower

Stats

Asked: Oct 8 '16

Seen: 833 times

Last updated: Oct 08 '16