pdf2ocr icon indicating copy to clipboard operation
pdf2ocr copied to clipboard

Windows: Must set Path for TESSDATA_PREFIX

Open kindsouls opened this issue 5 years ago • 0 comments

When I decompress the pre-built windows binaries and run them, I get output on the screen but no text files. I've discovered that this is due to the path setting for TESSDATA_PREFIX.

Initially, TESSDATA_PREFIX is set to TESSDATA_PREFIX=C:\Program Files (x86)\National Archives of Australia\Xena\winx86\

or the like. It needs to be set to the PDF2OCR data, in which the sub-directory "tessdata" exists.

Once I've set the correct Path the windows binaries work great. Thanks!

kindsouls avatar Oct 25 '19 17:10 kindsouls