how to compare special part of an image

Asked by Rite

The image I want to find on the screen has some uncertain strings, so how can I only compare some part of an image.
I have tried to make the uncertain part transparent then I suppose sikuli will not compare the transparent part of image, but it does not. How can I do this kind of case?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Lunyov
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Lunyov (lunyov-av) said :
#1

You could divide your image into certain parts (hope there are not so many) and then use a list of these subimages with their offsets from the upper certain image (for example). This list will represent the whole image without its uncertainties. Then you should find sequentially images from this list on your screen.

Revision history for this message
Rite (surite) said :
#2

Thanks Alex Lunyov, that solved my question.