none
Computer Vision API for OCR RRS feed

  • Question

  • Hello,

    I am using Computer vision API OCR feature to parse image document and to generate text data in JAVA. Computer Vision API is giving results in JSON format but we are unable to parse it as we have a data dynamic image with multiple number of rows. Is there any option, how to get text response from the API so we can work on pattern basis. Please provide any example if you have any.

    Thanks.

    Thursday, February 8, 2018 3:32 AM

All replies

  • Hi Abizar,

    The Developing Universal Windows apps forum is for developers to discuss writing UWP apps to run on Windows. 

    Looking at the Computer Vision API page at https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/ it looks like the best place to ask development questions about that API is on Stackoverflow or by opening a support case on your Azure Developer Support Plan. 

    That said, from a quick look at the example JSON on https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/ you should be able to iterate through the JSON to collate the "text" fields in the recognitionResult.

    --Rob

    Thursday, February 8, 2018 4:27 AM
  • Hi Rob,

    I have tried this option but I am not getting the exact output for same type of document, text coordinates is different for same type of format with different data.

    Thanks.

    Thursday, February 8, 2018 9:04 AM