Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

#461 - support defining regions for OCR and snapshot #463

Merged
merged 9 commits into from
Jun 21, 2019

Conversation

kensoh
Copy link
Member

@kensoh kensoh commented Jun 21, 2019

Following up on #457, where transparency (0% opacity) in images is supported in visual automation for advance use cases, raising a PR that allows defining regions for steps read, show, save, snap.

This allows users to define a square/rectangular region on the screen to perform OCR for text extraction, and saving screenshot of that region.

kensoh added 9 commits June 10, 2019 11:12
SikuliX wait_timeout also needs to be changed as part of sikuli_step() when timeout step is used.

Otherwise, when present() or visible() is invoked, the SikuliX timeout setting gets reverted back to its internal variable.

Also, 'casper' object should be used in displaying the error message instead of 'this'. Otherwise, for the execution context, this would be undefined and error message does not show up.
@kensoh kensoh merged commit 7eae738 into aisingapore:master Jun 21, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant