We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using OCR dll in test application and the text aren't matching

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.


Many thanks for your inquiry.

1. You are getting “evaluation restriction” message. You have to set the license in your code before accessing any functionality.

2. We have evaluated the attached image at our end. We have used the latest version of Aspose.OCR for .Net 3.0.0. While testing it was found that the image provided by you has very low DPI value i.e. 96. Please note that the current implementation of the Aspose.OCR APIs work well with images having resolution of at least 300 DPI and the accuracy rate tends to decrease by decreasing the resolution. Your provided image has resolution of 96 DPI therefore it will not be possible to get 100% accuracy.

Hope the above information helps. Feel free to contact us in case you have further comments or queries.