Is non-rectangular matching possible?
Asked by
Laurent Vaucher
I would like to find on screen an image that does not have rectangular bounds. For instance, I want to look for a round button and I only care for the button, not its surroundings. It might be placed on different backgrounds that I don't know in advance.
I thought I could build a Pattern from a PNG with transparency to mean: "I'm not interested in the comparison of transparent pixels", but it does not seem to work like that. I generally don't find any match over the standard 0.7 threshold.
Is there any other way?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.