← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #145806]: Any possiblity that Sikuli can recognise colors too (Same image with different colors) ?

 

Question #145806 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/145806

RaiMan posted a new comment:
@Albert
You should subscribe to the question (did it for you), if you ask something in a comment.

--- minSim 1.0
I still recommend to use 0.99, if you mean "exact match", since there are some situations, where 1.0 and exact() do not work at all or even crash the script.

--- differentiate between a button with a grey background vs a button with a blue background
if .similar(0.99) does not help, the only possibility currently is to use the "color picker" of Java Robot to additionally check the color of a pixel after finding the button.

for an approach see:
https://answers.launchpad.net/sikuli/+question/176332

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