Re: [Sikuli-driver] [Question #236636]: OCR fails silently (no error message)

2013-10-09 Thread tjonnyc
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636

Status: Needs information = Open

tjonnyc gave more information on the question:
If I run that line, all I get is

##

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #236636]: OCR fails silently (no error message)

2013-10-09 Thread RaiMan
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636

Status: Open = Answered

RaiMan proposed the following answer:
ok, then OCR does not work for your font.

You simply have to forget it for now or look for other
solutions/workarounds in the net (if it is vital),

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #236636]: OCR fails silently (no error message)

2013-10-02 Thread RaiMan
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636

Status: Open = Needs information

RaiMan requested more information:
What happens, if you restrict the region to one line or even one word of
text?

use:
print #%s#%(selectRegion().text())

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #236636]: OCR fails silently (no error message)

2013-10-01 Thread RaiMan
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636

Status: Open = Answered

RaiMan proposed the following answer:
guess you get either spaces or unprintable text.

try: 
print #%s#%myText

to better see, what is printed.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #236636]: OCR fails silently (no error message)

2013-10-01 Thread tjonnyc
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636

Status: Answered = Open

tjonnyc is still having a problem:
Tried it, still nothing.

1.) Other OCR programs have no problem recognizing the text (took
screenshot, MS Office OCR and CorelDraw OCR recognized it perfectly).

2.) The same script applied to 1/2 of this page also recognized nothing
- not even the large-print headers.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #236636]: OCR fails silently (no error message)

2013-09-30 Thread tjonnyc
New question #236636 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236636

I'm trying this code, which I got from the answer to another thread (marked as 
solved):

myReg= Region(100,100,500,600)
myReg.highlight(2)
myText = myReg.text()
print myText

There is definitely text there, but I don't get ANY result.
The red highlight appears, sits there for a moment, then goes back to the 
Sikuli screen.
No error messages, no console message, no test trace... nothing.

Any suggestions?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp