Video Stabilization
Implementation of "Auto-Directed Video Stabilization with Robust L1 Optimal Camera Paths"(link). The algorithm computes L1-norm optimized camera paths composed of constant, linear and parabolic segments inspired from professional camera equipment like tripods and camera dolly. The algorithm is evidently laden with significance for its implementation in several modern video editors and YouTube.
Prerequisites
ffmpeg
matlab
cvx
vlfeat
How-To
- Extract frames to a directory.
ffmpeg -i test.mp4 frames/out-%05d.jpg
- Change vlfeat and cvx directory paths in
main.m
andoptimizeAffineTransforms.m
. - Change original and output directory for frames in
main.m
. - Run
main.m
. - Merge frames.
bash create_video.sh
Plots
To-Do
- Wobble suppression
- Mitigate rolling shutter troubles
- Video retargeting
- Saliency tracker(eg. face)
License
This project is licensed under the GPL v.2 License.
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容