← Back to team overview

sikuli-driver team mailing list archive

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

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The solution is based on an image of the area, where the overlay is
expected (screenshot_of_background.png) (in this case including major
parts of the tree to have good details)

transparentImageFound:
   match = exists(screenshot_of_background)
   If match:
       score = match.getScore()
       return score < 0.9999 # suitable value has to be found

The match score internally is a floating point number.

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