← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #691383]: how to use OCR.readLines?

 

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

matteoa posted a new comment:
Hi RaiMan,
thanks for prompt response!!
I've tried your snippet, slightly modified (the list does not exists and PSM 6 is absolutely needed):
textOCR.setPSM(6)
reg = selectRegion()
lines = reg.textLines()
for line in lines:
    uprint(line)

Works perfectly!!
Thanks!!!

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