Skip to content

Commit 30d10de

Browse files
committed
acrolinx fixes
1 parent 05ec36b commit 30d10de

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

articles/cognitive-services/Computer-vision/Vision-API-How-to-Topics/HowToCallVisionAPI.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: computer-vision
1010
ms.topic: how-to
11-
ms.date: 03/08/2022
11+
ms.date: 04/11/2022
1212
ms.custom: "seodec18"
1313
---
1414

@@ -24,7 +24,7 @@ The code in this guide uses remote images referenced by URL. You may want to try
2424

2525
#### [REST](#tab/rest)
2626

27-
WHen analyzing a local image, you put the binary image data in the HTTP request body. For a remote image, you specify the image's URL by formatting the request body like the following: `{"url":"http://example.com/images/test.jpg"}`.
27+
When analyzing a local image, you put the binary image data in the HTTP request body. For a remote image, you specify the image's URL by formatting the request body like this: `{"url":"http://example.com/images/test.jpg"}`.
2828

2929
#### [C#](#tab/csharp)
3030

@@ -57,17 +57,17 @@ Save a reference to the URL of the image you want to analyze.
5757

5858
### Select visual features
5959

60-
The Analyze API gives you access to all of the service's image analysis features. Choose which operations to do based on your own use case. See the [overview](../overview.md) for a description of each feature. The examples below add all of the available visual features, but for practical usage you will likely only need one or two.
60+
The Analyze API gives you access to all of the service's image analysis features. Choose which operations to do based on your own use case. See the [overview](../overview.md) for a description of each feature. The examples below add all of the available visual features, but for practical usage you'll likely only need one or two.
6161

6262
#### [REST](#tab/rest)
6363

64-
You can specify which features you want to use by setting the URL query parameters of the [Analyze API](https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f21b). A parameter can have multiple values, separated by commas. Each feature you specify will require additional computation time, so only specify what you need.
64+
You can specify which features you want to use by setting the URL query parameters of the [Analyze API](https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f21b). A parameter can have multiple values, separated by commas. Each feature you specify will require more computation time, so only specify what you need.
6565

6666
|URL parameter | Value | Description|
6767
|---|---|--|
68-
|`visualFeatures`|`Adult` | detects if the image is pornographic in nature (depicts nudity or a sex act), or is gory (depicts extreme violence or blood). Sexually suggestive content (aka racy content) is also detected.|
68+
|`visualFeatures`|`Adult` | detects if the image is pornographic in nature (depicts nudity or a sex act), or is gory (depicts extreme violence or blood). Sexually suggestive content ("racy" content) is also detected.|
6969
|`visualFeatures`|`Brands` | detects various brands within an image, including the approximate location. The Brands argument is only available in English.|
70-
|`visualFeatures`|`Categories` | categorizes image content according to a taxonomy defined in documentation. This is the default value of `visualFeatures`.|
70+
|`visualFeatures`|`Categories` | categorizes image content according to a taxonomy defined in documentation. This value is the default value of `visualFeatures`.|
7171
|`visualFeatures`|`Color` | determines the accent color, dominant color, and whether an image is black&white.|
7272
|`visualFeatures`|`Description` | describes the image content with a complete sentence in supported languages.|
7373
|`visualFeatures`|`Faces` | detects if faces are present. If present, generate coordinates, gender and age.|
@@ -77,7 +77,7 @@ You can specify which features you want to use by setting the URL query paramete
7777
|`details`| `Celebrities` | identifies celebrities if detected in the image.|
7878
|`details`|`Landmarks` |identifies landmarks if detected in the image.|
7979

80-
A populated URL might look like the following:
80+
A populated URL might look like this:
8181

8282
`https://{endpoint}/vision/v2.1/analyze?visualFeatures=Description,Tags&details=Celebrities`
8383

@@ -126,7 +126,7 @@ The following URL query parameter specifies the language. The default value is `
126126
|`language`|`pt` | Portuguese|
127127
|`language`|`zh` | Simplified Chinese|
128128

129-
A populated URL might look like the following:
129+
A populated URL might look like this:
130130

131131
`https://{endpoint}/vision/v2.1/analyze?visualFeatures=Description,Tags&details=Celebrities&language=en`
132132

@@ -180,7 +180,7 @@ This section shows you how to parse the results of the API call. It includes the
180180
181181
#### [REST](#tab/rest)
182182

183-
The service returns a `200` HTTP response, and the body contains the returned data in the form of a JSON string. The following is an example of a JSON response.
183+
The service returns a `200` HTTP response, and the body contains the returned data in the form of a JSON string. The following text is an example of a JSON response.
184184

185185
```json
186186
{
@@ -229,12 +229,12 @@ See the following list of possible errors and their causes:
229229
* `InvalidImageUrl` - Image URL is badly formatted or not accessible.
230230
* `InvalidImageFormat` - Input data is not a valid image.
231231
* `InvalidImageSize` - Input image is too large.
232-
* `NotSupportedVisualFeature` - Specified feature type is not valid.
232+
* `NotSupportedVisualFeature` - Specified feature type isn't valid.
233233
* `NotSupportedImage` - Unsupported image, for example child pornography.
234234
* `InvalidDetails` - Unsupported `detail` parameter value.
235-
* `NotSupportedLanguage` - The requested operation is not supported in the language specified.
236-
* `BadArgument` - Additional details are provided in the error message.
237-
* 415 - Unsupported media type error. The Content-Type is not in the allowed types:
235+
* `NotSupportedLanguage` - The requested operation isn't supported in the language specified.
236+
* `BadArgument` - More details are provided in the error message.
237+
* 415 - Unsupported media type error. The Content-Type isn't in the allowed types:
238238
* For an image URL, Content-Type should be `application/json`
239239
* For a binary image data, Content-Type should be `application/octet-stream` or `multipart/form-data`
240240
* 500

articles/cognitive-services/Computer-vision/includes/image-analysis-curl-quickstart.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ Use the Image Analysis REST API to:
2525
## Prerequisites
2626

2727
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
28-
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="Create a Computer Vision resource" target="_blank">create a Computer Vision resource </a> in the Azure portal to get your key and endpoint. After it deploys, click **Go to resource**.
29-
* You will need the key and endpoint from the resource you create to connect your application to the Computer Vision service. You'll paste your key and endpoint into the code below later in the quickstart.
28+
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="Create a Computer Vision resource" target="_blank">create a Computer Vision resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
29+
* You'll need the key and endpoint from the resource you create to connect your application to the Computer Vision service. You'll paste your key and endpoint into the code below later in the quickstart.
3030
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
3131
* [cURL](https://curl.haxx.se/) installed
3232

3333
## Analyze an image
3434

35-
To analyze an image for a variety of visual features, do the following steps:
35+
To analyze an image for various visual features, do the following steps:
3636

3737
1. Copy the following command into a text editor.
3838
1. Make the following changes in the command where needed:
@@ -131,12 +131,12 @@ To create and run the sample, do the following steps:
131131

132132
### Examine the response
133133

134-
A successful response writes the thumbnail image to the file specified in `<thumbnailFile>`. If the request fails, the response contains an error code and a message to help determine what went wrong. If the request seems to succeed but the created thumbnail is not a valid image file, it might be that your subscription key is not valid.
134+
A successful response writes the thumbnail image to the file specified in `<thumbnailFile>`. If the request fails, the response contains an error code and a message to help determine what went wrong. If the request seems to succeed but the created thumbnail isn't a valid image file, it's possible that your subscription key is not valid.
135135

136136

137137
## Next steps
138138

139-
In this quickstart, you learned how to install make basic image analysis calls using the REST API. Next, learn more about the Analyze API features.
139+
In this quickstart, you learned how to make basic image analysis calls using the REST API. Next, learn more about the Analyze API features.
140140

141141
> [!div class="nextstepaction"]
142142
>[Call the Analyze API](../Vision-API-How-to-Topics/HowToCallVisionAPI.md)

articles/cognitive-services/Computer-vision/includes/quickstarts-sdk/node-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Create a new file, *index.js*, and open it in a text editor.
7070

7171
## Read printed and handwritten text
7272

73-
1. Paste the follwoing code into your *index.js* file.
73+
1. Paste the following code into your *index.js* file.
7474

7575
[!code-javascript[](~/cognitive-services-quickstart-code/javascript/ComputerVision/ComputerVisionQuickstart-single.js?name=snippet_single)]
7676

articles/zone-pivot-groups.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ groups:
970970
prompt: Choose an experience
971971
pivots:
972972
- id: experience-azp
973-
title: Azure Portal
973+
title: Azure portal
974974
- id: experience-azcli
975975
title: Azure CLI
976976
# Owner: msangapu
@@ -1724,7 +1724,7 @@ groups:
17241724
prompt: Choose an option
17251725
pivots:
17261726
- id: aro-arm
1727-
title: Azure Resouce Manager
1727+
title: Azure Resource Manager
17281728
- id: aro-bicep
17291729
title: Bicep
17301730

0 commit comments

Comments
 (0)