static void Main(string[] args) { // Code usage sample Ocr ocr = new Ocr(); using (Bitmap bmp = new Bitmap(@"D:\temp\ocr\b1.bmp")) { tessnet2.Tesseract tessocr = new tessnet2.Tesseract(); tessocr.Init(null, "eng", false); tessocr.GetThresholdedImage(bmp, Rectangle.Empty).Save("c:\\temp\\" + Guid.NewGuid().ToString() + ".bmp"); // Tessdata directory must be in the directory than this exe Console.WriteLine("Multithread version"); ocr.DoOCRMultiThred(bmp, "eng"); Console.WriteLine("Normal version"); ocr.DoOCRNormal(bmp, "eng"); } }