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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | azure_ai | Name of the session opened by Connect. |
| File | File | Yes | PDF, picture (JPEG, PNG, BMP, TIFF, HEIF) or Office file; at most 50 MB. | |
| Pages | String | No | Only these pages, e.g. 1-3,5. Leave empty for all. | |
| Locale | String | No | Language hint, e.g. en-US or de-DE. Leave empty to detect it. | |
| Timeout (seconds) | Number | No | 120 | Fail if the analysis has not finished after this many seconds. |
Outputs
| Output | Type | What it is |
|---|---|---|
| text | String | All text in reading order. |
| lines | Table | Columns: page, text. |
| page_count | Number | Number of pages read. |
| languages | List | Languages found, e.g. ["en", "de"]. |