Can't extract 'Region' for ID Documents with Prebuilt models using .Net SDK for Forms Recognizer

surya hanuma 21 Reputation points
2022-01-10T12:20:28.963+00:00

We use the Microsoft Azure Cognitive Services Form Recognizer client library to invoke the Form Recognizer resource with our documents. We’re using the prebuilt model(id document) for analyzing the driver’s license. During our testing, we’ve noticed that the ‘Region’ field is not being recognized by the (.NET) Microsoft Azure Cognitive Services Form Recognizer client library.

To double-check our understanding, we took the same document and analyzed it through 2 different channels(.net client library and HTTP call using Postman). We noticed that the actual(raw) response from the Form recognizer service is the same(obviously) but the .net client library was not able to parse/extract the ‘Region’ from the response and was returning NULL.

Tried with packages - Azure.AI.FormRecognizer_3.1.1(LTS) and Azure.AI.FormRecognizer_4.0.0-beta.2 but the results was the same.

Any thoughts on this issue and when this will be fixed in the Microsoft Azure Cognitive Services Form Recognizer client library?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,531 questions
0 comments No comments
{count} votes

Accepted answer
  1. GiftA-MSFT 11,161 Reputation points
    2022-01-10T21:40:00.56+00:00

    Hi, I just check it out. It seems the .NET SDK uses "Location" as the category name instead of "Region". Will share feedback with the product group and circle back asap.

    163732-image.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. surya hanuma 21 Reputation points
    2022-01-11T08:39:18.56+00:00

    Hi @GiftA-MSFT I've posted the same question on Github as well https://github.com/Azure/azure-sdk-for-net/issues/26233. We can work it out on GH and close it here.

    0 comments No comments