How to process only the page or two of a form when the input file has many more irrelevant pages.

Rob Blackin 0 Reputation points

We have a form with 10 pages but the part that actually has the form is one or 2 pages. However, when we analyze using the model id we get charged for 10 pages.

Is there a way that we can just get charged for the 2 pages where the form was trained?

Only way i can think to do it is

  • Run OCR on it and identify the start and end of the form and split the document or pass in page numbers (still get charged 10 pages of ocr)

Is there any other way?

Azure Document Intelligence
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 6,851 Reputation points

    Hello @Rob Blackin , Thanks for using Microsoft Q&A Platform.

    As we know the Document Intelligence is billed by number of pages analyzed, and when a document is submitted for analysis, in general all pages are analyzed unless we set a page range in the "pages" parameter in the request:

    In your case, you can set the page range to these 2 pages and get charged for those pages that are analyzed, this should work. This is the best possible way otherwise you can directly upload the documents in chunks that are required. I have reproduced and this page range filter worked for me.

    User's image

    Please try this and let us know if you still have issues.

    If you have billing issues, please raise a support ticket here:

    I hope this helps.


    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.