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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -