pdf2ocr
pdf2ocr copied to clipboard
Windows: Must set Path for TESSDATA_PREFIX
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!