← Back to team overview

sikuli-driver team mailing list archive

[Question #186977]: Is non-rectangular matching possible?

 

New question #186977 on Sikuli:
https://answers.launchpad.net/sikuli/+question/186977

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.

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