← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #247902]: Image recognition problem

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
This is surely not a bug.

1. restrict the search region to the area around the bar
e.g match the image of the heart below the person image including the fix text Health and then increase this match, so resulting region contains the bar completely with some padding around.

2. use
if bar.exists(Pattern("health.png").similar(0.95), 0):

the , 0 only makes one search, which speeds things up

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