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

Realtime warping #23

Closed
tjasmin111 opened this issue Aug 31, 2023 · 2 comments
Closed

Realtime warping #23

tjasmin111 opened this issue Aug 31, 2023 · 2 comments

Comments

@tjasmin111
Copy link

Interesting work. Is it possible to do it in realtime? Say live on camera video, perform nose slimming.

@jankrepl
Copy link
Owner

jankrepl commented Aug 31, 2023

Hey @tjasmin111 and thank you for your interest.

So pychubby works on images. Videos are just sequences of images so in theory you could make it work on videos.

However, there are 2 problems

  • Temporal consistency - two consecutive frames might result in slightly different warping so if one plays the video I would imagine it will be "jittery"
  • pychubby is basically built on interpolation algorithms and they might take some time to run (depending on the parameters). Assuming your video is 24 FPS than each frame would need to be warped in 0.04s which I think is not possible (for any reasonable resolution) without some code optimizations.

Anyway, feel free to give it a try anyway and report back how it went:)

@jankrepl
Copy link
Owner

Closing due to inactivity. Feel free to comment and we can reopen

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