[1.1.1] Maven: TextRecognizer not working: tessdata stuff not available --- fixed nightly 1.1.1 2016-12-01

Bug #1646470 reported by RaiMan
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

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

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
Revision history for this message
RaiMan (raimund-hocke) wrote :

the sikulixapi.jar now contains the tessdata stuff, so the text/OCR features should work to of the box with the sikulixapi dependency only

Changed in sikuli:
importance: High → Critical
summary: [1.1.1] Maven: TextRecognizer not working: tessdata stuff not available
+ --- fixed nightly 1.1.1 2016-12-01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.