Skip to content

Commit 992a79d

Browse files
authored
Merge pull request #108932 from PatrickFarley/comvis-updates
[cog serv] Various updates from external PRs
2 parents eff226a + 4af9a17 commit 992a79d

File tree

7 files changed

+40
-10
lines changed

7 files changed

+40
-10
lines changed

articles/cognitive-services/Computer-vision/concept-categorizing-images.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ The following table illustrates a typical image set and the category returned by
5656
| ![A person standing on a mountain rock at sunset](./Images/mountain_vista.png) | outdoor_mountain |
5757
| ![A pile of bread roles on a table](./Images/bread.png) | food_bread |
5858

59+
## Use the API
60+
61+
The categorization feature is part of the [Analyze Image](https://westcentralus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) API. You can call this API through a native SDK or through REST calls. Include `Categories` in the **visualFeatures** query parameter. Then, when you get the full JSON response, simply parse the string for the contents of the `"categories"` section.
62+
63+
* [Quickstart: Computer Vision .NET SDK](./quickstarts-sdk/client-library.md?pivots=programming-language-csharp)
64+
* [Quickstart: Analyze an image (REST API)](./quickstarts/csharp-analyze.md)
65+
5966
## Next steps
6067

61-
Learn concepts about [tagging images](concept-tagging-images.md) and [describing images](concept-describing-images.md).
68+
Learn the related concepts of [tagging images](concept-tagging-images.md) and [describing images](concept-describing-images.md).

articles/cognitive-services/Computer-vision/concept-describing-images.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ The following JSON response illustrates what Computer Vision returns when descri
5252
}
5353
```
5454

55+
## Use the API
56+
57+
The image description feature is part of the [Analyze Image](https://westcentralus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) API. You can call this API through a native SDK or through REST calls. Include `Description` in the **visualFeatures** query parameter. Then, when you get the full JSON response, simply parse the string for the contents of the `"description"` section.
58+
59+
* [Quickstart: Computer Vision .NET SDK](./quickstarts-sdk/client-library.md?pivots=programming-language-csharp)
60+
* [Quickstart: Analyze an image (REST API)](./quickstarts/csharp-analyze.md)
61+
5562
## Next steps
5663

57-
Learn concepts about [tagging images](concept-tagging-images.md) and [categorizing images](concept-categorizing-images.md).
64+
Learn the related concepts of [tagging images](concept-tagging-images.md) and [categorizing images](concept-categorizing-images.md).

articles/cognitive-services/Computer-vision/concept-detecting-color-schemes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ The following table shows Computer Vision's black and white evaluation in the sa
7474
|![A black and white picture of buildings in Manhattan](./Images/bw_buildings.png) | true |
7575
|![A blue house and the front yard](./Images/house_yard.png) | false |
7676

77-
## Next steps
77+
## Use the API
7878

79-
Learn concepts about [detecting image types](concept-detecting-image-types.md).
79+
The color scheme detection feature is part of the [Analyze Image](https://westcentralus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) API. You can call this API through a native SDK or through REST calls. Include `Color` in the **visualFeatures** query parameter. Then, when you get the full JSON response, simply parse the string for the contents of the `"color"` section.
80+
81+
* [Quickstart: Computer Vision .NET SDK](./quickstarts-sdk/client-library.md?pivots=programming-language-csharp)
82+
* [Quickstart: Analyze an image (REST API)](./quickstarts/csharp-analyze.md)

articles/cognitive-services/Computer-vision/concept-detecting-faces.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ The next example demonstrates the JSON response returned for an image containing
107107
}
108108
```
109109

110-
## Next steps
110+
## Use the API
111111

112-
See the [Analyze Image](https://westus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) reference documentation to learn more about how to use the face detection feature.
112+
The face detection feature is part of the [Analyze Image](https://westcentralus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) API. You can call this API through a native SDK or through REST calls. Include `Faces` in the **visualFeatures** query parameter. Then, when you get the full JSON response, simply parse the string for the contents of the `"faces"` section.
113+
114+
* [Quickstart: Computer Vision .NET SDK](./quickstarts-sdk/client-library.md?pivots=programming-language-csharp)
115+
* [Quickstart: Analyze an image (REST API)](./quickstarts/csharp-analyze.md)

articles/cognitive-services/Computer-vision/concept-detecting-image-types.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ The following JSON responses illustrates what Computer Vision returns when indic
109109
}
110110
```
111111

112-
## Next steps
112+
## Use the API
113113

114-
See the [Analyze Image](https://westus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) reference documentation to learn how to detect image types.
114+
The image type detection feature is part of the [Analyze Image](https://westcentralus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) API. You can call this API through a native SDK or through REST calls. Include `ImageType` in the **visualFeatures** query parameter. Then, when you get the full JSON response, simply parse the string for the contents of the `"imageType"` section.
115+
116+
* [Quickstart: Computer Vision .NET SDK](./quickstarts-sdk/client-library.md?pivots=programming-language-csharp)
117+
* [Quickstart: Analyze an image (REST API)](./quickstarts/csharp-analyze.md)

articles/cognitive-services/Computer-vision/concept-tagging-images.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ The following JSON response illustrates what Computer Vision returns when taggin
7979
}
8080
```
8181

82+
## Use the API
83+
84+
The tagging feature is part of the [Analyze Image](https://westcentralus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa) API. You can call this API through a native SDK or through REST calls. Include `Tags` in the **visualFeatures** query parameter. Then, when you get the full JSON response, simply parse the string for the contents of the `"tags"` section.
85+
86+
* [Quickstart: Computer Vision .NET SDK](./quickstarts-sdk/client-library.md?pivots=programming-language-csharp)
87+
* [Quickstart: Analyze an image (REST API)](./quickstarts/csharp-analyze.md)
88+
8289
## Next steps
8390

84-
Learn concepts about [categorizing images](concept-categorizing-images.md) and [describing images](concept-describing-images.md).
91+
Learn the related concepts of [categorizing images](concept-categorizing-images.md) and [describing images](concept-describing-images.md).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Computer Vision can read visible text in an image and convert it to a character
212212

213213
First, use the following code to call the **recognizePrintedTextInStream** method for the given image. When you add this code to your project, you need to replace the value of `localTextImagePath` with the path to your local image.
214214

215-
[!code-java[](~/cognitive-services-quickstart-code/java/ComputerVision/src/main/java/ComputerVisionQuickstart.java?name=snippet_imagetype)]
215+
[!code-java[](~/cognitive-services-quickstart-code/java/ComputerVision/src/main/java/ComputerVisionQuickstart.java?name=snippet_read_call)]
216216

217217
### Print Recognize results
218218

0 commit comments

Comments
 (0)