Skip to content

Commit d765694

Browse files
Merge pull request #224138 from laujan/patch-190
Update form-recognizer-container-install-run.md
2 parents 44c60ce + dd31e63 commit d765694

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 11/14/2022
1111
ms.author: lajanuar
1212
recommendations: false
1313
---
14-
<!-- markdownlint-disable MD033 -->
14+
<!-- markdownlint-disable MD033 -->
1515

1616
# Azure Form Recognizer receipt model
1717

articles/applied-ai-services/form-recognizer/containers/form-recognizer-container-install-run.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The following host machine requirements are applicable to **train and analyze**
116116
117117
### [Layout](#tab/layout)
118118
119-
Below is a self-contained `docker compose` example to run the Form Recognizer Layout container. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {{FORM_RECOGNIZER_KEY} values for your Layout container instance.
119+
The following code sample is a self-contained `docker compose` example to run the Form Recognizer Layout container. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {{FORM_RECOGNIZER_KEY} values for your Layout container instance.
120120
121121
```yml
122122
version: "3.9"
@@ -146,7 +146,7 @@ docker-compose up
146146

147147
### [Business Card](#tab/business-card)
148148

149-
Below is a self-contained `docker compose` example to run Form Recognizer Business Card and Read containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your Business Card container instance. Enter {COMPUTER_VISION_ENDPOINT_URI} and {COMPUTER_VISION_KEY} for your Computer Vision Read container.
149+
The following code sample is a self-contained `docker compose` example to run Form Recognizer Business Card and Read containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your Business Card container instance. Enter {COMPUTER_VISION_ENDPOINT_URI} and {COMPUTER_VISION_KEY} for your Computer Vision Read container.
150150

151151
```yml
152152
version: "3.9"
@@ -186,7 +186,7 @@ docker-compose up
186186

187187
### [ID Document](#tab/id-document)
188188

189-
Below is a self-contained `docker compose` example to run Form Recognizer ID Document and Read containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your ID document container. Enter {COMPUTER_VISION_ENDPOINT_URI} and {COMPUTER_VISION_KEY} values for your Computer Vision Read container.
189+
The following code sample is a self-contained `docker compose` example to run Form Recognizer ID Document and Read containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your ID document container. Enter {COMPUTER_VISION_ENDPOINT_URI} and {COMPUTER_VISION_KEY} values for your Computer Vision Read container.
190190

191191
```yml
192192
version: "3.9"
@@ -226,7 +226,7 @@ docker-compose up
226226

227227
### [Invoice](#tab/invoice)
228228

229-
Below is a self-contained `docker compose` example to run Form Recognizer Invoice and Layout containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your Invoice and Layout containers.
229+
The following code sample is a self-contained `docker compose` example to run Form Recognizer Invoice and Layout containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your Invoice and Layout containers.
230230

231231
```yml
232232
version: "3.9"
@@ -265,8 +265,7 @@ docker-compose up
265265
```
266266

267267
### [Receipt](#tab/receipt)
268-
269-
Below is a self-contained `docker compose` example to run Form Recognizer Receipt and Read containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your Receipt container. Enter {COMPUTER_VISION_ENDPOINT_URI} and {COMPUTER_VISION_KEY} values for your Computer Vision Read container.
268+
The following code sample is a self-contained `docker compose` example to run Form Recognizer Receipt and Read containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration. Enter {FORM_RECOGNIZER_ENDPOINT_URI} and {FORM_RECOGNIZER_KEY} values for your Receipt container. Enter {COMPUTER_VISION_ENDPOINT_URI} and {COMPUTER_VISION_KEY} values for your Computer Vision Read container.
270269

271270
```yml
272271
version: "3.9"
@@ -306,7 +305,7 @@ docker-compose up
306305

307306
### [Custom](#tab/custom)
308307

309-
In addition to the [prerequisites](#prerequisites) mentioned above, you'll need to do the following to process a custom document:
308+
In addition to the [prerequisites](#prerequisites), you'll need to do the following to process a custom document:
310309

311310
#### &bullet; Create a folder to store the following files:
312311

@@ -318,13 +317,13 @@ In addition to the [prerequisites](#prerequisites) mentioned above, you'll need
318317

319318
1. Name this folder **shared**.
320319
1. We'll reference the file path for this folder as **{SHARED_MOUNT_PATH}**.
321-
1. Copy the file path in a convenient location, such as *Microsoft Notepad*. You'll need to add it to your **.env** file, below.
320+
1. Copy the file path in a convenient location, such as *Microsoft Notepad*. You'll need to add it to your **.env** file.
322321

323322
#### &bullet; Create a folder to store the logs written by the Form Recognizer service on your local machine.
324323

325324
1. Name this folder **output**.
326325
1. We'll reference the file path for this folder as **{OUTPUT_MOUNT_PATH}**.
327-
1. Copy the file path in a convenient location, such as *Microsoft Notepad*. You'll need to add it to your **.env** file, below.
326+
1. Copy the file path in a convenient location, such as *Microsoft Notepad*. You'll need to add it to your **.env** file.
328327

329328
#### &bullet; Create an environment file
330329

@@ -407,7 +406,7 @@ http {
407406
}
408407
```
409408

410-
* Gather a set of at least six forms of the same type. You'll use this data to train the model and test a form. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) (download and extract *sample_data.zip*). Download the training files to the **shared** folder you created above.
409+
* Gather a set of at least six forms of the same type. You'll use this data to train the model and test a form. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) (download and extract *sample_data.zip*). Download the training files to the **shared** folder you created.
411410

412411
* If you want to label your data, download the [Form Recognizer Sample Labeling tool for Windows](https://github.com/microsoft/OCR-Form-Tools/releases). The download will import the labeling tool .exe file that you'll use to label the data present on your local file system. You can ignore any warnings that occur during the download process.
413412

@@ -426,7 +425,7 @@ http {
426425

427426
1. Name this file **docker-compose.yml**
428427

429-
2. Below is a self-contained `docker compose` example to run Form Recognizer Layout, Label Tool, Custom API, and Custom Supervised containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration.
428+
2. The following code sample is a self-contained `docker compose` example to run Form Recognizer Layout, Label Tool, Custom API, and Custom Supervised containers together. With `docker compose`, you use a YAML file to configure your application's services. Then, with `docker-compose up` command, you create and start all the services from your configuration.
430429

431430
```yml
432431
version: '3.3'
@@ -545,13 +544,17 @@ $docker-compose up
545544

546545
---
547546

547+
## The Sample Labeling tool and Azure Container Instances (ACI)
548+
549+
To learn how to use the Sample Labeling tool with an Azure Container Instance, *see*, [Deploy the Sample Labeling tool](../deploy-label-tool.md#deploy-with-azure-container-instances-aci).
550+
548551
## Validate that the service is running
549552

550553
There are several ways to validate that the container is running:
551554

552555
* The container provides a homepage at `\` as a visual validation that the container is running.
553556

554-
* You can open your favorite web browser and navigate to the external IP address and exposed port of the container in question. Use the various request URLs below to validate the container is running. The example request URLs listed below are `http://localhost:5000`, but your specific container may vary. Keep in mind that you're navigating to your container's **External IP address** and exposed port.
557+
* You can open your favorite web browser and navigate to the external IP address and exposed port of the container in question. Use the listed request URLs to validate the container is running. The listed example request URLs are `http://localhost:5000`, but your specific container may vary. Keep in mind that you're navigating to your container's **External IP address** and exposed port.
555558

556559
Request URL | Purpose
557560
----------- | --------
@@ -577,7 +580,7 @@ The Form Recognizer containers send billing information to Azure by using a Form
577580

578581
Queries to the container are billed at the pricing tier of the Azure resource that's used for the `Key`. You'll be billed for each container instance used to process your documents and images. Thus, If you use the business card feature, you'll be billed for the Form Recognizer `BusinessCard` and `Computer Vision Read` container instances. For the invoice feature, you'll be billed for the Form Recognizer `Invoice` and `Layout` container instances. *See*, [Form Recognizer](https://azure.microsoft.com/pricing/details/form-recognizer/) and Computer Vision [Read feature](https://azure.microsoft.com/pricing/details/cognitive-services/computer-vision/) container pricing.
579582

580-
Azure Cognitive Services containers aren't licensed to run without being connected to the metering / billing endpoint. Containers must be enabled to communicate billing information with the billing endpoint at all times. Cognitive Services containers don't send customer data, such as the image or text that's being analyzed, to Microsoft.
583+
Azure Cognitive Services containers aren't licensed to run without being connected to the metering / billing endpoint. Containers must be enabled to always communicate billing information with the billing endpoint. Cognitive Services containers don't send customer data, such as the image or text that's being analyzed, to Microsoft.
581584

582585
### Connect to Azure
583586

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,4 +540,4 @@ This technology is currently available for US driver licenses and the biographic
540540
::: moniker range="form-recog-2.1.0"
541541
> [!div class="nextstepaction"]
542542
> [Try Form Recognizer Sample Labeling tool](https://aka.ms/fott-2.1-ga)
543-
::: moniker-end
543+
::: moniker-end

0 commit comments

Comments
 (0)