Thank you ShreeDevi,

I tried first time with TESSDATA-PREFIX pointing to
xxx\Tesseract-OCR

I tried second time with TESSDATA-PREFIX pointing to
xxx\Tesseract-OCR\tessdata

I have in xxx\Tesseract-OCR\tessdata:
configs, tessconfigs, bul.traineddata, deu.traineddata, eng.cube.bigrams, 
eng.cube.fold, eng.cube.lm, eng.cube.nn, eng.cube.params, eng.cube.size, 
eng.cube.word-freq, eng.tesseract_cube.nn, eng.traineddata, 
eng.user-patterns, eng.user-words, osd.traineddata, pdf.ttf

In both cases the result is as described above.

Best regards
Evgeni


On Wednesday, February 1, 2017 at 4:44:09 AM UTC+2, shree wrote:
>
> check the value of TESSDATA-PREFIX environment variable and what 
> traineddata files are in that location.
>
> ShreeDevi
> ____________________________________________________________
> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>
> On Tue, Jan 31, 2017 at 7:41 PM, Evgeni Dimitrov <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>> At
>> https://github.com/tesseract-ocr/tesseract/wiki
>>
>> I saw there is a windows installer for Tesseract 3.05-dev from Tesseract 
>> at UB Mannheim at
>> https://github.com/UB-Mannheim/tesseract/wiki
>>
>> I installed it. It works with English. On the last page there is a link 
>> to "download the appropriate training data" for another language at
>> https://github.com/tesseract-ocr/tessdata
>>
>> On this page it says "These language data files only work with Tesseract 
>> 4. Get language data files for Tesseract 3.04 or 3.05 from the 3.04 tree.". 
>> The new link is:
>> https://github.com/tesseract-ocr/tessdata/tree/3.04.00
>>
>> I downloaded from there bul.traineddata and deu.traineddata and copied to
>> . . . \Tesseract-OCR\tessdata
>> . Now tesseract --list-langs shows
>> bul
>> deu
>> eng
>> osd
>>
>> But it works really with English. For Bulgarian and for German the 
>> message is:
>> Failed loading language 'deu'
>> Tesseract couldn't load any languages!
>> Could not initialize tesseract.
>>
>> Any advice - what could be wrong?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/d4c5a5d6-66d5-4b92-bedc-3100477c6512%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/d4c5a5d6-66d5-4b92-bedc-3100477c6512%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/a390381e-995d-487a-8d9a-210829730483%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to