← Back to team overview

sikuli-driver team mailing list archive

[Question #648058]: Text based recognition using Sikuli

 

New question #648058 on Sikuli:
https://answers.launchpad.net/sikuli/+question/648058

I am very new to Sikuli and using following jars with eclipse:

bridj-0.7.0
sikuli-script-0.10.2
sikulixapi-1.1.0
sikulixlibswin-1.1.0

I want to use the text recgonition feature but I am oberving following withe the code:

  Region sc = new Screen(0);
  sc.findText("User:").highlight(1);

Error:
[error] Image: could not be loaded: file:/C:/User:.png
[error] Image: Image not valid, but TextSearch is switched off!
[error] TextRecognizer: init: export tessdata not possible - run setup with option 3
[error] TextRecognizer not working: tessdata stuff not available at:
C:\Users\Sikulix\SikulixTesseract\tessdata
FindFailed: null
  Line 2535, in file Region.java

	at org.sikuli.script.Region.wait(Region.java:2535)
	at org.sikuli.script.Region.findText(Region.java:2640)
	at org.sikuli.script.Region.findText(Region.java:2651)
	at TestSikuli.main(TestSikuli.java:53)


C:\Users\Sikulix\SikulixTesseract\tessdata folder seems to be empty.
Let me know if I am following the right steps,pls share some examples with text recognition with Sikuli.
Prompt help on this will be appreciated.

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