← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #256236]: Differing images matched with very high similarity

 

Question #256236 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256236

RaiMan posted a new comment:
@TakEda
Thanks for the pointer.

The basic problems with the current implementation of the image search:
- can only be a rectangle
- all pixels count (transparency is ignored)

saying it other way round:
you cannot use images for searching that are somehow "masked" to a visually non-rectangular shape or have some pixels (usually background to the edges) 100% transparent.

This option is on the list for version 1.2 with different solution paths:
- somehow take the transparent pixels into account during matching (as an option, makes search last longer)
- use edge detection to find a visual object while ignoring some inner parts of the image (e.g. buttons with different content)

So feel free to post more ideas on this. I will dive into this area
during the next 3 months.

I will add this comment to your request answer as well.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.