← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #175489]: find works better if I highlight the search region first

 

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

Beth Griffin posted a new comment:
What I thought was the solution actually wasn't.  In the end, I think
the real fix was doing

if not sRegion.exists(Pattern("SobelFilter_103_sobel_filter.png").similar(0.95)):
    ...


If I ran things repeatedly, sometimes the match was right, other times it wasn't.  So far, using Pattern.similar seems to give me consistent results.

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