Here is the code
string file_path = “C:\a1.jpg”;
OcrEngine ocr_engine = new OcrEngine();
ocr_engine.Image = ImageStream.FromFile(file_path);
if (ocr_engine.Process())
{
Aspose.OCR.IRecognizedText text = ocr_engine.Text;
string temp = text.ToString();
}
-> I am getting result as :
in temp variable its coming like this :
“Screbslye ccrebslye = be~Screbslye { M,X
See Che z<Rest of the text is trimmed due to evaluation restriction!>”
and please see the source image i have attached it.