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

Free Support Forum - aspose.com

Not Extract proper text from jpeg file

0.jpeg (6.2 KB)
And my output is
Hr rrbrr

Code :–>
String imagepath=“D:\\Qualcomm\\pdfaspose\\img\\0.jpeg”;
OcrEngine ocrEngine = new OcrEngine();


		ocrEngine.getConfig().addRecognitionBlock(RecognitionBlock.createTextBlock(182, 218, 160, 66));

		if (ocrEngine.process())


Thanks for contacting support.

We have checked the image file which you have shared and noticed that it was of 96DPI. Please note that in order to use API with better results, the source image should be of minimum 300DPI and font size should be 12pt.

Furthermore, supported fonts by the API include Arial, Times New Roman, Courier New, Verdana, Tahoma and Calibri with regular, bold and italic font styles. Please try your scenario with larger DPI image and in case you still face any issue, feel free to contact us.