← Back to team overview

sikuli-driver team mailing list archive

[Bug 1646470] Re: [1.1.1] Maven: TextRecognizer not working: tessdata stuff not available

 

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 changed:

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

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1646470

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

Status in Sikuli:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1646470/+subscriptions


References