Maven: TextRecognizer not working: tessdata stuff not available at

Asked by SreeCharan Shroff

Dear Sir,

with following maven dependecies, sikulixtessdata.jar is dowlnloaded into .m2\repository\com\sikulix\sikulixtessdata\1.1.990.
<dependencies>
  <dependency>
   <groupId>com.sikulix</groupId>
   <artifactId>sikulixapi</artifactId>
   <version>1.1.999</version>
  </dependency>
  <dependency>
   <groupId>com.sikulix</groupId>
   <artifactId>sikulixlibswin</artifactId>
   <version>1.1.999</version>
  </dependency>
  <dependency>
   <groupId>com.sikulix</groupId>
   <artifactId>sikulixtesseract</artifactId>
   <version>1.1.990</version>
  </dependency>
  <dependency>
   <groupId>com.sikulix</groupId>
   <artifactId>sikulixtessdata</artifactId>
   <version>1.1.990</version>
  </dependency>
 </dependencies>

 <repositories>
  <repository>
   <id>RepoFromConsol</id>
   <name>Consol</name>
   <url>https://labs.consol.de/maven/repository/</url>
  </repository>
 </repositories>
However, upon executing,
screen.click(screen.findText("File"));
followig error is thrown:
[error] TextRecognizer not working: tessdata stuff not available at:

workaround we are using: manually extract sikulixtessdata.jar contents into ...AppData\Roaming\Sikulix\SikulixTesseract\tessdata

please let us know how to get this working with pure maven.

Thanks,
Charan

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
SreeCharan Shroff
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

this is a bug.

At least a workaround should be documented somewhere.

Revision history for this message
SreeCharan Shroff (charaan) said :
#3

Dear RaiMan,

fix works fine with 1.1.1-snapshot

Thanks,
Charan