Retrieve coordinates from Entropy and Attention crop
See original GitHub issueIs there a way to get the coordinates used for the sharp.strategy.entropy or sharp.strategy.attention crop?
I want to be able to store the crop data to database as x,y,width,height so that I can generate a cropbox on the front-end to match the already cropped thumbnail when users try to manually adjust it crop. Right now I’m placing the cropbox in the center which is confusing because it doesn’t match the current thumbnail. Here’s what I want the cropbox to look like: (matching the entropy-based thumbnail)

Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Benchmarking Attention-Based Interpretability of Deep ... - MDPI
When modeling complex sequences, attention mechanisms are regarded as ... Parallel coordinates plot of multivariate time-series synthetic ...
Read more >Computational Methods for Configurational Entropy Using ...
The configurational entropy of solute molecules is a crucially important quantity to study various biophysical processes.
Read more >A Deep Network Solution for Attention and Aesthetics Aware ...
Abstract—We study the problem of photo cropping, which aims to find a cropping window of an input image to preserve as much as....
Read more >An improved segmentation technique for multilevel ...
Abstract Crop image segmentation is widely used for the analysis ... However, researchers have received kind attention towards entropy-based ...
Read more >Asymmetric coordinate attention spectral-spatial feature fusion ...
Coordinate attention is used to extract discriminative ... task is completed through the fully connected layer and cross entropy loss.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This will be in v0.19.0 - https://github.com/lovell/sharp/blob/suit/lib/output.js#L19
sharp v0.19.0 now available.