← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235095]: [1.0.1] global name 'getRegionFromPSRM' is not defined

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
for x in list(e for e in findAll(imageA) if e.getScore() > 0.95):
    newRegion = x.above(70)
    if newRegion.exists(imageB):
        # her comes your other stuff

no need to use getRegionFromPSRM()

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