[tesseract-ocr] Re: Tesseract couldn't load any languages!

2018-05-19 Thread Dattatraya Tembare
I have eng tessdata, it worked for previous 33 files and failed for 34th. When I tried command like it worked. But in command line I have not specified tessdata path.my assumption is it is picking default path. -- You received this message because you are subscribed to the Google Groups "tess

[tesseract-ocr] Re: Tesseract couldn't load any languages!

2018-05-17 Thread shree
It is possible that you have not downloaded eng.traineddata or it is in a different location. Try running tesseract on command line, check --list-langs. On Friday, May 18, 2018 at 9:27:59 AM UTC+5:30, Dattatraya Tembare wrote: > > > *[SOLVED] changed the language from 'hin+eng' to 'hin'In this c

[tesseract-ocr] Re: Tesseract couldn't load any languages!

2018-05-17 Thread Dattatraya Tembare
*[SOLVED] changed the language from 'hin+eng' to 'hin'In this case selection of language also matters -* I was processing image with lang=hin+eng, but it was giving the same error (mentioned in this post) As English text was less in the image so I changed lang=hin and I got the expected resu

[tesseract-ocr] Re: Tesseract couldn't load any languages!

2018-05-17 Thread Dattatraya Tembare
Thanks! Your solution worked. Now facing something different -- Same pattern 33 files executed successfully, failed for 34th file. java.lang.Error: Invalid memory access at com.sun.jna.Native.invokePointer(Native Method) ~[jna-4.5.1.jar:4.5.1 ( b0)] at com.sun.jna.Function.invokePointer(Functi

[tesseract-ocr] Re: Tesseract couldn't load any languages!

2018-05-07 Thread rolandkoehler1504
I downloaded a new language from https://github.com/arturaugusto/display_ocr/tree/master/letsgodigital (7-segment numbers) i put the file in my tessdata directory: C:\Program Files (x86)\Tesseract-OCR\tessdata when I run tesseract I get the error: An error occured: { [Error: Command failed: C

[tesseract-ocr] Re: Tesseract couldn't load any languages!

2018-05-04 Thread Quan Nguyen
You'll need to setDatapath to your tessdata directory so Tesseract can find the *.traineddata files On Friday, May 4, 2018 at 1:38:16 PM UTC-5, Dattatraya Tembare wrote: > > Exception in thread "main" java.lang.Error: Invalid memory access > at com.sun.jna.Native.invokePointer(Native Method) > at