Skip to content

Commit fa563d4

Browse files
committed
fix other annotationKind
1 parent a197b92 commit fa563d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cognitive-services/Computer-vision/how-to/model-customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ The `datasets/<dataset-name>` API lets you create a new dataset object that refe
151151
1. Replace `<endpoint>` with your Computer Vision endpoint.
152152
1. Replace `<dataset-name>` with a name for your dataset.
153153
1. Replace `<subscription-key>` with your Computer Vision key.
154-
1. In the request body, set `"annotationKind"` to either `"MultiClassClassification"` or `"imageObjectDetection"`, depending on your project.
154+
1. In the request body, set `"annotationKind"` to either `"imageClassification"` or `"imageObjectDetection"`, depending on your project.
155155
1. In the request body, set the `"annotationFileUris"` array to an array of string(s) that show the URI location(s) of your COCO file(s) in blob storage.
156156

157157
```bash
158158
curl.exe -v -X PUT "https://<endpoint>/computervision/datasets/<dataset-name>?api-version=2023-02-01-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription-key>" --data-ascii "
159159
{
160-
'annotationKind':'MultiClassClassification',
160+
'annotationKind':'imageClassification',
161161
'annotationFileUris':['<URI>']
162162
}"
163163
```

0 commit comments

Comments
 (0)