← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235487]: Recognize text (OCR) and paste it to a document?

 

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

    Status: Open => Answered

Eugene S proposed the following answer:
You can do this like that:

Settings.OcrTextRead = True  #set the OcrTextRead setting to True
text = myRegion.text()  #recognize the text whithin the region and save it to a variable

Then you can just the resulting 'text' variable for your purposes.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.