← Back to team overview

sikuli-driver team mailing list archive

[Question #691602]: Highest possible exactness for Match?

 

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

I'm having an issue trying to detect transparent images that appear over a background image.
The way I've been approaching this is to take a screenshot of the background image and to call a method like 

transparentImageFound:
    return has(screenshot_of_background.exact()) == False

However, it seems similarity of 99% isn't enough to catch these images appearing some times. (they are very obvious visually to humans)

Instead of using exact() I've also tried .similar(0.995) and such 

Collecting the transparent images ahead of time isn't really an option.

Am I approaching this incorrectly?

Any suggestions?


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.