Mesh-Flow-Video-Stabilization icon indicating copy to clipboard operation
Mesh-Flow-Video-Stabilization copied to clipboard

Camera path

Open NatalyaSlepkova opened this issue 5 years ago • 2 comments

Thank you for your code. In your README you demonstrate plot of path's original video and stabilized. How do you get this paths? I thought that it's path of frame's center - x. So x' = H*x, where H is matrix homography and (x'[0] / x'[2], x'[1] / x'[2]) is new coordinates (x, y) of center next frame. But I get very strange plot. Could you explain me my mistake, please?

NatalyaSlepkova avatar Apr 26 '19 12:04 NatalyaSlepkova

Thanks for your interest, As in the paper, not just a single camera path is computed for the whole frame, it is computed for each mesh in a frame. Motion vectors are computed for each mesh in a frame and are accumulated temporally, then using optimization module it smoothens camera path.

sudheerachary avatar Apr 26 '19 14:04 sudheerachary

https://github.com/sudheerachary/Mesh-Flow-Video-Stabilization/raw/master/results/paths/0_30.png Yes, I understand. But how do you get this plot?

NatalyaSlepkova avatar Apr 26 '19 15:04 NatalyaSlepkova