Azure Form Recognizer to not read certain pages from PDF

E-R 0 Reputation points
2024-08-09T07:53:16.35+00:00

Correct me if I'm wrong but if you give PDF to parse for Azure Form Recognizer then it will try to parse all the pages and parse the information it has been trained to parse. And the price is determined on how many pages the model will read through.

So this means that even if the PDF has only 1 out of 8 pages that has the information it has been trained to parse it will still read the other pages. And there for the costs will be for 8 and not 1 pages. Is this correct?

If so is there any way to configure the model to only read pages that have something to parse?

I am building a Power Automate flow that uses Analyze Document for Prebuilt or Custom models (v3.x API) -connector. That has Pages parameter where I could set up certain amount of pages. But since I don't always know what pages are relevant I can really use that. User's image

Azure AI Document Intelligence
{count} votes

1 answer

Sort by: Most helpful
  1. dupammi 8,615 Reputation points Microsoft External Staff
    2024-08-13T02:39:55.57+00:00

    Hi @E-R

    Thank you for your follow-up and for confirming your understanding. You're correct that currently, Azure Form Recognizer doesn't offer a built-in configuration to automatically skip or stop processing pages based on the content found during parsing. The "Pages" parameter requires pre-specifying which pages to analyze, so it can't dynamically adjust based on the content of the pages.

    I appreciate your suggestion about starting from a specific page or stopping after finding an irrelevant page—this could be a valuable feature for optimizing costs and efficiency. I encourage you to submit a feature request through the Azure Feedback Forum. Here's the link to the Azure Feedback Forum: Post idea · Community (azure.com).

    Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.


Your answer

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