Not sure, I'm not a .NET guy, but this can be about Tesseract's poor error handling in case when the required lang file can't be found. When the distro is installed, a bunch of lang files is written and also an env var is created pointing to the lang file dir.
Warm regards, Dmitri Silaev www.CustomOCR.com On Wed, Sep 21, 2011 at 4:11 AM, bo gao <[email protected]> wrote: > Hi, > I found an interesting thing when migrating my tess based dll to other > machines. Basically, I can not run the dll before installation. It reports: > > : System.AccessViolationException > > Stack: > > at <Module>.tesseract.Tesseract.recog_all_words(tesseract.Tesseract*, > PAGE_RES*, ETEXT_DESC*, TBOX*, SByte*, Int32) > > at <Module>.tesseract.TessBaseAPI.Recognize(tesseract.TessBaseAPI*, > ETEXT_DESC*) > > at <Module>.tesseract.TessBaseAPI.ProcessPage(tesseract.TessBaseAPI*, > Pix*, Int32, SByte*, SByte*, Int32, STRING*) > > at <Module>.tesseract.TessBaseAPI.ProcessPages(tesseract.TessBaseAPI*, > SByte*, SByte*, Int32, STRING*) > > But after installation, the world is quiet. > I wonder who can jump out and tell me what does the installation do to > vanish those errors? > Regards, > Bo > > -- > 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

