← 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: Answered => Open

tjonnyc is still having a problem:
The code:

reg = selectRegion(Region(1364,281,75,18))
print reg.text()

Produces the following error:

[info] Sikuli vision engine loaded.

[info] VDictProxy loaded.

[error] Stopped
[error] An error occurs at line 1
[error] Error message: Traceback (most recent call last):
 File "C:\Windows\TEMP\sikuli-tmp5050479256018944252.py", line 1, in 
 reg = selectRegion(Region(1364,281,75,18))
 File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py", line 142, in selectRegion
TypeError: selectRegion(): 1st arg can't be coerced to String

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