You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/document-intelligence/prebuilt/layout.md
+21-13Lines changed: 21 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,20 +109,19 @@ See how data, including text, tables, table headers, selection marks, and struct
109
109
110
110
## Data extraction
111
111
112
-
The layout model extracts text, selection marks, tables, paragraphs, and paragraph types (`roles`) from your documents. To follow are descriptions of page layout structural elements with guidance on how to extract them:
112
+
The layout model extracts structural elements from your documents. To follow are descriptions of these structural elements with guidance on how to extract them from your document input:
113
113
114
114
*[**Pages**](#pages)
115
115
*[**Paragraphs**](#paragraphs)
116
116
*[**Text, lines, and words**](#text-lines-and-words)
The pages collection is a list of pages within the document. Each page is represented sequentially within the document and ../includes the orientation angle indicating if the page is rotated and the width and height (dimensions in pixels). The page units in the model output are computed as shown:
124
+
The pages collection is a list of pages within the document. Each page is represented sequentially within the document and includes the orientation angle indicating if the page is rotated and the width and height (dimensions in pixels). The page units in the model output are computed as shown:
The response ../includes classifying whether each text line is of handwriting style or not, along with a confidence score. For more information. See [Handwritten language support](../language-support/ocr.md). The following example shows an example JSON snippet.
273
272
@@ -394,7 +393,7 @@ if result.tables:
394
393
395
394
---
396
395
397
-
### Output to markdown format
396
+
####Output table response to markdown format
398
397
399
398
The Layout API can output the extracted text in markdown format. Use the `outputContentFormat=markdown` to specify the output format in markdown. The markdown content is output as part of the `content` section.
400
399
@@ -665,25 +664,34 @@ See how data, including text, tables, table headers, selection marks, and struct
665
664
> [!NOTE]
666
665
> Document Intelligence Studio is available with v3.0 APIs and later versions.
667
666
668
-
***Sample document processed with [Document Intelligence Studio](https://formrecognizer.appliedai.azure.com/studio/layout)***
667
+
### [REST API](#tab/rest)
669
668
670
-
:::image type="content" source="../media/studio/form-recognizer-studio-layout-newspaper.png" alt-text="Screenshot of `Layout` processing a newspaper page in Document Intelligence Studio.":::
671
669
672
-
1. On the [Document Intelligence Studio home page](https://documentintelligence.ai.azure.com/studio), select **Layout**.
670
+
* [2023-07-31 GA (v3.1)](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP)
671
+
* [2022-08-31 GA (v3.0)](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-v3.0%20(2022-08-31)&preserve-view=true&tabs=HTTP)
673
672
674
-
1. You can analyze the sample document or upload your own files.
673
+
# [Client libraries](#tab/sdks)
675
674
676
-
1. Select the **Run analysis** button and, if necessary, configure the **Analyze options**:
:::image type="content" source="../media/studio/run-analysis-analyze-options.png" alt-text="Screenshot of Run analysis and Analyze options buttons in the Document Intelligence Studio.":::
0 commit comments