function ini crash

28 views
Skip to first unread message

Celine

unread,
Sep 20, 2011, 5:12:52 AM9/20/11
to tesseract-dev
Hi,

I want to use de dll tessnet in my application (vs2008 - Seven - 64
bits).
When i try to init in my code , my application close
Here is my code

String sPath = Application.StartupPath + "\\tessdata";
String sLang = "fra";
tessnet2.Tesseract OCR = new tessnet2.Tesseract()
OCR.Init(sPath, sLang, false);

My folder tessdate contains the 8 files from the lang.

Have you any idea? thank you

Quan Nguyen

unread,
Oct 3, 2011, 9:34:52 PM10/3/11
to tesseract-dev
Make sure tessdata folder that contains fra.* data files is in the
same directory where your .exe is.
Reply all
Reply to author
Forward
0 new messages