-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add attention_x and attention_y as output to attention based crop #3470
Conversation
The relevant changes will be released in version 8.14 of libvips. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thanks for the PR, I've left a couple of questions/comments inline that I think will need addressing.
@lovell - Thank you, feedback adressed. The newest libvips release also includes the attentionX and attentionY fields. Is there an approximate timeline for the next release? |
Thanks for the updates, please can you rebase against the |
* Respect scale when computing attentionX/Y
Done 🙌 |
Thanks for the updates, LGTM. The Windows failures are due to what appears to be a possible bug in that latest |
Danke schön Emanuel! |
Hello,
This is in response to #3084 and builds upon the following PR in libvips.
The code change exposes the coordinates of the center of attention when using attention based smart cropping.
I'd suggest to merge this PR after my changes are included in libvips.