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/Computer-vision/computer-vision-how-to-install-containers.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ Use the host, `http://localhost:5000`, for container APIs.
162
162
163
163
### Asynchronous read
164
164
165
-
You can use the `POST /vision/v2.1/read/core/asyncBatchAnalyze` and `GET /vision/v2.1/read/operations/{operationId}` operations in concert to asynchronously read an image, similar to how the Computer Vision service uses those corresponding REST operations. The asynchronous POST method will return an `operationId` that is used as the identifer to the HTTP GET request.
165
+
You can use the `POST /vision/v2.0/read/core/asyncBatchAnalyze` and `GET /vision/v2.0/read/operations/{operationId}` operations in concert to asynchronously read an image, similar to how the Computer Vision service uses those corresponding REST operations. The asynchronous POST method will return an `operationId` that is used as the identifer to the HTTP GET request.
166
166
167
167
From the swagger UI, select the `asyncBatchAnalyze` to expand it in the browser. Then select **Try it out** > **Choose file**. In this example, we'll use the following image:
168
168
@@ -173,7 +173,7 @@ When the asynchronous POST has run successfully, it returns an **HTTP 202** stat
@@ -268,7 +268,7 @@ The `operation-location` is the fully qualified URL and is accessed via an HTTP
268
268
269
269
### Synchronous read
270
270
271
-
You can use the `POST /vision/v2.1/read/core/Analyze` operation to synchronously read an image. When the image is read in its entirety, then and only then does the API return a JSON response. The only exception to this is if an error occurs. When an error occurs the following JSON is returned:
271
+
You can use the `POST /vision/v2.0/read/core/Analyze` operation to synchronously read an image. When the image is read in its entirety, then and only then does the API return a JSON response. The only exception to this is if an error occurs. When an error occurs the following JSON is returned:
272
272
273
273
```json
274
274
{
@@ -324,11 +324,11 @@ For an example use-case, see the [TypeScript sandbox here](https://aka.ms/ts-rea
324
324
325
325
### Asynchronous text recognition
326
326
327
-
You can use the `POST /vision/v2.1/recognizeText` and `GET /vision/v2.1/textOperations/*{id}*` operations in concert to asynchronously recognize printed text in an image, similar to how the Computer Vision service uses those corresponding REST operations. The Recognize Text container only recognizes printed text, not handwritten text, at this time, so the `mode` parameter normally specified for the Computer Vision service operation is ignored by the Recognize Text container.
327
+
You can use the `POST /vision/v2.0/recognizeText` and `GET /vision/v2.0/textOperations/*{id}*` operations in concert to asynchronously recognize printed text in an image, similar to how the Computer Vision service uses those corresponding REST operations. The Recognize Text container only recognizes printed text, not handwritten text, at this time, so the `mode` parameter normally specified for the Computer Vision service operation is ignored by the Recognize Text container.
328
328
329
329
### Synchronous text recognition
330
330
331
-
You can use the `POST /vision/v2.1/recognizeTextDirect` operation to synchronously recognize printed text in an image. Because this operation is synchronous, the request body for this operation is the same as the `POST /vision/v2.1/recognizeText` operation, but the response body for this operation is the same as that returned by the `GET /vision/v2.1/textOperations/*{id}*` operation.
331
+
You can use the `POST /vision/v2.0/recognizeTextDirect` operation to synchronously recognize printed text in an image. Because this operation is synchronous, the request body for this operation is the same as the `POST /vision/v2.0/recognizeText` operation, but the response body for this operation is the same as that returned by the `GET /vision/v2.0/textOperations/*{id}*` operation.
0 commit comments