← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #669912]: cant find image in a region when i create a pattern object

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
wrong: number_place_pattern= Pattern(file_number_path).similar(95)

the similarity must be a fraction between 0 and 1
number_place_pattern= Pattern(file_number_path).similar(0.95)


---  I also tested by using direct find functions from the IDE and setting the match ratio to 95% even then it works
I guess, you are talking about the IDE Preview.

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