On Thu, Jul 28, 2011 at 11:17 AM, 73r0 <[email protected]> wrote:
> Hi, > > I downloaded the last revision of Tesseract (r596) form SVN. Then I > build with vs2010 whitout any issues to get the tesseract.exe file. I > added the path of tesseract.exe in the PATH environnement variable so > i can call tesseract in a shell without being in his directory. I also > added the tessdata folder where tesseract.exe is located. tessdata > contains the fra.traineddata file I got from SVN. > I use this command in a shell : "tesseract myPicture.tiff output.txt - > l fra" > But I get this error : "Error opening data file ./tessdata/ > fra.traineddata". > > it is clear: tesseract.exe expect tessdata folder in current directory (./) because you did not setup environment variable TESSDATA_PREFIX. > I test with the eng.traineddata too but same error. I noticed the is > the same error when the file is not found, but in this case the files > are in the right place. > > -- > 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

