Thank you for your inquiry.
We have evaluated the attached images on our end. We have used the latest version Aspose.OCR for Java 2.8.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.
For your query regarding step by step code. Please, note that following are the simple steps involved while performing OCR operation:
- Initialize an instance of OcrEngine
- Set the Image property by loading the image from file path location
- Process the image
- Use the recognized text
Hope the above information helps. In case of any issues, need further clearance please be sure to let us know, we will be glad to assist you.