sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47328
[Question #669912]: cant find image in a region when i create a pattern object
New question #669912 on Sikuli:
https://answers.launchpad.net/sikuli/+question/669912
Hi,
Can anyone please help:
file_number_path = "/images/abc/image_name.png"
number_region=table_region.exists(file_number_path)
This code successfully finds the image however when i do the following:
file_number_path = "/images/abc/image_name.png"
number_place_pattern= Pattern(file_number_path).similar(95)
number_region=table_region.exists(number_place_pattern)
The code fails. I also tested by using direct find functions from the IDE and setting the match ratio to 95% even then it works, however when i use it like a pattern it fails
My sikuli version is 1.1.3 and Mac OS
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.