← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #672584]: OCR getWords() and getLines() don't seem to be working

 

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

Tim B posted a new comment:
Hmmmm.   I knew that, but perhaps I've mismatched a datatype somehow.  So here is a bare minimum code block I used to test (and it still failed):
---------------------
new_reg = selectRegion("Pick a text area...")

print new_reg.text()

print new_reg.getWords()

print new_reg.getLines()
---------------------

The first print works, and outputs the text.  The second one fails (no
attribute 'getWords'), and the third fails in the same way if I comment
out the second.   Should this work?

By the way, thank you so much for all of your incredible work.. SikuliX
truly is an awesome piece of software!

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