question

absolutealgorithm avatar image
1 Vote"
absolutealgorithm asked ramr-msft edited

Congnitive Service - Computer Vision - Read

Hello, I am using this API to read content from PDF

My Request Parameters -

 {
  "language": "en",
  "readingOrder": "basic",
  "pages": "1-2",
  "model-version": "latest"
 }

and I get my response as -

 {
   "status": "running",
   "createdDateTime": "2021-10-01T05:13:01Z",
   "lastUpdatedDateTime": "2021-10-01T05:13:02Z"
 }


why is my status still running and why am i not able to read the analyzed json data from the pdf? If i upload an image i get a proper response.



azure-cognitive-servicesazure-computer-vision
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

anonymous userrasad-0549 Thanks for the question. Can you please share the PDF that you are trying to check on the same.

0 Votes 0 ·

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered ramr-msft edited

anonymous userrasad-0549 Thanks for the details. We are able to execute the The Read API and get the Operation Id and used the Get Read Result operation to fetch the detected text lines and words as part of the JSON response. Please find the snapshot for the same.

138356-image.png

There is a brand new online portal provided by Microsoft https://preview.vision.azure.com/demo/OCR

The advantage is that it will directly list your available resources so you just have to pick the right one, then you test, and there are also some samples.

138433-image.png



image.png (42.6 KiB)
image.png (117.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.