var image = new Bitmap(@"C:\OCRTest\number.jpg"); ocr.SetVariable("tessedit_char_whitelist"C:\OCRTest\tessdata" contains the language package, without this the method crash and app breaks
ocr.Init(@"C:\OCRTest\
嗨,在我的视觉studio2012我正在使用tessnet2库的光学字符识别,但无法编译的代码。我已经看到了,并且已经做好了所有的设置。我还将tessdata文件夹放在了我的.exe目录中。(@"c:\temp", "fra", false); // To use correct tessdataforeach (tessne