Skip to content

Commit b1aa98d

Browse files
committed
undo api update for container docs
1 parent 3d60129 commit b1aa98d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/cognitive-services/Computer-vision/computer-vision-how-to-install-containers.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Use the host, `http://localhost:5000`, for container APIs.
162162

163163
### Asynchronous read
164164

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.
166166

167167
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:
168168

@@ -173,7 +173,7 @@ When the asynchronous POST has run successfully, it returns an **HTTP 202** stat
173173
```http
174174
content-length: 0
175175
date: Fri, 13 Sep 2019 16:23:01 GMT
176-
operation-location: http://localhost:5000/vision/v2.1/read/operations/a527d445-8a74-4482-8cb3-c98a65ec7ef9
176+
operation-location: http://localhost:5000/vision/v2.0/read/operations/a527d445-8a74-4482-8cb3-c98a65ec7ef9
177177
server: Kestrel
178178
```
179179

@@ -268,7 +268,7 @@ The `operation-location` is the fully qualified URL and is accessed via an HTTP
268268

269269
### Synchronous read
270270

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:
272272

273273
```json
274274
{
@@ -324,11 +324,11 @@ For an example use-case, see the [TypeScript sandbox here](https://aka.ms/ts-rea
324324

325325
### Asynchronous text recognition
326326

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.
328328

329329
### Synchronous text recognition
330330

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.
332332

333333
***
334334

0 commit comments

Comments
 (0)