← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254592]: Using a list of stored captures

 

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

RaiMan proposed the following answer:
---  specify the similarity at which to take the image?
an image is captured as is with it's pixels

similarity gets relevant only at search time.
you either can specify a similarity to be used generally or with a single search

generally (used until changed again)
Settings.MinSimilarity = 0.99

per single search
use Pattern(image).similar(0.99) instead of image itself (or in case of 0.99: Pattern(image).exact() )

your above case:
    if dd.exists(Pattern(image).exact()):

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