On 23 September 2010 22:35, Bikash Bag <[email protected]> wrote: > > when I tried tesseract by "tesseract image.tif output.txt -l eng", > it is showing the following error. > > "Unable to load unicharset file /usr/local/share/tessdata/eng.unicharset" > > I copied all the files present in eng folder(eng.*), still it is showing the > same error. please tell me, how to run tesseract.
Verify that the file has been copied, and that the size is not 0: ls -al /usr/local/share/tessdata/ If the files are not present, you probably tried to copy them without root privileges. On Ubuntu, you can execute a command with root privileges by using the 'sudo' command. On systems without sudo configured, you can use 'su -c'. sudo cp eng/* /usr/local/share/tessdata instead of cp eng/* /usr/local/share/tessdata While I'm answering you, let me explain why I declined your chat request. The tesseract-ocr list is publicly accessible, and publicly searchable. If someone asks a question here, the question, as well as any answers that may result, are afterwards available to anyone who may in future encounter the same problem. Each answer is not just to the person who asks, but to anyone who may encounter the same situation in future. -- <Leftmost> jimregan, that's because deep inside you, you are evil. <Leftmost> Also not-so-deep inside you. -- 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.

