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 do I apply the transformation Matrix? #138

Open
arditobryan opened this issue Jun 18, 2023 · 1 comment
Open

How do I apply the transformation Matrix? #138

arditobryan opened this issue Jun 18, 2023 · 1 comment

Comments

@arditobryan
Copy link

I am using the the code from this gradio app (that utilizes superglue): https://huggingface.co/spaces/Pinwheel/SuperGlue-Image-Matching

I am matching the images with the following code.
pred = matching({'image0': inp0, 'image1': inp1})
If I want to apply the transformation from coordinates (100, 100) of the first image to the second one, which code should I use?
In pred, there is nothing that looks like a transformation matrix. Thank you.

@knotgrass
Copy link

@arditobryan here is my code, I think it's helpful for you.

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