sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55317
Re: [Question #691375]: Finding the region of an image based on a similar image
Question #691375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691375
Status: Open => Answered
RaiMan proposed the following answer:
In the current 2.0.4 there is a problem with someMatch.text(), so that
it uses the searched image (old drop) and not the region where it was
found for OCR.
The workaround:
def drop
Sikulix.Region(Sikulix.Screen.find(CloudApp::Pattern.drop_label))
end
... cast the Match to a Region object.
see: https://bugs.launchpad.net/sikuli/+bug/1883605
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.