First of all: your command if wrong. It should be constructed this way: tesseract image output [options]
See tesseract --help for more details. Next: error message is clear: Error opening data file ./tessdata/Fraktur.traineddata You (or your installation) instructed to look for trainneddata in current director (./). Do you have it there? Next tesseract gave you hint how you can fix the problem (" Please make sure the TESSDATA_PREFIX..."). Did you use it? Zdenko 2018-04-10 11:39 GMT+02:00 Firlefanz <firlefanze...@gmail.com>: > I downloaded deu_frak.traineddata Fraktur.traineddata and frk.traineddata > to usr/loca/share/tessdata. But when using > > $ tesseract file.tiff -l Fraktur Fraktur > > I get the error message > > Error opening data file ./tessdata/Fraktur.traineddata > Please make sure the TESSDATA_PREFIX environment variable is set to the > parent directory of your "tessdata" directory. Failed loading language > 'Fraktur' Tesseract couldn't load any languages! Could not initialize > tesseract. > > > -- > 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 tesseract-ocr+unsubscr...@googlegroups.com. > To post to this group, send email to tesseract-ocr@googlegroups.com. > 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/e190c5c4-9099-4077-98a8-bf03802e509d% > 40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/e190c5c4-9099-4077-98a8-bf03802e509d%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 tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. 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/CAJbzG8wvsneanRfCYzxQixu7H9-oFHJ5-L89PVUK%3DKAHqMiJJg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.