Azure Document Intelligence File Requirements
Understand Azure Document
Intelligence File Input Requirements
Azure Document
Intelligence works on input documents that meet these requirements:
- Format must be JPG, PNG, BMP, PDF (text or scanned), or TIFF.
- The file size must be less than 500 MB for paid (S0) tier and 4 MB for free (F0) tier.
- Image dimensions must be between 50 x 50 pixels and 10000 x 10000 pixels.
- The total size of the training data set must be 500 pages or less.
Decide What Component of
Azure Document Intelligence To Use
After you have collected
your files, decide what you need to accomplish-
- To use OCR capabilities to capture document analysis, use the or Layout model, Read model, General Document model.
- Use a prebuilt model to develop an application that gathers data from W-2s, invoices, receipts, ID documents, health insurance, vaccinations, and business cards. It is not necessary to train these models. After analyzing the documents, Azure Document Intelligence services produce a JSON result.
- Make a custom model in order to develop an application that will extract data from your industry-specific forms. Sample documents must be used to train this model. The custom model can examine fresh documents after training and produce a JSON output.
Train Custom Models
Supervised machine
learning is supported by Azure's Azure Document Intelligence service. Form
documents and JSON documents with labeled fields can be used to train custom
models and build composite models.
To train a custom model:
- Store sample forms in an Azure blob container, along with JSON files containing layout and label field information.
- You can generate an ocr.json file for each sample form using the Azure Document Intelligence's Analyze document function.
- Additionally, you need a single fields.json file describing the fields you want to extract, and a labels.json file for each sample form **mapping the fields to their location in that form.
- Generate a shared access security (SAS) URL for the container.
- Use the Build model REST API function (or equivalent SDK method).
- Use the Get model REST API function (or equivalent SDK method) to get the trained model ID.
OR
- Use the Azure Document Intelligence Studio to label and train. There are two types of underlying models for custom forms custom template models or custom neural models-
- Custom template models- Labeled
key-value pairs, selection marks, tables, regions, and signatures are all
precisely extracted from documents by custom template models. More than 100
languages are available, and training just takes a few minutes.
- Custom neural models- They
are deep learning models that accurately extract labeled fields from documents
by combining layout and linguistic factors. Semi-structured or unstructured
documents work well with this strategy.
Conclusion:
We have successfully
learnt about Azure Document Intelligence file input requirements.

Comments
Post a Comment