Skip to main content

Read a document

Read all printed and handwritten text of a PDF, picture or Office file with the prebuilt read model, page by page (Azure AI Document Intelligence).

Command in the Azure AI services toolkit · id ooa.azure_ai/document_read · 5 inputs (1 required), 4 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoazure_aiName of the session opened by Connect.
FileFileYesPDF, picture (JPEG, PNG, BMP, TIFF, HEIF) or Office file; at most 50 MB.
PagesStringNoOnly these pages, e.g. 1-3,5. Leave empty for all.
LocaleStringNoLanguage hint, e.g. en-US or de-DE. Leave empty to detect it.
Timeout (seconds)NumberNo120Fail if the analysis has not finished after this many seconds.

Outputs​

OutputTypeWhat it is
textStringAll text in reading order.
linesTableColumns: page, text.
page_countNumberNumber of pages read.
languagesListLanguages found, e.g. ["en", "de"].