Finding an image of a certain color
Asked by
Csaba Pinter
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!
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.