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?
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
> 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 email@example.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/
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.