1 | initial version |
I'd suggest using the example in a recent opencv release (opencv3.0+) https://github.com/Itseez/opencv/blob/master/samples/cpp/videostab.cpp g++ videostab3.0.cc -o videostab $(pkg-config --libs opencv)
I found better stabilization results with a full homographic model, but it was much slower.
ps After spending some time with the videostab module in opencv, I didn't have much luck with a generalized high quality and fast (real time) video stabilization tool. I opted for using the ffmpeg vid.stab plugin, but would like to revisit opencv video stabilization once the module has matured.
2 | No.2 Revision |
I'd suggest using the example in a recent opencv release (opencv3.0+)
https://github.com/Itseez/opencv/blob/master/samples/cpp/videostab.cpp
https://github.com/Itseez/opencv/blob/master/samples/cpp/videostab.cpp
g++ videostab3.0.cc -o videostab $(pkg-config --libs opencv)opencv)
I found better stabilization results with a full homographic model, but it was much slower.
ps After spending some time with the videostab module in opencv, I didn't have much luck with a generalized high quality and fast (real time) video stabilization tool. I opted for using the ffmpeg vid.stab plugin, but would like to revisit opencv video stabilization once the module has matured.