Hello Dheerendra,
Here is a small snippet based on ASPOSE OCR SDK.
OcrEngine ocr = new OcrEngine();
ocr.Image = ImageStream.FromFile("YOUR IMAGE PATH");
ocr.Languages.AddLanguage(Language.Load("english"));
ocr.Config.NeedRotationCorrection = chkRotation.Checked;
ocr.Config.UseDefaultDictionaries = true;
using (ocr.Resource = new FileStream(resourceFileName, FileMode.Open)) {
if (ocr.Process()) {
strText = ocr.Text.ToString();
}
}
A more complete sample can be found on ASPOSE web site[
^]. There is a freeware wrapper[
^] available for Tesseract[
^] OCR Library as well. Another alternative is to use MODI which is part of Microsoft Office.
Regards,