Tesseract "Failed loading language..." on windows cmd -
windows 7, tesseract 3.02
all i'm trying run "tesseract img.jpg img" cmd.exe.
i'm running c:\...\tesseract-ocr directory.
but error:
error opening data file c:\...\tesseract-ocr\tessdata/tessdata/eng.traineddata
please make sure tessdata_prefix environment variable set parent directory of "tessdata" directory.
failed loading language 'eng'
tesseract couldn't load languages!
could not initialize tesseract.
how can fix this?
this problem has been brought many times seems (around web), no answers i've come across have done me good.
i've tried doing "set tessdata_prefix=c:\...\tesseract-ocr" nothing changes.
does have reversal of backslashes|forward slashes in path?
reinstalled.... works fine :b
correct output:
tesseract open source ocr engine v3.02 leptonica
Comments
Post a Comment