Question #268915 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268915
Status: Open => Answered
Eugene S proposed the following answer:
If you already have an image captured with something like this:
capturedImage = capture(someRegion)
you can create a Pattern from it:
pattern = Pattern(capturedImage).similar(.95).targetOffset(x, y)
You can then use the Pattern object with Region class:
reg = Region()
reg.find(pattern)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp