question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retrieve coordinates from Entropy and Attention crop

See original GitHub issue

Is 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) 2017-07-09_221622

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
lovellcommented, Oct 1, 2017
2reactions
lovellcommented, Jan 12, 2018

sharp v0.19.0 now available.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found