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/applied-ai-services/form-recognizer/quickstarts/try-sample-label-tool.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The Form Recognizer Sample Labeling tool is an open source tool that enables you
31
31
32
32
## Prerequisites
33
33
34
-
You will need the following to get started:
34
+
You'll need the following to get started:
35
35
36
36
* An Azure subscription—you can [create one for free](https://azure.microsoft.com/free/cognitive-services/)
37
37
@@ -57,11 +57,11 @@ Form Recognizer offers several prebuilt models to choose from. Each model has it
57
57
58
58
1. Navigate to the [Form Recognizer Sample Tool](https://fott-2-1.azurewebsites.net/).
59
59
60
-
1. On the sample tool home page select **Use prebuilt model to get data**.
60
+
1. On the sample tool home page, select **Use prebuilt model to get data**.
61
61
62
62
:::image type="content" source="../media/label-tool/prebuilt-1.jpg" alt-text="Analyze results of Form Recognizer Layout":::
63
63
64
-
1. Select the **Form Type**your would like to analyze from the dropdown window.
64
+
1. Select the **Form Type** to analyze from the dropdown window.
65
65
66
66
1. Choose a URL for the file you would like to analyze from the below options:
67
67
@@ -97,7 +97,7 @@ Azure the Form Recognizer Layout API extracts text, tables, selection marks, and
97
97
98
98
1. Navigate to the [Form Recognizer Sample Tool](https://fott-2-1.azurewebsites.net/).
99
99
100
-
1. On the sample tool home page select **Use Layout to get text, tables and selection marks**.
100
+
1. On the sample tool home page, select **Use Layout to get text, tables and selection marks**.
101
101
102
102
:::image type="content" source="../media/label-tool/layout-1.jpg" alt-text="Connection settings for Layout Form Recognizer tool.":::
103
103
@@ -130,7 +130,7 @@ Train a custom model to analyze and extract data from forms and documents specif
130
130
131
131
* Configure CORS
132
132
133
-
[CORS (Cross Origin Resource Sharing)](/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services) needs to be configured on your Azure storage account for it to be accessible from the Form Recognizer Studio. To configure CORS in the Azure portal, you will need access to the CORS blade of your storage account.
133
+
[CORS (Cross Origin Resource Sharing)](/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services) needs to be configured on your Azure storage account for it to be accessible from the Form Recognizer Studio. To configure CORS in the Azure portal, you'll need access to the CORS blade of your storage account.
134
134
135
135
1. Select the CORS blade for the storage account.
136
136
@@ -151,15 +151,15 @@ Train a custom model to analyze and extract data from forms and documents specif
151
151
152
152
1. Set the **Max Age** to 120 seconds or any acceptable value.
153
153
154
-
1.Click the save button at the top of the page to save the changes.
154
+
1.Select the save button at the top of the page to save the changes.
155
155
156
156
CORS should now be configured to use the storage account from Form Recognizer Studio.
157
157
158
158
### Use the Sample Labeling tool
159
159
160
160
1. Navigate to the [Form Recognizer Sample Tool](https://fott-2-1.azurewebsites.net/).
161
161
162
-
1. On the sample tool home page select **Use custom form to train a model with labels and get key-value pairs**.
162
+
1. On the sample tool home page, select **Use custom form to train a model with labels and get key-value pairs**.
163
163
164
164
:::image type="content" source="../media/label-tool/custom-1.jpg" alt-text="Train a custom model.":::
165
165
@@ -185,7 +185,7 @@ Configure the **Project Settings** fields with the following values:
185
185
> ***Description**. Add a brief description.
186
186
> ***SAS URL**. Paste the shared access signature (SAS) URL for your Azure Blob Storage container.
187
187
188
-
* To retrieve the SAS URL for your custom model training data, go to your storage resource in the Azure portal and select the **Storage Explorer** tab. Navigate to your container, right-click, and select **Get shared access signature**. It's important to get the SAS for your container, not for the storage account itself. Make sure the **Read**, **Write**, **Delete** and **List** permissions are checked, and click**Create**. Then copy the value in the **URL** section to a temporary location. It should have the form: `https://<storage account>.blob.core.windows.net/<container name>?<SAS value>`.
188
+
* To retrieve the SAS URL for your custom model training data, go to your storage resource in the Azure portal and select the **Storage Explorer** tab. Navigate to your container, right-click, and select **Get shared access signature**. It's important to get the SAS for your container, not for the storage account itself. Make sure the **Read**, **Write**, **Delete** and **List** permissions are checked, and select**Create**. Then copy the value in the **URL** section to a temporary location. It should have the form: `https://<storage account>.blob.core.windows.net/<container name>?<SAS value>`.
@@ -215,13 +215,13 @@ When you create or open a project, the main tag editor window opens. The tag edi
215
215
216
216
Select **Run OCR on all files** on the left pane to get the text and table layout information for each document. The labeling tool will draw bounding boxes around each text element.
217
217
218
-
The labeling tool will also show which tables have been automatically extracted. Select the table/grid icon on the left hand of the document to see the extracted table. Because the table content is automatically extracted, we will not be labeling the table content, but rather rely on the automated extraction.
218
+
The labeling tool will also show which tables have been automatically extracted. Select the table/grid icon on the left hand of the document to see the extracted table. Because the table content is automatically extracted, we won't label the table content, but rather rely on the automated extraction.
219
219
220
220
:::image type="content" source="../media/label-tool/table-extraction.png" alt-text="Table visualization in Sample Labeling tool.":::
221
221
222
222
##### Apply labels to text
223
223
224
-
Next, you will create tags (labels) and apply them to the text elements that you want the model to analyze. Note the sample label data set includes already labeled fields; we will add another field.
224
+
Next, you'll create tags (labels) and apply them to the text elements that you want the model to analyze. Note the sample label data set includes already labeled fields; we'll add another field.
225
225
226
226
Use the tags editor pane to create a new tag you'd like to identify:
1. Set the **Allowed origins** to **<https://formrecognizer.appliedai.azure.com>**.
82
82
83
-
:::image type="content" source="../media/quickstarts/storage-cors-example.png" alt-text="Screenshot that shows CORS configuration for a storage account.":::
83
+
:::image type="content" source="../media/quickstarts/cors-updated-image.png" alt-text="Screenshot that shows CORS configuration for a storage account.":::
84
84
85
85
> [!TIP]
86
86
> You can use the wildcard character '*' rather than a specified domain to allow all origin domains to make requests via CORS.
0 commit comments