Finding pagenumber of table from DocumentIntelligenceClient

Thibault Verlinde 120 Reputation points
2024-03-18T08:43:48.8266667+00:00

Hiya

I'm currently working a project that analyzes documents into a search index. I'm trying to change from the Form Recognizer nuget to the Document Intelligence nuget packet. When I do, there is a problem selecting the analyzed tables. In the Form Recognizer, you could get the tables on a single page by doing this:

tables.Where(t => t.BoundingRegions[0].PageNumber == pageNumber).ToList();

In the Document Intelligence (version 1.0.0 beta 2), It's impossible to do this, since the BoundingRegions are for some reason 0, even though there are tables on the page analyzed.
Some help/guidance would be appreciated!

Thanks in advance!

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.