L1Stabilizer

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.

Output sample

Prerequisites

ffmpeg
matlab
cvx
vlfeat

How-To

  1. Extract frames to a directory.

    ffmpeg -i test.mp4 frames/out-%05d.jpg
  1. Change vlfeat and cvx directory paths in main.m and optimizeAffineTransforms.m.
  2. Change original and output directory for frames in main.m.
  3. Run main.m.
  4. Merge frames.

    bash create_video.sh

Plots

alt-text-1 alt-text-2

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
喜欢就支持一下吧
点赞367 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容