Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera path #6

Open
NatalyaSlepkova opened this issue Apr 26, 2019 · 2 comments
Open

Camera path #6

NatalyaSlepkova opened this issue Apr 26, 2019 · 2 comments

Comments

@NatalyaSlepkova
Copy link

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?

@sudheerachary
Copy link
Owner

sudheerachary commented Apr 26, 2019

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.

@NatalyaSlepkova
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants