Have you tried setting the environment variable TESSDATA_PREFIX?

On May 20, 1:47 pm, Daniel <[email protected]> wrote:
> I'm attempting to integrate Tesseract 3 with another stand-alone app,
> but I'm running into a problem: Tesseract always looks for the
> language files in "\Program Files (x86)\Tesseract-OCR\tessdata"; I
> need to store the language files in a different location (a subfolder
> of my app's installation folder.)
>
> I'm assuming Tesseract is getting this folder from the registry, so I
> could just change the installation path listed, but (a) I don't want
> to break user's possible other installations, and (b) I tried that and
> it (inexplicably) didn't work.
>
> Is there a way to specify the hard path from the command line, or do I
> have to modify the code?

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to