Last post Jan 09, 2014 02:48 AM by mickwen
Dec 10, 2013 03:07 AM|Raja Sajid|LINK
i am new to Asp.net and C# development and i want to create a program that takes image and then read text from the image and show text to user. I want to use tesseract OCR, i have downloaded all the files from tesseract OCR project and tesseractdotnet
Project but none of them is working fine. All have some errors or issues.
i am using Visual Studio 2012 with Dot net Frame work 4.5
Can any body please tell me step by step guide on how can i read text from images in C# Asp.net using Tesseract OCR. Please also share some code example and DLL that you have used. i will appreciate it.
Dec 10, 2013 03:08 AM|XIII|LINK
and welcome to the ASP.NET forums.
Since this is a rather specific control question I would suggest you contact the vendor for help about it. It's their software so I would assume they also provide support for it.
Jan 09, 2014 02:48 AM|mickwen|LINK
Please check following source for Tesseract OCR.
tessnet2.Tesseract ocr = new tessnet2.Tesseract();
ocr.SetVariable("tessedit_char_whitelist", "0123456789"); //Ocr variable
ocr.Init(Application.StartupPath + @"\\tmpe", "eng", true); //Language package
List<tessnet2.Word> result = ocr.DoOCR(bitmap , Rectangle.Empty);//Call Ocr
string code = result.Text;
textBox1.Text = code;