You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does looks-same support ignoring certain areas (rectangles) during comparison?
I see that gemini, which is using looks-same, allows to ignoreElements. I would expect it (ignoring) is done by means of image-comparison tool?
Activity
scottrippey commentedon Mar 21, 2019
Similarly, I'd love to have a whitelist of comparison zones too!
DudaGod commentedon Mar 21, 2019
Hello.
At the moment looks-same is able to compare by regions:
But not able to ignore some region. Add this logic is not really difficult looking at this PR - #51. Do you have some free time to contribute? ;)
krgolovan commentedon Mar 27, 2019
You can define your ignoring rectangles and then if
diffClustersare within those ignoring rectangles you just changeequalto true.DudaGod commentedon Mar 27, 2019
To my mind it's not the best solution. It would be much better if looks-same provided API to ignore some areas.
krgolovan commentedon Mar 27, 2019
Right! I meant as a temporary solution you can use
diffClusters.