Go to My Computer -> right click -> Properties -> Advanced tab -> Environment Variables -> search for the TESSDATA_PREFIX variable and change it to your taste
Warm regards, Dmitri Silaev www.CustomOCR.com On Tue, Aug 30, 2011 at 12:11 PM, Sandeep Parmar <[email protected]> wrote: > Thanks Dmitri for your reply. If suppose I want to put my 'eng.traineddata' > in 'D:\' and I want to run tesseract. Where should I change the path for > "TESSDATA_PREFIX" to read the eng.traineddata from D drive? > > On Tue, Aug 30, 2011 at 11:15 AM, Dmitri Silaev <[email protected]> > wrote: >> >> Given that you run Tesseract when the current directory is "C:\DIR\", >> language files are searched in the following order: >> - "tessdata" subdirectory in "C:\DIR\" >> - "tessdata" subdirectory in the directory indicated by the >> "TESSDATA_PREFIX" environment variable. By default it points to >> "C:\Program Files\Tesseract-OCR\" >> >> Warm regards, >> Dmitri Silaev >> www.CustomOCR.com >> >> >> >> >> >> On Tue, Aug 30, 2011 at 8:31 AM, Sandeep Parmar >> <[email protected]> wrote: >> > Dear all, >> > Can anybody tell why eng.traineddata file is to be placed in >> > "C:\Program >> > Files\Tesseract-OCR\tessdata\" folder only. >> > I want to change the location of eng.traineddata file. How can I do >> > that? >> > Regards >> > Sandeep >> > >> > -- >> > 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 >> > >> >> -- >> 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 > > -- > 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 > -- 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

