-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi,
I added "TESSDATA_PREFIX" environment variable into Intelij to the the parent directory of your "tessdata" directory but I have the folwinf issue :
`TESSDATA_PREFIX: C:\Users\hamza\IdeaProjects\check-rendez-vous\src\main\resources
Exception in thread "main" java.lang.IllegalStateException: Could not initialize tesseract.
at org.example.CaptchaSolver.(CaptchaSolver.java:73)
at org.example.CaptchaSolver.(CaptchaSolver.java:60)
at org.example.App.main(App.java:23)
Error opening data file /C:/Users/hamza/IdeaProjects/check-rendez-vous/target/classes/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Process finished with exit code 1`
Any help please ?
Thanks.
Hamza