Skip to content

Commit 3d6f060

Browse files
committed
uipdate concept-receipt
1 parent b733f5d commit 3d6f060

File tree

3 files changed

+105
-13
lines changed

3 files changed

+105
-13
lines changed

articles/applied-ai-services/form-recognizer/concept-invoice.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Automated invoice processing is the process of extracting key accounts payable f
4141

4242
**Sample invoice processed with [Form Recognizer sample labeling tool](https://fott-2-1.azurewebsites.net/connections)**:
4343

44-
:::image type="content" source="media/invoice-example-new.jpg" alt-text="Screenshot of a processed Contoso invoice."
44+
:::image type="content" source="media/invoice-example-new.jpg" alt-text="Screenshot of a processed Contoso invoice.":::
4545

4646
::: moniker-end
4747

@@ -67,7 +67,7 @@ The following tools are supported by Form Recognizer v2.1:
6767

6868
::: moniker-end
6969

70-
## Try Form Recognizer
70+
## Try invoice data extraction
7171

7272
See how data, including customer information, vendor details, and line items, is extracted from invoices using the Form Recognizer Studio. You'll need the following resources:
7373

@@ -296,4 +296,3 @@ The JSON output has three parts:
296296
* Complete a [Form Recognizer quickstart](quickstarts/get-started-sdks-rest-api.md?view=form-recog-2.1.0&preserve-view=true) and get started creating a document processing app in the development language of your choice.
297297

298298
::: moniker-end
299-

articles/applied-ai-services/form-recognizer/concept-receipt.md

Lines changed: 102 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,33 @@ Receipt digitization is the process of converting scanned receipts into digital
3838

3939
::: moniker-end
4040

41+
:: moniker range="form-recog-2.1.0"
42+
43+
**Sample invoice processed with [Form Recognizer sample labeling tool](https://fott-2-1.azurewebsites.net/connections)**:
44+
45+
:::image type="content" source="media/receipts-example.jpg" alt-text="Screenshot of a processed receipt.":::
46+
4147
## Development options
4248

49+
::: moniker range="form-recog-3.0.0"
4350
The following tools are supported by Form Recognizer v3.0:
4451

4552
| Feature | Resources | Model ID |
4653
|----------|-------------|-----------|
4754
|**Receipt model**| <ul><li>[**Form Recognizer Studio**](https://formrecognizer.appliedai.azure.com)</li><li>[**REST API**](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/AnalyzeDocument)</li><li>[**C# SDK**](quickstarts/get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true)</li><li>[**Python SDK**](quickstarts/get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true)</li></ul>|**prebuilt-receipt**|
4855

56+
::: moniker-end
57+
58+
::: moniker range="form-recog-2.1.0"
59+
4960
The following tools are supported by Form Recognizer v2.1:
5061

5162
| Feature | Resources |
5263
|----------|-------------------------|
5364
|**Receipt model**| <ul><li>[**Form Recognizer labeling tool**](https://fott-2-1.azurewebsites.net/prebuilts-analyze)</li><li>[**REST API**](/azure/applied-ai-services/form-recognizer/how-to-guides/use-sdk-rest-api?view=form-recog-2.1.0&preserve-view=true&tabs=windows&pivots=programming-language-rest-api#analyze-receipts)</li><li>[**Client-library SDK**](/azure/applied-ai-services/form-recognizer/how-to-guides/v2-1-sdk-rest-api)</li><li>[**Form Recognizer Docker container**](containers/form-recognizer-container-install-run.md?tabs=receipt#run-the-container-with-the-docker-compose-up-command)</li></ul>|
5465

66+
::: moniker-end
67+
5568
### Try receipt data extraction
5669

5770
See how data, including time and date of transactions, merchant information, and amount totals, is extracted from receipts using the Form Recognizer Studio. You'll need the following resources:
@@ -62,7 +75,9 @@ See how data, including time and date of transactions, merchant information, and
6275

6376
:::image type="content" source="media/containers/keys-and-endpoint.png" alt-text="Screenshot: keys and endpoint location in the Azure portal.":::
6477

65-
#### Form Recognizer Studio
78+
::: moniker range="form-recog-3.0.0"
79+
80+
#### Form Recognizer Studio
6681

6782
> [!NOTE]
6883
> Form Recognizer studio is available with the v3.0 API.
@@ -78,10 +93,75 @@ See how data, including time and date of transactions, merchant information, and
7893
> [!div class="nextstepaction"]
7994
> [Try Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/studio/prebuilt?formType=receipt)
8095
96+
::: moniker-end
97+
98+
::: moniker range="form-recog-2.1.0"
99+
100+
## Form Recognizer sample labeling tool
101+
102+
1. Navigate to the [Form Recognizer Sample Tool](https://fott-2-1.azurewebsites.net/).
103+
104+
1. On the sample tool home page, select **Use prebuilt model to get data**.
105+
106+
:::image type="content" source="media/label-tool/prebuilt-1.jpg" alt-text="Analyze results of Form Recognizer Layout":::
107+
108+
1. Select the **Form Type** to analyze from the dropdown window.
109+
110+
1. Choose a URL for the file you would like to analyze from the below options:
111+
112+
* [**Sample invoice document**](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/invoice_sample.jpg).
113+
* [**Sample ID document**](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/DriverLicense.png).
114+
* [**Sample receipt image**](https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/contoso-allinone.jpg).
115+
* [**Sample business card image**](https://raw.githubusercontent.com/Azure/azure-sdk-for-python/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_forms/business_cards/business-card-english.jpg).
116+
117+
1. In the **Source** field, select **URL** from the dropdown menu, paste the selected URL, and select the **Fetch** button.
118+
119+
:::image type="content" source="media/label-tool/fott-select-url.png" alt-text="Screenshot of source location dropdown menu.":::
120+
121+
1. In the **Form recognizer service endpoint** field, paste the endpoint that you obtained with your Form Recognizer subscription.
122+
123+
1. In the **key** field, paste the key you obtained from your Form Recognizer resource.
124+
125+
:::image type="content" source="media/fott-select-form-type.png" alt-text="Screenshot: select form type dropdown window.":::
126+
127+
1. Select **Run analysis**. The Form Recognizer Sample Labeling tool will call the Analyze Prebuilt API and analyze the document.
128+
129+
1. View the results - see the key-value pairs extracted, line items, highlighted text extracted and tables detected.
130+
131+
:::image type="content" source="media/invoice-example-new.jpg" alt-text="Analyze Results of Form Recognizer invoice model":::
132+
133+
> [!NOTE]
134+
> The [Sample Labeling tool](https://fott-2-1.azurewebsites.net/) does not support the BMP file format. This is a limitation of the tool not the Form Recognizer Service.
135+
136+
::: moniker-end
137+
81138
## Input requirements
82139

83140
[!INCLUDE [input requirements](./includes/input-requirements.md)]
84141

142+
::: moniker range="form-recog-3.0.0"
143+
144+
## Supported languages and locales v3.0
145+
146+
>[!NOTE]
147+
> It's not necessary to specify a locale. This is an optional parameter. The Form Recognizer deep-learning technology will auto-detect the language of the text in your image.
148+
149+
The receipt model supports all English receipts and the following locales:
150+
151+
|Language| Locale code |
152+
|:-----|:----:|
153+
|English (Australia)|`en-au`|
154+
|English (Canada)|`en-ca`|
155+
|English (United Kingdom)|`en-gb`|
156+
|English (India|`en-in`|
157+
|English (United States)| `en-us`|
158+
|French | 'fr' |
159+
|Spanish | `es` |
160+
161+
::: moniker-end
162+
163+
::: moniker range="form-recog-2.1.0"
164+
85165
## Supported languages and locales v2.1
86166

87167
>[!NOTE]
@@ -91,6 +171,8 @@ See how data, including time and date of transactions, merchant information, and
91171
|--------|:----------------------|:---------|
92172
|Receipt| <ul><li>English (United States)—en-US</li><li> English (Australia)—en-AU</li><li>English (Canada)—en-CA</li><li>English (United Kingdom)—en-GB</li><li>English (India)—en-IN</li></ul> | Autodetected |
93173

174+
::: moniker-end
175+
94176
## Field extraction
95177

96178
|Name| Type | Description | Standardized output |
@@ -111,7 +193,7 @@ See how data, including time and date of transactions, merchant information, and
111193
| Price | Number | Individual price of each item unit| Two-decimal float |
112194
| TotalPrice | Number | Total price of line item | Two-decimal float |
113195

114-
## Form Recognizer v3.0
196+
::: moniker range="form-recog-3.0.0"
115197

116198
Form Recognizer v3.0 introduces several new features and capabilities. The **Receipt** model supports single-page hotel receipt processing.
117199

@@ -141,20 +223,31 @@ See how data, including time and date of transactions, merchant information, and
141223
|--------|:----------------------|:---------|
142224
|Receipt (hotel) | <ul><li>English (United States)—en-US</li></ul>| English (United States)—en-US|
143225

226+
::: moniker-end
227+
228+
::: moniker range="form-recog-2.1.0"
229+
144230
### Migration guide and REST API v3.0
145231

146232
* Follow our [**Form Recognizer v3.0 migration guide**](v3-migration-guide.md) to learn how to use the v3.0 version in your applications and workflows.
147233

148-
* Explore our [**REST API**](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/AnalyzeDocument) to learn more about the v3.0 version and new capabilities.
234+
::: moniker-end
149235

150236
## Next steps
151237

152-
* Complete a Form Recognizer quickstart:
238+
::: moniker range="form-recog-3.0.0"
239+
240+
* [Learn how to process your own forms and documents](quickstarts/try-v3-form-recognizer-studio.md) with the [Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/studio)
153241

154-
> [!div class="nextstepaction"]
155-
> [Form Recognizer quickstart](/azure/applied-ai-services/form-recognizer/how-to-guides/v2-1-sdk-rest-api)
242+
* Complete a [Form Recognizer quickstart](quickstarts/get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true) and get started creating a document processing app in the development language of your choice.
156243

157-
* Explore our REST API:
244+
::: moniker-end
245+
246+
::: moniker range="form-recog-2.1.0"
247+
248+
* [Learn how to process your own forms and documents](quickstarts/try-sample-label-tool.md) with the [Form Recognizer sample labeling tool](https://fott-2-1.azurewebsites.net/)
249+
250+
* Complete a [Form Recognizer quickstart](quickstarts/get-started-sdks-rest-api.md?view=form-recog-2.1.0&preserve-view=true) and get started creating a document processing app in the development language of your choice.
251+
252+
::: moniker-end
158253

159-
> [!div class="nextstepaction"]
160-
> [Form Recognizer API v3.0](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/AnalyzeDocument)

articles/applied-ai-services/form-recognizer/language-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Language| Locale code |
223223
>[!NOTE]
224224
> It's not necessary to specify a locale. This is an optional parameter. The Form Recognizer deep-learning technology will auto-detect the language of the text in your image.
225225
226-
Receipt supports all English receipts with the following locales:
226+
Receipt supports all English receipts and the following locales:
227227

228228
|Language| Locale code |
229229
|:-----|:----:|

0 commit comments

Comments
 (0)