← Back to team overview

sikuli-driver team mailing list archive

[Question #176332]: Finding an image of a certain color

 

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

I use Sikuli to test some widgets, among them a status icon that is green if there are no errors, orange if there is a warning and red if there is an error.
The problem is that Sikuli finds the red icon even if the image of the green one is set as a pattern to find.
I cannot play with positions because there is only one image and it is always at the same position.
It would be nice to either be able to get the color of a certain pixel or the average color of a region, or improve the find function to be able to take colors into account.
I would appreciate any workaround in the meantime too!

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