Re: [Sikuli-driver] [Question #679003]: [1.1.4] IDE: OCR Tuning

2019-03-07 Thread Mike
Question #679003 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679003

Mike posted a new comment:
Actually you can get to the Menu dialogue using SHIFT F10

-- 
You received this question notification because your team Sikuli Drivers
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 #679003]: [1.1.4] IDE: OCR Tuning

2019-03-07 Thread Mike
Question #679003 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679003

Mike proposed the following answer:
In Windows Explorer you can Copy Path. Your script can then read the
file path using :

pth = Env.getClipboard()

You can then manipulate the string in python.

Note there is a keyboard shortcut: Shift+Menu, "a".

I'll raise a request to implement Menu on SikuliX

-- 
You received this question notification because your team Sikuli Drivers
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 #679003]: [1.1.4] IDE: OCR Tuning

2019-03-06 Thread RaiMan
Question #679003 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679003

Status: Open => Answered

RaiMan proposed the following answer:
--- OCR-Result is: "Dieser PC > Lokaler Datentréger(Cz) > ..."),
I guess you are using print ocrResult to get this.
The normal print statement cannot print UTF-8 strings (the OCR results)
try with:
uprint(ocrResult)

For the OCR problems generally, I cannot help you.

You either have to find a font that works or tweak Tesseract with the
learning tools it offers (and finally add the traineddata to SikuliX
environment). I have no experience with that, since I never did this
before.

BTW: moving visually with OCR through explorer-trees is a huge effort.
Python has nice features to easily access the file system.

-- 
You received this question notification because your team Sikuli Drivers
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