← Back to team overview

sikuli-driver team mailing list archive

[Question #404084]: Maven: TextRecognizer not working: tessdata stuff not available at

 

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

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

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