forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom Vision Training v3.4-preview (Azure#11306)
* Copy v3.3 as a base to diff off new version * Update with v3.4-preview changes * Update autorest configuration
- Loading branch information
Showing
56 changed files
with
7,492 additions
and
2 deletions.
There are no files selected for viewing
5,759 changes: 5,759 additions & 0 deletions
5,759
...ion/cognitiveservices/data-plane/CustomVision/Training/preview/v3.4-preview/Training.json
Large diffs are not rendered by default.
Oops, something went wrong.
81 changes: 81 additions & 0 deletions
81
...es/data-plane/CustomVision/Training/preview/v3.4-preview/examples/CreateImageRegions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "https://westus.api.cognitive.microsoft.com", | ||
"Content-Type": "application/json", | ||
"Training-Key": "{API Key}", | ||
"projectId": "bc3f7dad-5544-468c-8573-3ef04d55463e", | ||
"batch": { | ||
"regions": [ | ||
{ | ||
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"left": 0.25, | ||
"top": 0.25, | ||
"width": 0.25, | ||
"height": 0.25 | ||
}, | ||
{ | ||
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"left": 0.35, | ||
"top": 0.35, | ||
"width": 0.25, | ||
"height": 0.25 | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"created": [ | ||
{ | ||
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"left": 0.25, | ||
"top": 0.25, | ||
"width": 0.25, | ||
"height": 0.25 | ||
}, | ||
{ | ||
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"left": 0.35, | ||
"top": 0.35, | ||
"width": 0.25, | ||
"height": 0.25 | ||
} | ||
], | ||
"duplicated": [], | ||
"exceeded": [] | ||
} | ||
}, | ||
"207": { | ||
"headers": {}, | ||
"body": { | ||
"created": [ | ||
{ | ||
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"left": 0.25, | ||
"top": 0.25, | ||
"width": 0.25, | ||
"height": 0.25 | ||
} | ||
], | ||
"duplicated": [], | ||
"exceeded": [ | ||
{ | ||
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"left": 0.35, | ||
"top": 0.35, | ||
"width": 0.25, | ||
"height": 0.25 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...vices/data-plane/CustomVision/Training/preview/v3.4-preview/examples/CreateImageTags.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "https://westus.api.cognitive.microsoft.com", | ||
"Content-Type": "application/json", | ||
"Training-Key": "{API Key}", | ||
"projectId": "bc3f7dad-5544-468c-8573-3ef04d55463e", | ||
"batch": { | ||
"tags": [ | ||
{ | ||
"imageId": "e31a14ab-5d78-4f7b-a267-3a1e4fd8a758", | ||
"tagId": "349d72ac-0948-4d51-b1e4-c14a1f9b848a" | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"created": [ | ||
{ | ||
"imageId": "e31a14ab-5d78-4f7b-a267-3a1e4fd8a758", | ||
"tagId": "349d72ac-0948-4d51-b1e4-c14a1f9b848a" | ||
} | ||
], | ||
"duplicated": null, | ||
"exceeded": null | ||
} | ||
} | ||
} | ||
} |
94 changes: 94 additions & 0 deletions
94
.../data-plane/CustomVision/Training/preview/v3.4-preview/examples/CreateImagesFromData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "https://westus.api.cognitive.microsoft.com", | ||
"Content-Type": "application/json", | ||
"Training-Key": "{API Key}", | ||
"projectId": "64b822c5-8082-4b36-a426-27225f4aa18c", | ||
"tagIds": [ | ||
"b607964f-7bd6-4a3b-a869-6791fb6aab87" | ||
], | ||
"imageData": "multipart data" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"isBatchSuccessful": true, | ||
"images": [ | ||
{ | ||
"sourceUrl": "\"hemlock_10.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 1095, | ||
"height": 900, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"sourceUrl": "\"hemlock_6.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "f1855a92-b873-47e7-b513-f07a667ceda1", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 900, | ||
"height": 1531, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"207": { | ||
"headers": {}, | ||
"body": { | ||
"isBatchSuccessful": false, | ||
"images": [ | ||
{ | ||
"sourceUrl": "\"hemlock_10.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 1095, | ||
"height": 900, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"sourceUrl": "\"hemlock_6.jpg\"", | ||
"status": "ErrorLimitExceed" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
...data-plane/CustomVision/Training/preview/v3.4-preview/examples/CreateImagesFromFiles.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "https://westus.api.cognitive.microsoft.com", | ||
"Content-Type": "application/json", | ||
"Training-Key": "{API Key}", | ||
"projectId": "64b822c5-8082-4b36-a426-27225f4aa18c", | ||
"tagIds": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"batch": { | ||
"images": [ | ||
{ | ||
"name": "hemlock_10.jpg", | ||
"contents": "{image contents}" | ||
} | ||
], | ||
"tagIds": [ | ||
"b607964f-7bd6-4a3b-a869-6791fb6aab87" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"isBatchSuccessful": true, | ||
"images": [ | ||
{ | ||
"sourceUrl": "\"hemlock_10.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 1095, | ||
"height": 900, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"207": { | ||
"headers": {}, | ||
"body": { | ||
"isBatchSuccessful": false, | ||
"images": [ | ||
{ | ||
"sourceUrl": "\"hemlock_10.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 1095, | ||
"height": 900, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"sourceUrl": "{url}", | ||
"status": "ErrorLimitExceed" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...lane/CustomVision/Training/preview/v3.4-preview/examples/CreateImagesFromPredictions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "https://westus.api.cognitive.microsoft.com", | ||
"Content-Type": "application/json", | ||
"Training-Key": "{API Key}", | ||
"projectId": "64b822c5-8082-4b36-a426-27225f4aa18c", | ||
"tagIds": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"batch": { | ||
"images": [ | ||
{ | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9" | ||
} | ||
], | ||
"tagIds": [ | ||
"b607964f-7bd6-4a3b-a869-6791fb6aab87" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"isBatchSuccessful": true, | ||
"images": [ | ||
{ | ||
"sourceUrl": "\"hemlock_10.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 1095, | ||
"height": 900, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"207": { | ||
"headers": {}, | ||
"body": { | ||
"isBatchSuccessful": false, | ||
"images": [ | ||
{ | ||
"sourceUrl": "\"hemlock_10.jpg\"", | ||
"status": "OK", | ||
"image": { | ||
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9", | ||
"created": "2017-12-19T15:56:10Z", | ||
"width": 1095, | ||
"height": 900, | ||
"resizedImageUri": "{Resized Image Uri}", | ||
"originalImageUri": "{Image Uri}", | ||
"thumbnailUri": "{Thumbnail Uri}", | ||
"tags": [ | ||
{ | ||
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87", | ||
"created": "2017-12-19T15:56:09Z", | ||
"tagName": "tag 1" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"sourceUrl": "{url}", | ||
"status": "ErrorLimitExceed" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.