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

How to inference on my own video? #3

Open
Yuxuan-W opened this issue Jun 27, 2024 · 2 comments
Open

How to inference on my own video? #3

Yuxuan-W opened this issue Jun 27, 2024 · 2 comments

Comments

@Yuxuan-W
Copy link

Thanks for your inspiring work!
I find the param (s_w/s_h/e_w/e_h and ps_w/ps_h ...) are specified in script. How can I obtain these trajectory when inference on my own video if I want to keep the motion but change the appearance? Are these trajectories necessary even if I want the motion unchanged?

@MC-E
Copy link
Owner

MC-E commented Jun 27, 2024

The description of these parameters: https://github.com/MC-E/ReVideo#description-of-the-same-parameters. We provide examples in https://github.com/MC-E/ReVideo/tree/main/configs/examples/constant_motion to keep the motion of editing results. The trajectories are automatically extracted.

@Yuxuan-W
Copy link
Author

I see, for constant motion inference, the ps_w and ps_h represent the desired point to be tracked, which should be selected inside the foreground. Then the cotracker will automatically track on these points.

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