← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #689041]: OCR class features sikuli IDE

 

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

RaiMan proposed the following answer:
The above solution changes the global options for the complete IDE
session (or script-run if run from command-line).

use OCR.reset() to get back to the standard/default.

A variant is to use your own options set:

reg = Region(107,168,49,14)
myOptions = OCR.Options().oem(OCR.OEM.TESSERACT_ONLY).configs("digits")
print OCR.readWord(reg, myOptions)

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