I am using Cloud OCR SDK in my java app. As you can see from the attached image, the last part of every line is the price, and which is not detected by SDK. With some other images (if necessary I'll upload), such lines are detected as a new line!
I am using the processImage method. I prefer help in terms of java code if possible.
This is the result I got while the following attached image processed. Here you can easily note that the last number in each row is missing in the result. So please help me to find out the issue.
If the text order or extra line breaks in the result will not suitable for your task, it could be necessary perform export to XML (set exportFormat=xml). In this format words are saved with its coordinates, and you can process it on your side.
These recommendations on receipt recognition can also be found in Cloud OCR SDK FAQ.