How to read row wise data using java?

Arkadeep Das 1 Reputation point
2022-09-26T05:51:51.4+00:00

Computer vision is reading data column wise not row wise.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
221 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,296 Reputation points Microsoft Employee
    2022-09-26T08:54:27.923+00:00

    @Arkadeep Das Which API of computer vision are you using? I could see using the computer vision READ API, the result provides the output in response in natural reading order i.e left to right. For example, for this image with a table in it. The response is as below.

    244752-image.png

    As you can observe, the result JSON shows the values from left to right for the first row in the table. This is the case with any text in the image including written or printed text.

    To use the REST API with java you would need to call the API with the same headers and parse the JSON. This sample should work with any CV READ REST API as it POSTs the request and if successful uses the operation location to get the JSON result. You might want to use the latest version of the API i.e v3.2 instead of v3.1 though. I hope this helps!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments