sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23221
[Bug 1188599] Re: [1.0] Region.text() does not work -- switched off in the standard
** Changed in: sikuli
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1188599
Title:
[1.0] Region.text() does not work -- switched off in the standard
Status in Sikuli:
Fix Committed
Bug description:
*** problem -------------------
as described in title
*** solution ------------------
in the standard (first time use) both the Tesseract based features Region.text() (OCR) and find("some text") are switched of.
for IDE script running:
https://github.com/RaiMan/SikuliX-IDE/wiki/Release-Notes-IDE#preferences
If you want to switch in the script directly:
Settings.OcrTextSearch=True/False to switch on/off finding text
Settings.OcrTextRead=True/False to switch on/off the Region.text() function
----------------------------------------------------------------------------
I wrote a script that runs fine and uses text OCR on my local machine. When I deploy it to a remote server and run the same test in the IDE using Windows Remote Desktop, the text recognizer cannot be created and it gives me the following message.
[error] Region.text: text recognition is currently switched off
I used an installer to install the version of Sikuli on my laptop,
(release candidate), and the 1.0.0 version I am just unzipping it to a
temp folder and running from there. I don't know if maybe OCR requires
the old version, but I'm assuming this is because of Remote Desktop
somehow.
1. Siluli Version
Using 1.0.0 from the web site as of 6/7/2013
2. OS Version
64 bit Windows Server 2003 accessed with Remote Desktop.
3. Procedure to reproduce
Use region.text() - it simply doesn't work.
4. Locate the bug
It's where the region.text() method tries to create a text recognizer and gets back null. Something under the hood is failing to get the recognizer.
Thanks,
Erik
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1188599/+subscriptions
References