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/cognitive-services/form-recognizer/deploy-label-tool.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ manager: nitinme
7
7
ms.service: cognitive-services
8
8
ms.subservice: forms-recognizer
9
9
ms.topic: how-to
10
-
ms.date: 03/20/2020
10
+
ms.date: 04/14/2020
11
11
ms.author: pafarley
12
12
---
13
13
@@ -71,6 +71,7 @@ Follow these steps to create a new resource using the Azure portal:
71
71
* Username (Optional) - Create a username.
72
72
* Password (Optional) - Create a secure password that you'll remember.
73
73
* Image and tag - Set this to `mcr.microsoft.com/azure-cognitive-services/custom-form/labeltool:latest`
74
+
* Continuous Deployment - Set this to **On** if you want to receive automatic updates when the development team makes changes to the sample labeling tool.
74
75
* Startup command - Set this to `./run.sh eula=accept`
Copy file name to clipboardExpand all lines: articles/cognitive-services/form-recognizer/quickstarts/label-tool.md
+24-9Lines changed: 24 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: forms-recognizer
10
10
ms.topic: quickstart
11
-
ms.date: 02/19/2020
11
+
ms.date: 04/14/2020
12
12
ms.author: pafarley
13
13
---
14
14
@@ -100,7 +100,7 @@ Fill in the fields with the following values:
100
100
In the sample labeling tool, projects store your configurations and settings. Create a new project and fill in the fields with the following values:
101
101
102
102
* **Display Name** - the project display name
103
-
* **Security Token** - Some project settings can include sensitive values, such as API keys or other shared secrets. Each project will generate a security token that can be used to encrypt/decrypt sensitive project settings. You can find security tokens in the Application Settings by clicking the gear icon in the lower corner of the left navigation bar.
103
+
* **Security Token** - Some project settings can include sensitive values, such as API keys or other shared secrets. Each project will generate a security token that can be used to encrypt/decrypt sensitive project settings. You can find security tokens in the Application Settings by clicking the gear icon at the bottom of the left navigation bar.
104
104
* **Source Connection** - The Azure Blob Storage connection you created in the previous step that you would like to use for this project.
105
105
* **Folder Path** - Optional - If your source forms are located in a folder on the blob container, specify the folder name here
106
106
* **Form Recognizer Service Uri** - Your Form Recognizer endpoint URL.
@@ -126,9 +126,9 @@ Click **Run OCR on all files** on the left pane to get the text layout informati
126
126
Next, you'll create tags (labels) and apply them to the text elements that you want the model to recognize.
127
127
128
128
1. First, use the tags editor pane to create the tags you'd like to identify.
129
-
1. Click **+** to create a new tag.
130
-
1. Enter the tag name.
131
-
1. Press Enter to save the tag.
129
+
1. Click **+** to create a new tag.
130
+
1. Enter the tag name.
131
+
1. Press Enter to save the tag.
132
132
1. In the main editor, click and drag to select one or multiple words from the highlighted text elements.
133
133
1. Click on the tag you want to apply, or press the corresponding keyboard key. The number keys are assigned as hotkeys for the first 10 tags. You can reorder your tags using the up and down arrow icons in the tag editor pane.
134
134
> [!Tip]
@@ -140,15 +140,30 @@ Next, you'll create tags (labels) and apply them to the text elements that you w
140
140
> * Don't include keys in your tagged fields—only the values.
141
141
> * Table data should be detected automatically and will be available in the final output JSON file. However, if the model fails to detect all of your table data, you can manually tag these fields as well. Tag each cell in the table with a different label. If your forms have tables with varying numbers of rows, make sure you tag at least one form with the largest possible table.
142
142
143
+

143
144
144
-
Follow the above steps to label five of your forms, and then move on to the next step.
145
+
Follow the steps above to label at least five of your forms.
145
146
146
-

147
+
### Specify tag value types
147
148
149
+
Optionally, you can set the expected data type for each tag. Open the context menu to the right of a tag and select a type from the menu. This feature allows the detection algorithm to make certain assumptions that will improve the text-detection accuracy. It also ensures that the detected values will be returned in a standardized format in the final JSON output.
150
+
151
+
> [!div class="mx-imgBorder"]
152
+
> 
153
+
154
+
The following value types and variations are currently supported:
155
+
* `string`
156
+
* default, `no-whitespaces`, `alphanumeric`
157
+
* `number`
158
+
* default, `currency`
159
+
* `date`
160
+
* default, `dmy`, `mdy`, `ymd`
161
+
* `time`
162
+
* `integer`
148
163
149
164
## Train a custom model
150
165
151
-
Click the Train icon (the train car) on the left pane to open the Training page. Then click the **Train** button to begin training the model. Once the training process completes, you'll see the following information:
166
+
Click the Train icon on the left pane to open the Training page. Then click the **Train** button to begin training the model. Once the training process completes, you'll see the following information:
152
167
153
168
* **Model ID** - The ID of the model that was created and trained. Each training call creates a new model with its own ID. Copy this string to a secure location; you'll need it if you want to do prediction calls through the REST API.
154
169
* **Average Accuracy** - The model's average accuracy. You can improve model accuracy by labeling additional forms and training again to create a new model. We recommend starting by labeling five forms and adding more forms as needed.
@@ -163,7 +178,7 @@ After training finishes, examine the **Average Accuracy** value. If it's low, yo
163
178
164
179
## Analyze a form
165
180
166
-
Click on the Predict (rectangles) icon on the left to test your model. Upload a form document that you haven't used in the training process. Then click the **Predict** button on the right to get key/value predictions for the form. The tool will apply tags in bounding boxes and will report the confidence of each tag.
181
+
Click on the Predict (light bulb) icon on the left to test your model. Upload a form document that you haven't used in the training process. Then click the **Predict** button on the right to get key/value predictions for the form. The tool will apply tags in bounding boxes and will report the confidence of each tag.
167
182
168
183
> [!TIP]
169
184
> You can also run the Analyze API with a REST call. To learn how to do this, see [Train with labels using Python](./python-labeled-data.md).
0 commit comments