← 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

Eric G posted a new comment:
I've read both text+ocr features for sikuli and the doc for tesseract, but I'm still at a loss on how use in ide.
What would it look like if I wanted oem(0) psm(8) and config : digits. May I please get an example? 

What I have right now:

Settings.OcrLanguage = "eng"
Settings.Configs = "digits"
OCR.PSM.SINGLE_WORD
OCR.OEM.TESSERACT_ONLY 
#rest of code

the digits config file is "tessedit_char_whitelist 0123456789"

It runs but when I test out (int(myValue.text()) it still returns non
integers...what am I doing wrong?

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