← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #707280]: sikuli does'nt recognize images stably

 

Question #707280 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/707280

    Status: Needs information => Answered

RaiMan proposed the following answer:
Images taken on one system might make problems on other systems due to
different image rendering (either generally or by differing settings).

You might either use images taken on the actual system (at least for the
ones making problems) or lower the similarity (Pattern.similar). Be
aware: a lower similarity increases the risk for false positives.

Image contents that may lead to problems
- text (font differences, antialiasing, ...)
- edge rendering
- gui elements

You might check by visually comparing images from different systems on
the pixel level.

You might use the SikuliX IDE Preview feature to see the different
similarity scores on different systems.

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