Hello, I have the foloowing problem, I have installed the sikuli with the ocr support (number 5 if I am not wrong). Now I set sikuli to read some IDs from a string and paste them in a field on the same page. Now IF I use the runIDE and run the script, al works fine, but when I try to run runScript.cmd -r "path\to\script\script.sikuli" I get the following error: [error] Region.text: text recognition is currently switched off --- no text ---
I have to mention that both runIDE and runScript are ran from the same folder where sikuli (with ocr support) was installed. Thanks, Bogdan. -- 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 _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

