| 1 |
{ |
| 2 |
"version": "1.0", |
| 3 |
"examples": { |
| 4 |
"AssociateFaces": [ |
| 5 |
{ |
| 6 |
"input": { |
| 7 |
"ClientRequestToken": "550e8400-e29b-41d4-a716-446655440002", |
| 8 |
"CollectionId": "MyCollection", |
| 9 |
"FaceIds": [ |
| 10 |
"f5817d37-94f6-4335-bfee-6cf79a3d806e", |
| 11 |
"851cb847-dccc-4fea-9309-9f4805967855", |
| 12 |
"35ebbb41-7f67-4263-908d-dd0ecba05ab9" |
| 13 |
], |
| 14 |
"UserId": "DemoUser", |
| 15 |
"UserMatchThreshold": 70 |
| 16 |
}, |
| 17 |
"output": { |
| 18 |
"AssociatedFaces": [ |
| 19 |
{ |
| 20 |
"FaceId": "35ebbb41-7f67-4263-908d-dd0ecba05ab9" |
| 21 |
} |
| 22 |
], |
| 23 |
"UnsuccessfulFaceAssociations": [ |
| 24 |
{ |
| 25 |
"Confidence": 0.9375374913215637, |
| 26 |
"FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e", |
| 27 |
"Reasons": [ |
| 28 |
"LOW_MATCH_CONFIDENCE" |
| 29 |
] |
| 30 |
}, |
| 31 |
{ |
| 32 |
"FaceId": "851cb847-dccc-4fea-9309-9f4805967855", |
| 33 |
"Reasons": [ |
| 34 |
"ASSOCIATED_TO_A_DIFFERENT_USER" |
| 35 |
], |
| 36 |
"UserId": "demoUser2" |
| 37 |
} |
| 38 |
], |
| 39 |
"UserStatus": "UPDATING" |
| 40 |
}, |
| 41 |
"comments": { |
| 42 |
"input": { |
| 43 |
}, |
| 44 |
"output": { |
| 45 |
} |
| 46 |
}, |
| 47 |
"description": "This operation associates one or more faces with an existing UserID.", |
| 48 |
"id": "associatefaces-1686181269281", |
| 49 |
"title": "AssociateFaces" |
| 50 |
} |
| 51 |
], |
| 52 |
"CompareFaces": [ |
| 53 |
{ |
| 54 |
"input": { |
| 55 |
"SimilarityThreshold": 90, |
| 56 |
"SourceImage": { |
| 57 |
"S3Object": { |
| 58 |
"Bucket": "mybucket", |
| 59 |
"Name": "mysourceimage" |
| 60 |
} |
| 61 |
}, |
| 62 |
"TargetImage": { |
| 63 |
"S3Object": { |
| 64 |
"Bucket": "mybucket", |
| 65 |
"Name": "mytargetimage" |
| 66 |
} |
| 67 |
} |
| 68 |
}, |
| 69 |
"output": { |
| 70 |
"FaceMatches": [ |
| 71 |
{ |
| 72 |
"Face": { |
| 73 |
"BoundingBox": { |
| 74 |
"Height": 0.33481481671333313, |
| 75 |
"Left": 0.31888890266418457, |
| 76 |
"Top": 0.4933333396911621, |
| 77 |
"Width": 0.25 |
| 78 |
}, |
| 79 |
"Confidence": 99.9991226196289 |
| 80 |
}, |
| 81 |
"Similarity": 100 |
| 82 |
} |
| 83 |
], |
| 84 |
"SourceImageFace": { |
| 85 |
"BoundingBox": { |
| 86 |
"Height": 0.33481481671333313, |
| 87 |
"Left": 0.31888890266418457, |
| 88 |
"Top": 0.4933333396911621, |
| 89 |
"Width": 0.25 |
| 90 |
}, |
| 91 |
"Confidence": 99.9991226196289 |
| 92 |
} |
| 93 |
}, |
| 94 |
"comments": { |
| 95 |
"input": { |
| 96 |
}, |
| 97 |
"output": { |
| 98 |
} |
| 99 |
}, |
| 100 |
"description": "This operation compares the largest face detected in the source image with each face detected in the target image.", |
| 101 |
"id": "to-compare-two-images-1482181985581", |
| 102 |
"title": "To compare two images" |
| 103 |
} |
| 104 |
], |
| 105 |
"CopyProjectVersion": [ |
| 106 |
{ |
| 107 |
"input": { |
| 108 |
"DestinationProjectArn": "arn:aws:rekognition:us-east-1:555555555555:project/DestinationProject/1656705098765", |
| 109 |
"KmsKeyId": "arn:1234abcd-12ab-34cd-56ef-1234567890ab", |
| 110 |
"OutputConfig": { |
| 111 |
"S3Bucket": "bucket-name", |
| 112 |
"S3KeyPrefix": "path_to_folder" |
| 113 |
}, |
| 114 |
"SourceProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/16565123456", |
| 115 |
"SourceProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/version/model_1/1656611123456", |
| 116 |
"Tags": { |
| 117 |
"key1": "val1" |
| 118 |
}, |
| 119 |
"VersionName": "DestinationVersionName_cross_account" |
| 120 |
}, |
| 121 |
"output": { |
| 122 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:555555555555:project/DestinationProject/version/DestinationVersionName_cross_account/16567050987651" |
| 123 |
}, |
| 124 |
"comments": { |
| 125 |
"input": { |
| 126 |
}, |
| 127 |
"output": { |
| 128 |
} |
| 129 |
}, |
| 130 |
"description": "Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project.", |
| 131 |
"id": "copyprojectversion-1658203943815", |
| 132 |
"title": "CopyProjectVersion" |
| 133 |
} |
| 134 |
], |
| 135 |
"CreateCollection": [ |
| 136 |
{ |
| 137 |
"input": { |
| 138 |
"CollectionId": "myphotos" |
| 139 |
}, |
| 140 |
"output": { |
| 141 |
"CollectionArn": "aws:rekognition:us-west-2:123456789012:collection/myphotos", |
| 142 |
"StatusCode": 200 |
| 143 |
}, |
| 144 |
"comments": { |
| 145 |
"input": { |
| 146 |
}, |
| 147 |
"output": { |
| 148 |
} |
| 149 |
}, |
| 150 |
"description": "This operation creates a Rekognition collection for storing image data.", |
| 151 |
"id": "to-create-a-collection-1481833313674", |
| 152 |
"title": "To create a collection" |
| 153 |
} |
| 154 |
], |
| 155 |
"CreateDataset": [ |
| 156 |
{ |
| 157 |
"input": { |
| 158 |
"DatasetSource": { |
| 159 |
"GroundTruthManifest": { |
| 160 |
"S3Object": { |
| 161 |
"Bucket": "my-bucket", |
| 162 |
"Name": "datasets/flowers_training/manifests/output/output.manifest" |
| 163 |
} |
| 164 |
} |
| 165 |
}, |
| 166 |
"DatasetType": "TRAIN", |
| 167 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690474772815" |
| 168 |
}, |
| 169 |
"output": { |
| 170 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/train/1690476084535" |
| 171 |
}, |
| 172 |
"comments": { |
| 173 |
"input": { |
| 174 |
}, |
| 175 |
"output": { |
| 176 |
} |
| 177 |
}, |
| 178 |
"description": "Creates an Amazon Rekognition Custom Labels dataset with a manifest file stored in an Amazon S3 bucket.", |
| 179 |
"id": "to-create-an-amazon-rekognition-custom-labels-dataset-1690476237145", |
| 180 |
"title": "To create an Amazon Rekognition Custom Labels dataset" |
| 181 |
} |
| 182 |
], |
| 183 |
"CreateProject": [ |
| 184 |
{ |
| 185 |
"input": { |
| 186 |
"ProjectName": "my-project" |
| 187 |
}, |
| 188 |
"output": { |
| 189 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690405809285" |
| 190 |
}, |
| 191 |
"comments": { |
| 192 |
"input": { |
| 193 |
}, |
| 194 |
"output": { |
| 195 |
} |
| 196 |
}, |
| 197 |
"description": "Creates an Amazon Rekognition Custom Labels project.", |
| 198 |
"id": "to-create-an-amazon-rekognition-custom-labels-project-1690405898597", |
| 199 |
"title": "To create an Amazon Rekognition Custom Labels project" |
| 200 |
} |
| 201 |
], |
| 202 |
"CreateProjectVersion": [ |
| 203 |
{ |
| 204 |
"input": { |
| 205 |
"OutputConfig": { |
| 206 |
"S3Bucket": "output_bucket", |
| 207 |
"S3KeyPrefix": "output_folder" |
| 208 |
}, |
| 209 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690474772815", |
| 210 |
"VersionName": "1" |
| 211 |
}, |
| 212 |
"output": { |
| 213 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 214 |
}, |
| 215 |
"comments": { |
| 216 |
"input": { |
| 217 |
} |
| 218 |
}, |
| 219 |
"description": "Trains a version of an Amazon Rekognition Custom Labels model.", |
| 220 |
"id": "to-train-an-amazon-rekognition-custom-labels-model-1690555832843", |
| 221 |
"title": "To train an Amazon Rekognition Custom Labels model" |
| 222 |
} |
| 223 |
], |
| 224 |
"CreateUser": [ |
| 225 |
{ |
| 226 |
"input": { |
| 227 |
"CollectionId": "MyCollection", |
| 228 |
"UserId": "DemoUser" |
| 229 |
}, |
| 230 |
"comments": { |
| 231 |
"input": { |
| 232 |
}, |
| 233 |
"output": { |
| 234 |
} |
| 235 |
}, |
| 236 |
"description": "Creates a new User within a collection specified by CollectionId.", |
| 237 |
"id": "createuser-1686181562299", |
| 238 |
"title": "CreateUser" |
| 239 |
} |
| 240 |
], |
| 241 |
"DeleteCollection": [ |
| 242 |
{ |
| 243 |
"input": { |
| 244 |
"CollectionId": "myphotos" |
| 245 |
}, |
| 246 |
"output": { |
| 247 |
"StatusCode": 200 |
| 248 |
}, |
| 249 |
"comments": { |
| 250 |
"input": { |
| 251 |
}, |
| 252 |
"output": { |
| 253 |
} |
| 254 |
}, |
| 255 |
"description": "This operation deletes a Rekognition collection.", |
| 256 |
"id": "to-delete-a-collection-1481838179973", |
| 257 |
"title": "To delete a collection" |
| 258 |
} |
| 259 |
], |
| 260 |
"DeleteDataset": [ |
| 261 |
{ |
| 262 |
"input": { |
| 263 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/test/1690556733321" |
| 264 |
}, |
| 265 |
"output": { |
| 266 |
}, |
| 267 |
"comments": { |
| 268 |
"input": { |
| 269 |
}, |
| 270 |
"output": { |
| 271 |
} |
| 272 |
}, |
| 273 |
"description": "Deletes an Amazon Rekognition Custom Labels dataset.", |
| 274 |
"id": "to-delete-an-amazon-rekognition-custom-labels-dataset-1690826556349", |
| 275 |
"title": "To delete an Amazon Rekognition Custom Labels dataset" |
| 276 |
} |
| 277 |
], |
| 278 |
"DeleteFaces": [ |
| 279 |
{ |
| 280 |
"input": { |
| 281 |
"CollectionId": "myphotos", |
| 282 |
"FaceIds": [ |
| 283 |
"ff43d742-0c13-5d16-a3e8-03d3f58e980b" |
| 284 |
] |
| 285 |
}, |
| 286 |
"output": { |
| 287 |
"DeletedFaces": [ |
| 288 |
"ff43d742-0c13-5d16-a3e8-03d3f58e980b" |
| 289 |
] |
| 290 |
}, |
| 291 |
"comments": { |
| 292 |
"input": { |
| 293 |
}, |
| 294 |
"output": { |
| 295 |
} |
| 296 |
}, |
| 297 |
"description": "This operation deletes one or more faces from a Rekognition collection.", |
| 298 |
"id": "to-delete-a-face-1482182799377", |
| 299 |
"title": "To delete a face" |
| 300 |
} |
| 301 |
], |
| 302 |
"DeleteProject": [ |
| 303 |
{ |
| 304 |
"input": { |
| 305 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690405809285" |
| 306 |
}, |
| 307 |
"output": { |
| 308 |
"Status": "DELETING" |
| 309 |
}, |
| 310 |
"comments": { |
| 311 |
"input": { |
| 312 |
}, |
| 313 |
"output": { |
| 314 |
} |
| 315 |
}, |
| 316 |
"description": "Deletes an Amazon Rekognition Custom Labels projects.", |
| 317 |
"id": "to-delete-an-amazon-rekognition-custom-labels-project-1690409093478", |
| 318 |
"title": "To delete an Amazon Rekognition Custom Labels project" |
| 319 |
} |
| 320 |
], |
| 321 |
"DeleteProjectPolicy": [ |
| 322 |
{ |
| 323 |
"input": { |
| 324 |
"PolicyName": "testPolicy1", |
| 325 |
"PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc", |
| 326 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/1656557123456" |
| 327 |
}, |
| 328 |
"output": { |
| 329 |
}, |
| 330 |
"comments": { |
| 331 |
"input": { |
| 332 |
}, |
| 333 |
"output": { |
| 334 |
} |
| 335 |
}, |
| 336 |
"description": "This operation deletes a revision of an existing project policy from an Amazon Rekognition Custom Labels project.", |
| 337 |
"id": "deleteprojectpolicy-1658204413810", |
| 338 |
"title": "DeleteProjectPolicy" |
| 339 |
} |
| 340 |
], |
| 341 |
"DeleteProjectVersion": [ |
| 342 |
{ |
| 343 |
"input": { |
| 344 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 345 |
}, |
| 346 |
"output": { |
| 347 |
"Status": "DELETING" |
| 348 |
}, |
| 349 |
"comments": { |
| 350 |
"input": { |
| 351 |
}, |
| 352 |
"output": { |
| 353 |
} |
| 354 |
}, |
| 355 |
"description": "Deletes a version of an Amazon Rekognition Custom Labels model.", |
| 356 |
"id": "to-delete-an-amazon-rekognition-custom-labels-model-1690827562055", |
| 357 |
"title": "To delete an Amazon Rekognition Custom Labels model" |
| 358 |
} |
| 359 |
], |
| 360 |
"DeleteUser": [ |
| 361 |
{ |
| 362 |
"input": { |
| 363 |
"ClientRequestToken": "550e8400-e29b-41d4-a716-446655440001", |
| 364 |
"CollectionId": "MyCollection", |
| 365 |
"UserId": "DemoUser" |
| 366 |
}, |
| 367 |
"comments": { |
| 368 |
"input": { |
| 369 |
}, |
| 370 |
"output": { |
| 371 |
} |
| 372 |
}, |
| 373 |
"description": "Deletes the specified UserID within the collection.", |
| 374 |
"id": "deleteuser-1686181913475", |
| 375 |
"title": "DeleteUser" |
| 376 |
} |
| 377 |
], |
| 378 |
"DescribeDataset": [ |
| 379 |
{ |
| 380 |
"input": { |
| 381 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/train/1690476084535" |
| 382 |
}, |
| 383 |
"output": { |
| 384 |
"DatasetDescription": { |
| 385 |
"CreationTimestamp": "2023-07-27T09:41:24.738000-07:00", |
| 386 |
"DatasetStats": { |
| 387 |
"ErrorEntries": 0, |
| 388 |
"LabeledEntries": 15, |
| 389 |
"TotalEntries": 15, |
| 390 |
"TotalLabels": 9 |
| 391 |
}, |
| 392 |
"LastUpdatedTimestamp": "2023-07-28T09:46:45.406000-07:00", |
| 393 |
"Status": "UPDATE_FAILED", |
| 394 |
"StatusMessage": "The manifest file contains images from multiple S3 buckets.", |
| 395 |
"StatusMessageCode": "CLIENT_ERROR" |
| 396 |
} |
| 397 |
}, |
| 398 |
"comments": { |
| 399 |
"input": { |
| 400 |
}, |
| 401 |
"output": { |
| 402 |
} |
| 403 |
}, |
| 404 |
"description": "Describes an Amazon Rekognition Custom Labels dataset.", |
| 405 |
"id": "to-describe-an-amazon-rekognition-custom-labels-dataset-1690827075604", |
| 406 |
"title": "To describe an Amazon Rekognition Custom Labels dataset" |
| 407 |
} |
| 408 |
], |
| 409 |
"DescribeProjectVersions": [ |
| 410 |
{ |
| 411 |
"input": { |
| 412 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690474772815", |
| 413 |
"VersionNames": [ |
| 414 |
"1" |
| 415 |
] |
| 416 |
}, |
| 417 |
"output": { |
| 418 |
"NextToken": "", |
| 419 |
"ProjectVersionDescriptions": [ |
| 420 |
{ |
| 421 |
"BillableTrainingTimeInSeconds": 1899, |
| 422 |
"CreationTimestamp": "2023-07-28T08:05:51.958000-07:00", |
| 423 |
"EvaluationResult": { |
| 424 |
"F1Score": 1, |
| 425 |
"Summary": { |
| 426 |
"S3Object": { |
| 427 |
"Bucket": "custom-labels-console-us-east-1-111111111", |
| 428 |
"Name": "my-model-output/EvaluationResultSummary-my-project-1.json" |
| 429 |
} |
| 430 |
} |
| 431 |
}, |
| 432 |
"ManifestSummary": { |
| 433 |
"S3Object": { |
| 434 |
"Bucket": "custom-labels-console-us-east-1-111111111", |
| 435 |
"Name": "my-model-output/ManifestSummary-my-project-1.json" |
| 436 |
} |
| 437 |
}, |
| 438 |
"OutputConfig": { |
| 439 |
"S3Bucket": "custom-labels-console-us-east-1-111111111", |
| 440 |
"S3KeyPrefix": "my-model-output" |
| 441 |
}, |
| 442 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958", |
| 443 |
"Status": "TRAINING_COMPLETED", |
| 444 |
"StatusMessage": "The model is ready to run.", |
| 445 |
"TestingDataResult": { |
| 446 |
"Input": { |
| 447 |
"AutoCreate": false |
| 448 |
}, |
| 449 |
"Output": { |
| 450 |
"Assets": [ |
| 451 |
{ |
| 452 |
"GroundTruthManifest": { |
| 453 |
"S3Object": { |
| 454 |
"Bucket": "custom-labels-console-us-east-1-111111111", |
| 455 |
"Name": "my-model-output/TestingGroundTruth-my-project-1.json" |
| 456 |
} |
| 457 |
} |
| 458 |
} |
| 459 |
], |
| 460 |
"AutoCreate": false |
| 461 |
}, |
| 462 |
"Validation": { |
| 463 |
"Assets": [ |
| 464 |
{ |
| 465 |
"GroundTruthManifest": { |
| 466 |
"S3Object": { |
| 467 |
"Bucket": "custom-labels-console-us-east-1-111111111", |
| 468 |
"Name": "my-model-output/TestingManifestWithValidation-my-project-1.json" |
| 469 |
} |
| 470 |
} |
| 471 |
} |
| 472 |
] |
| 473 |
} |
| 474 |
}, |
| 475 |
"TrainingDataResult": { |
| 476 |
"Input": { |
| 477 |
}, |
| 478 |
"Output": { |
| 479 |
"Assets": [ |
| 480 |
{ |
| 481 |
"GroundTruthManifest": { |
| 482 |
"S3Object": { |
| 483 |
"Bucket": "custom-labels-console-us-east-1-111111111", |
| 484 |
"Name": "my-model-output/TrainingGroundTruth-my-project-1.json" |
| 485 |
} |
| 486 |
} |
| 487 |
} |
| 488 |
] |
| 489 |
}, |
| 490 |
"Validation": { |
| 491 |
"Assets": [ |
| 492 |
{ |
| 493 |
"GroundTruthManifest": { |
| 494 |
"S3Object": { |
| 495 |
"Bucket": "custom-labels-console-us-east-1-111111111", |
| 496 |
"Name": "my-model-output/TrainingManifestWithValidation-my-project-1.json" |
| 497 |
} |
| 498 |
} |
| 499 |
} |
| 500 |
] |
| 501 |
} |
| 502 |
}, |
| 503 |
"TrainingEndTimestamp": "2023-07-28T08:33:10.827000-07:00" |
| 504 |
} |
| 505 |
] |
| 506 |
}, |
| 507 |
"comments": { |
| 508 |
"input": { |
| 509 |
} |
| 510 |
}, |
| 511 |
"description": "Describes a version of an Amazon Rekognition Custom Labels model.", |
| 512 |
"id": "to-describes-an-amazon-rekognition-custom-labels-model-1690558265950", |
| 513 |
"title": "To describe an Amazon Rekognition Custom Labels model" |
| 514 |
} |
| 515 |
], |
| 516 |
"DescribeProjects": [ |
| 517 |
{ |
| 518 |
"input": { |
| 519 |
"ProjectNames": [ |
| 520 |
"my-project" |
| 521 |
] |
| 522 |
}, |
| 523 |
"output": { |
| 524 |
"ProjectDescriptions": [ |
| 525 |
{ |
| 526 |
"CreationTimestamp": "2022-06-13T15:16:00.634000-07:00", |
| 527 |
"Datasets": [ |
| 528 |
{ |
| 529 |
"CreationTimestamp": "2022-06-13T15:17:34.620000-07:00", |
| 530 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/test/1655158654491", |
| 531 |
"DatasetType": "TEST", |
| 532 |
"Status": "CREATE_COMPLETE", |
| 533 |
"StatusMessage": "The dataset was successfully created from the manifest file.", |
| 534 |
"StatusMessageCode": "SUCCESS" |
| 535 |
}, |
| 536 |
{ |
| 537 |
"CreationTimestamp": "2022-06-13T15:17:50.118000-07:00", |
| 538 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/dataset/train/1655158669954", |
| 539 |
"DatasetType": "TRAIN", |
| 540 |
"Status": "CREATE_COMPLETE", |
| 541 |
"StatusMessage": "The dataset was successfully created from the manifest file.", |
| 542 |
"StatusMessageCode": "SUCCESS" |
| 543 |
} |
| 544 |
], |
| 545 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1655158560634", |
| 546 |
"Status": "CREATED" |
| 547 |
} |
| 548 |
] |
| 549 |
}, |
| 550 |
"comments": { |
| 551 |
"input": { |
| 552 |
}, |
| 553 |
"output": { |
| 554 |
} |
| 555 |
}, |
| 556 |
"description": "Describes an Amazon Rekognition Custom Labels projects.", |
| 557 |
"id": "to-describe-an-amazon-rekognition-custom-labels-project-1690400952376", |
| 558 |
"title": "To describe an Amazon Rekognition Custom Labels project." |
| 559 |
} |
| 560 |
], |
| 561 |
"DetectCustomLabels": [ |
| 562 |
{ |
| 563 |
"input": { |
| 564 |
"Image": { |
| 565 |
"S3Object": { |
| 566 |
"Bucket": "custom-labels-console-us-east-1-1111111111", |
| 567 |
"Name": "assets/flowers_1_test_dataset/camellia4.jpg" |
| 568 |
} |
| 569 |
}, |
| 570 |
"MaxResults": 100, |
| 571 |
"MinConfidence": 50, |
| 572 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/my-project.2023-07-31T11.49.37/1690829378219" |
| 573 |
}, |
| 574 |
"output": { |
| 575 |
"CustomLabels": [ |
| 576 |
{ |
| 577 |
"Confidence": 67.56399536132812, |
| 578 |
"Name": "with_leaves" |
| 579 |
}, |
| 580 |
{ |
| 581 |
"Confidence": 50.65699768066406, |
| 582 |
"Name": "without_leaves" |
| 583 |
} |
| 584 |
] |
| 585 |
}, |
| 586 |
"comments": { |
| 587 |
"input": { |
| 588 |
}, |
| 589 |
"output": { |
| 590 |
} |
| 591 |
}, |
| 592 |
"description": "Detects custom labels in an image with an Amazon Rekognition Custom Labels model", |
| 593 |
"id": "to-detect-custom-labels-in-images-with-an-amazon-rekognition-custom-labels-model-1690832037913", |
| 594 |
"title": "To detect custom labels in an image with an Amazon Rekognition Custom Labels model" |
| 595 |
} |
| 596 |
], |
| 597 |
"DetectFaces": [ |
| 598 |
{ |
| 599 |
"input": { |
| 600 |
"Image": { |
| 601 |
"S3Object": { |
| 602 |
"Bucket": "mybucket", |
| 603 |
"Name": "myphoto" |
| 604 |
} |
| 605 |
} |
| 606 |
}, |
| 607 |
"output": { |
| 608 |
"FaceDetails": [ |
| 609 |
{ |
| 610 |
"BoundingBox": { |
| 611 |
"Height": 0.18000000715255737, |
| 612 |
"Left": 0.5555555820465088, |
| 613 |
"Top": 0.33666667342185974, |
| 614 |
"Width": 0.23999999463558197 |
| 615 |
}, |
| 616 |
"Confidence": 100, |
| 617 |
"Landmarks": [ |
| 618 |
{ |
| 619 |
"Type": "eyeLeft", |
| 620 |
"X": 0.6394737362861633, |
| 621 |
"Y": 0.40819624066352844 |
| 622 |
}, |
| 623 |
{ |
| 624 |
"Type": "eyeRight", |
| 625 |
"X": 0.7266660928726196, |
| 626 |
"Y": 0.41039225459098816 |
| 627 |
}, |
| 628 |
{ |
| 629 |
"Type": "eyeRight", |
| 630 |
"X": 0.6912462115287781, |
| 631 |
"Y": 0.44240960478782654 |
| 632 |
}, |
| 633 |
{ |
| 634 |
"Type": "mouthDown", |
| 635 |
"X": 0.6306198239326477, |
| 636 |
"Y": 0.46700039505958557 |
| 637 |
}, |
| 638 |
{ |
| 639 |
"Type": "mouthUp", |
| 640 |
"X": 0.7215608954429626, |
| 641 |
"Y": 0.47114261984825134 |
| 642 |
} |
| 643 |
], |
| 644 |
"Pose": { |
| 645 |
"Pitch": 4.050806522369385, |
| 646 |
"Roll": 0.9950747489929199, |
| 647 |
"Yaw": 13.693790435791016 |
| 648 |
}, |
| 649 |
"Quality": { |
| 650 |
"Brightness": 37.60169982910156, |
| 651 |
"Sharpness": 80 |
| 652 |
} |
| 653 |
} |
| 654 |
], |
| 655 |
"OrientationCorrection": "ROTATE_0" |
| 656 |
}, |
| 657 |
"comments": { |
| 658 |
"input": { |
| 659 |
}, |
| 660 |
"output": { |
| 661 |
} |
| 662 |
}, |
| 663 |
"description": "This operation detects faces in an image stored in an AWS S3 bucket.", |
| 664 |
"id": "to-detect-faces-in-an-image-1481841782793", |
| 665 |
"title": "To detect faces in an image" |
| 666 |
} |
| 667 |
], |
| 668 |
"DetectLabels": [ |
| 669 |
{ |
| 670 |
"input": { |
| 671 |
"Image": { |
| 672 |
"S3Object": { |
| 673 |
"Bucket": "mybucket", |
| 674 |
"Name": "myphoto" |
| 675 |
} |
| 676 |
}, |
| 677 |
"MaxLabels": 123, |
| 678 |
"MinConfidence": 70 |
| 679 |
}, |
| 680 |
"output": { |
| 681 |
"Labels": [ |
| 682 |
{ |
| 683 |
"Confidence": 99.25072479248047, |
| 684 |
"Name": "People" |
| 685 |
}, |
| 686 |
{ |
| 687 |
"Confidence": 99.25074005126953, |
| 688 |
"Name": "Person" |
| 689 |
} |
| 690 |
] |
| 691 |
}, |
| 692 |
"comments": { |
| 693 |
"input": { |
| 694 |
}, |
| 695 |
"output": { |
| 696 |
} |
| 697 |
}, |
| 698 |
"description": "This operation detects labels in the supplied image", |
| 699 |
"id": "to-detect-labels-1481834255770", |
| 700 |
"title": "To detect labels" |
| 701 |
} |
| 702 |
], |
| 703 |
"DisassociateFaces": [ |
| 704 |
{ |
| 705 |
"input": { |
| 706 |
"ClientRequestToken": "550e8400-e29b-41d4-a716-446655440003", |
| 707 |
"CollectionId": "MyCollection", |
| 708 |
"FaceIds": [ |
| 709 |
"f5817d37-94f6-4335-bfee-6cf79a3d806e", |
| 710 |
"c92265d4-5f9c-43af-a58e-12be0ce02bc3" |
| 711 |
], |
| 712 |
"UserId": "DemoUser" |
| 713 |
}, |
| 714 |
"output": { |
| 715 |
"DisassociatedFaces": [ |
| 716 |
{ |
| 717 |
"FaceId": "c92265d4-5f9c-43af-a58e-12be0ce02bc3" |
| 718 |
} |
| 719 |
], |
| 720 |
"UnsuccessfulFaceDisassociations": [ |
| 721 |
{ |
| 722 |
"FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e", |
| 723 |
"Reasons": [ |
| 724 |
"ASSOCIATED_TO_A_DIFFERENT_USER" |
| 725 |
], |
| 726 |
"UserId": "demoUser1" |
| 727 |
} |
| 728 |
], |
| 729 |
"UserStatus": "UPDATING" |
| 730 |
}, |
| 731 |
"comments": { |
| 732 |
"input": { |
| 733 |
}, |
| 734 |
"output": { |
| 735 |
} |
| 736 |
}, |
| 737 |
"description": "Removes the association between a Face supplied in an array of FaceIds and the User.", |
| 738 |
"id": "disassociatefaces-1686182627295", |
| 739 |
"title": "DisassociateFaces" |
| 740 |
} |
| 741 |
], |
| 742 |
"DistributeDatasetEntries": [ |
| 743 |
{ |
| 744 |
"input": { |
| 745 |
"Datasets": [ |
| 746 |
{ |
| 747 |
"Arn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106" |
| 748 |
}, |
| 749 |
{ |
| 750 |
"Arn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/test/1690564858106" |
| 751 |
} |
| 752 |
] |
| 753 |
}, |
| 754 |
"output": { |
| 755 |
}, |
| 756 |
"comments": { |
| 757 |
"input": { |
| 758 |
}, |
| 759 |
"output": { |
| 760 |
} |
| 761 |
}, |
| 762 |
"description": "Distributes an Amazon Rekognition Custom Labels training dataset to a test dataset.", |
| 763 |
"id": "to-distribute-to-an-amazon-rekognition-custom-labels-dataset-1690816977073", |
| 764 |
"title": "To distribute an Amazon Rekognition Custom Labels dataset" |
| 765 |
} |
| 766 |
], |
| 767 |
"GetMediaAnalysisJob": [ |
| 768 |
{ |
| 769 |
"input": { |
| 770 |
"JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537" |
| 771 |
}, |
| 772 |
"output": { |
| 773 |
"CompletionTimestamp": "2023-07-28T08:05:51.958000-07:00", |
| 774 |
"CreationTimestamp": "2023-07-28T08:05:51.958000-06:00", |
| 775 |
"Input": { |
| 776 |
"S3Object": { |
| 777 |
"Bucket": "input-bucket", |
| 778 |
"Name": "input-manifest.json" |
| 779 |
} |
| 780 |
}, |
| 781 |
"JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537", |
| 782 |
"JobName": "job-name", |
| 783 |
"ManifestSummary": { |
| 784 |
"S3Object": { |
| 785 |
"Bucket": "output-bucket", |
| 786 |
"Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-manifest-summary.json" |
| 787 |
} |
| 788 |
}, |
| 789 |
"OperationsConfig": { |
| 790 |
"DetectModerationLabels": { |
| 791 |
"MinConfidence": 50, |
| 792 |
"ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 793 |
} |
| 794 |
}, |
| 795 |
"OutputConfig": { |
| 796 |
"S3Bucket": "output-bucket", |
| 797 |
"S3KeyPrefix": "output-location" |
| 798 |
}, |
| 799 |
"Results": { |
| 800 |
"S3Object": { |
| 801 |
"Bucket": "output-bucket", |
| 802 |
"Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-results.jsonl" |
| 803 |
} |
| 804 |
}, |
| 805 |
"Status": "SUCCEEDED" |
| 806 |
}, |
| 807 |
"comments": { |
| 808 |
"input": { |
| 809 |
}, |
| 810 |
"output": { |
| 811 |
} |
| 812 |
}, |
| 813 |
"description": "Retrieves the results for a given media analysis job.", |
| 814 |
"id": "getmediaanalysisjob-1697650068124", |
| 815 |
"title": "GetMediaAnalysisJob" |
| 816 |
} |
| 817 |
], |
| 818 |
"IndexFaces": [ |
| 819 |
{ |
| 820 |
"input": { |
| 821 |
"CollectionId": "myphotos", |
| 822 |
"DetectionAttributes": [ |
| 823 |
|
| 824 |
], |
| 825 |
"ExternalImageId": "myphotoid", |
| 826 |
"Image": { |
| 827 |
"S3Object": { |
| 828 |
"Bucket": "mybucket", |
| 829 |
"Name": "myphoto" |
| 830 |
} |
| 831 |
} |
| 832 |
}, |
| 833 |
"output": { |
| 834 |
"FaceRecords": [ |
| 835 |
{ |
| 836 |
"Face": { |
| 837 |
"BoundingBox": { |
| 838 |
"Height": 0.33481481671333313, |
| 839 |
"Left": 0.31888890266418457, |
| 840 |
"Top": 0.4933333396911621, |
| 841 |
"Width": 0.25 |
| 842 |
}, |
| 843 |
"Confidence": 99.9991226196289, |
| 844 |
"FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b", |
| 845 |
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" |
| 846 |
}, |
| 847 |
"FaceDetail": { |
| 848 |
"BoundingBox": { |
| 849 |
"Height": 0.33481481671333313, |
| 850 |
"Left": 0.31888890266418457, |
| 851 |
"Top": 0.4933333396911621, |
| 852 |
"Width": 0.25 |
| 853 |
}, |
| 854 |
"Confidence": 99.9991226196289, |
| 855 |
"Landmarks": [ |
| 856 |
{ |
| 857 |
"Type": "eyeLeft", |
| 858 |
"X": 0.3976764678955078, |
| 859 |
"Y": 0.6248345971107483 |
| 860 |
}, |
| 861 |
{ |
| 862 |
"Type": "eyeRight", |
| 863 |
"X": 0.4810936450958252, |
| 864 |
"Y": 0.6317117214202881 |
| 865 |
}, |
| 866 |
{ |
| 867 |
"Type": "noseLeft", |
| 868 |
"X": 0.41986238956451416, |
| 869 |
"Y": 0.7111940383911133 |
| 870 |
}, |
| 871 |
{ |
| 872 |
"Type": "mouthDown", |
| 873 |
"X": 0.40525302290916443, |
| 874 |
"Y": 0.7497701048851013 |
| 875 |
}, |
| 876 |
{ |
| 877 |
"Type": "mouthUp", |
| 878 |
"X": 0.4753248989582062, |
| 879 |
"Y": 0.7558549642562866 |
| 880 |
} |
| 881 |
], |
| 882 |
"Pose": { |
| 883 |
"Pitch": -9.713645935058594, |
| 884 |
"Roll": 4.707281112670898, |
| 885 |
"Yaw": -24.438663482666016 |
| 886 |
}, |
| 887 |
"Quality": { |
| 888 |
"Brightness": 29.23358917236328, |
| 889 |
"Sharpness": 80 |
| 890 |
} |
| 891 |
} |
| 892 |
}, |
| 893 |
{ |
| 894 |
"Face": { |
| 895 |
"BoundingBox": { |
| 896 |
"Height": 0.32592591643333435, |
| 897 |
"Left": 0.5144444704055786, |
| 898 |
"Top": 0.15111111104488373, |
| 899 |
"Width": 0.24444444477558136 |
| 900 |
}, |
| 901 |
"Confidence": 99.99950408935547, |
| 902 |
"FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2", |
| 903 |
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" |
| 904 |
}, |
| 905 |
"FaceDetail": { |
| 906 |
"BoundingBox": { |
| 907 |
"Height": 0.32592591643333435, |
| 908 |
"Left": 0.5144444704055786, |
| 909 |
"Top": 0.15111111104488373, |
| 910 |
"Width": 0.24444444477558136 |
| 911 |
}, |
| 912 |
"Confidence": 99.99950408935547, |
| 913 |
"Landmarks": [ |
| 914 |
{ |
| 915 |
"Type": "eyeLeft", |
| 916 |
"X": 0.6006892323493958, |
| 917 |
"Y": 0.290842205286026 |
| 918 |
}, |
| 919 |
{ |
| 920 |
"Type": "eyeRight", |
| 921 |
"X": 0.6808141469955444, |
| 922 |
"Y": 0.29609042406082153 |
| 923 |
}, |
| 924 |
{ |
| 925 |
"Type": "noseLeft", |
| 926 |
"X": 0.6395332217216492, |
| 927 |
"Y": 0.3522595763206482 |
| 928 |
}, |
| 929 |
{ |
| 930 |
"Type": "mouthDown", |
| 931 |
"X": 0.5892083048820496, |
| 932 |
"Y": 0.38689887523651123 |
| 933 |
}, |
| 934 |
{ |
| 935 |
"Type": "mouthUp", |
| 936 |
"X": 0.674560010433197, |
| 937 |
"Y": 0.394125759601593 |
| 938 |
} |
| 939 |
], |
| 940 |
"Pose": { |
| 941 |
"Pitch": -4.683138370513916, |
| 942 |
"Roll": 2.1029529571533203, |
| 943 |
"Yaw": 6.716655254364014 |
| 944 |
}, |
| 945 |
"Quality": { |
| 946 |
"Brightness": 34.951698303222656, |
| 947 |
"Sharpness": 160 |
| 948 |
} |
| 949 |
} |
| 950 |
} |
| 951 |
], |
| 952 |
"OrientationCorrection": "ROTATE_0" |
| 953 |
}, |
| 954 |
"comments": { |
| 955 |
"input": { |
| 956 |
}, |
| 957 |
"output": { |
| 958 |
} |
| 959 |
}, |
| 960 |
"description": "This operation detects faces in an image and adds them to the specified Rekognition collection.", |
| 961 |
"id": "to-add-a-face-to-a-collection-1482179542923", |
| 962 |
"title": "To add a face to a collection" |
| 963 |
} |
| 964 |
], |
| 965 |
"ListCollections": [ |
| 966 |
{ |
| 967 |
"input": { |
| 968 |
}, |
| 969 |
"output": { |
| 970 |
"CollectionIds": [ |
| 971 |
"myphotos" |
| 972 |
] |
| 973 |
}, |
| 974 |
"comments": { |
| 975 |
"input": { |
| 976 |
}, |
| 977 |
"output": { |
| 978 |
} |
| 979 |
}, |
| 980 |
"description": "This operation returns a list of Rekognition collections.", |
| 981 |
"id": "to-list-the-collections-1482179199088", |
| 982 |
"title": "To list the collections" |
| 983 |
} |
| 984 |
], |
| 985 |
"ListDatasetEntries": [ |
| 986 |
{ |
| 987 |
"input": { |
| 988 |
"ContainsLabels": [ |
| 989 |
"camellia" |
| 990 |
], |
| 991 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106", |
| 992 |
"HasErrors": true, |
| 993 |
"Labeled": true, |
| 994 |
"MaxResults": 100, |
| 995 |
"NextToken": "", |
| 996 |
"SourceRefContains": "camellia4.jpg" |
| 997 |
}, |
| 998 |
"output": { |
| 999 |
"DatasetEntries": [ |
| 1000 |
"{\"source-ref\":\"s3://custom-labels-console-us-east-1-1111111111/assets/flowers_1_train_dataset/camellia4.jpg\",\"camellia\":1,\"camellia-metadata\":{\"confidence\":1,\"job-name\":\"labeling-job/camellia\",\"class-name\":\"camellia\",\"human-annotated\":\"yes\",\"creation-date\":\"2021-07-11T03:32:13.456Z\",\"type\":\"groundtruth/image-classification\"},\"with_leaves\":1,\"with_leaves-metadata\":{\"confidence\":1,\"job-name\":\"labeling-job/with_leaves\",\"class-name\":\"with_leaves\",\"human-annotated\":\"yes\",\"creation-date\":\"2021-07-11T03:32:13.456Z\",\"type\":\"groundtruth/image-classification\"},\"cl-metadata\":{\"is_labeled\":true}}" |
| 1001 |
], |
| 1002 |
"NextToken": "" |
| 1003 |
}, |
| 1004 |
"comments": { |
| 1005 |
"input": { |
| 1006 |
}, |
| 1007 |
"output": { |
| 1008 |
} |
| 1009 |
}, |
| 1010 |
"description": "Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.", |
| 1011 |
"id": "to-list-the-entries-in-an-amazon-rekognition-custom-labels-dataset-1690823292345", |
| 1012 |
"title": "To list the entries in an Amazon Rekognition Custom Labels dataset" |
| 1013 |
} |
| 1014 |
], |
| 1015 |
"ListDatasetLabels": [ |
| 1016 |
{ |
| 1017 |
"input": { |
| 1018 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106", |
| 1019 |
"MaxResults": 100, |
| 1020 |
"NextToken": "" |
| 1021 |
}, |
| 1022 |
"output": { |
| 1023 |
"DatasetLabelDescriptions": [ |
| 1024 |
{ |
| 1025 |
"LabelName": "camellia", |
| 1026 |
"LabelStats": { |
| 1027 |
"EntryCount": 1 |
| 1028 |
} |
| 1029 |
}, |
| 1030 |
{ |
| 1031 |
"LabelName": "with_leaves", |
| 1032 |
"LabelStats": { |
| 1033 |
"EntryCount": 2 |
| 1034 |
} |
| 1035 |
}, |
| 1036 |
{ |
| 1037 |
"LabelName": "mediterranean_spurge", |
| 1038 |
"LabelStats": { |
| 1039 |
"EntryCount": 1 |
| 1040 |
} |
| 1041 |
} |
| 1042 |
] |
| 1043 |
}, |
| 1044 |
"comments": { |
| 1045 |
"input": { |
| 1046 |
}, |
| 1047 |
"output": { |
| 1048 |
} |
| 1049 |
}, |
| 1050 |
"description": "Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.", |
| 1051 |
"id": "to-list-the-entries-in-an-amazon-rekognition-custom-labels-dataset-1690823292345", |
| 1052 |
"title": "To list the entries in an Amazon Rekognition Custom Labels dataset" |
| 1053 |
} |
| 1054 |
], |
| 1055 |
"ListFaces": [ |
| 1056 |
{ |
| 1057 |
"input": { |
| 1058 |
"CollectionId": "myphotos", |
| 1059 |
"MaxResults": 20 |
| 1060 |
}, |
| 1061 |
"output": { |
| 1062 |
"FaceModelVersion": "6.0", |
| 1063 |
"Faces": [ |
| 1064 |
{ |
| 1065 |
"BoundingBox": { |
| 1066 |
"Height": 0.056759100407361984, |
| 1067 |
"Left": 0.3453829884529114, |
| 1068 |
"Top": 0.36568498611450195, |
| 1069 |
"Width": 0.03177810087800026 |
| 1070 |
}, |
| 1071 |
"Confidence": 99.76940155029297, |
| 1072 |
"FaceId": "c92265d4-5f9c-43af-a58e-12be0ce02bc3", |
| 1073 |
"ImageId": "56a0ca74-1c83-39dd-b363-051a64168a65", |
| 1074 |
"IndexFacesModelVersion": "6.0", |
| 1075 |
"UserId": "demoUser2" |
| 1076 |
}, |
| 1077 |
{ |
| 1078 |
"BoundingBox": { |
| 1079 |
"Height": 0.06347999721765518, |
| 1080 |
"Left": 0.5160620212554932, |
| 1081 |
"Top": 0.6080359816551208, |
| 1082 |
"Width": 0.03254450112581253 |
| 1083 |
}, |
| 1084 |
"Confidence": 99.94369506835938, |
| 1085 |
"FaceId": "851cb847-dccc-4fea-9309-9f4805967855", |
| 1086 |
"ImageId": "a8aed589-ceec-35f7-9c04-82e0b546b024", |
| 1087 |
"IndexFacesModelVersion": "6.0" |
| 1088 |
}, |
| 1089 |
{ |
| 1090 |
"BoundingBox": { |
| 1091 |
"Height": 0.05266290158033371, |
| 1092 |
"Left": 0.6513839960098267, |
| 1093 |
"Top": 0.4218429923057556, |
| 1094 |
"Width": 0.03094629943370819 |
| 1095 |
}, |
| 1096 |
"Confidence": 99.82969665527344, |
| 1097 |
"FaceId": "c0eb3b65-24a0-41e1-b23a-1908b1aaeac1", |
| 1098 |
"ImageId": "56a0ca74-1c83-39dd-b363-051a64168a65", |
| 1099 |
"IndexFacesModelVersion": "6.0" |
| 1100 |
} |
| 1101 |
] |
| 1102 |
}, |
| 1103 |
"comments": { |
| 1104 |
"input": { |
| 1105 |
}, |
| 1106 |
"output": { |
| 1107 |
} |
| 1108 |
}, |
| 1109 |
"description": "This operation lists the faces in a Rekognition collection.", |
| 1110 |
"id": "to-list-the-faces-in-a-collection-1482181416530", |
| 1111 |
"title": "To list the faces in a collection" |
| 1112 |
} |
| 1113 |
], |
| 1114 |
"ListMediaAnalysisJobs": [ |
| 1115 |
{ |
| 1116 |
"input": { |
| 1117 |
"MaxResults": 10 |
| 1118 |
}, |
| 1119 |
"output": { |
| 1120 |
"MediaAnalysisJobs": [ |
| 1121 |
{ |
| 1122 |
"CompletionTimestamp": "2023-07-28T08:05:51.958000-07:00", |
| 1123 |
"CreationTimestamp": "2023-07-28T08:05:51.958000-06:00", |
| 1124 |
"Input": { |
| 1125 |
"S3Object": { |
| 1126 |
"Bucket": "input-bucket", |
| 1127 |
"Name": "input-manifest.json" |
| 1128 |
} |
| 1129 |
}, |
| 1130 |
"JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537", |
| 1131 |
"JobName": "job-name", |
| 1132 |
"ManifestSummary": { |
| 1133 |
"S3Object": { |
| 1134 |
"Bucket": "output-bucket", |
| 1135 |
"Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-manifest-summary.json" |
| 1136 |
} |
| 1137 |
}, |
| 1138 |
"OperationsConfig": { |
| 1139 |
"DetectModerationLabels": { |
| 1140 |
"MinConfidence": 50, |
| 1141 |
"ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 1142 |
} |
| 1143 |
}, |
| 1144 |
"OutputConfig": { |
| 1145 |
"S3Bucket": "output-bucket", |
| 1146 |
"S3KeyPrefix": "output-location" |
| 1147 |
}, |
| 1148 |
"Results": { |
| 1149 |
"S3Object": { |
| 1150 |
"Bucket": "output-bucket", |
| 1151 |
"Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-results.jsonl" |
| 1152 |
} |
| 1153 |
}, |
| 1154 |
"Status": "SUCCEEDED" |
| 1155 |
} |
| 1156 |
] |
| 1157 |
}, |
| 1158 |
"comments": { |
| 1159 |
"input": { |
| 1160 |
}, |
| 1161 |
"output": { |
| 1162 |
} |
| 1163 |
}, |
| 1164 |
"description": "Returns a list of media analysis jobs.", |
| 1165 |
"id": "listmediaanalysisjobs-1697650653077", |
| 1166 |
"title": "ListMediaAnalysisJobs" |
| 1167 |
} |
| 1168 |
], |
| 1169 |
"ListProjectPolicies": [ |
| 1170 |
{ |
| 1171 |
"input": { |
| 1172 |
"MaxResults": 5, |
| 1173 |
"NextToken": "", |
| 1174 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929" |
| 1175 |
}, |
| 1176 |
"output": { |
| 1177 |
"NextToken": "", |
| 1178 |
"ProjectPolicies": [ |
| 1179 |
{ |
| 1180 |
"CreationTimestamp": "2022-07-01T11:51:27.086000-07:00", |
| 1181 |
"LastUpdatedTimestamp": "2022-07-01T11:51:27.086000-07:00", |
| 1182 |
"PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Statemented1\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:root\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"*\"}]}", |
| 1183 |
"PolicyName": "testPolicy", |
| 1184 |
"PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc", |
| 1185 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929" |
| 1186 |
} |
| 1187 |
] |
| 1188 |
}, |
| 1189 |
"comments": { |
| 1190 |
"input": { |
| 1191 |
}, |
| 1192 |
"output": { |
| 1193 |
} |
| 1194 |
}, |
| 1195 |
"description": "This operation lists the project policies that are attached to an Amazon Rekognition Custom Labels project.", |
| 1196 |
"id": "listprojectpolicies-1658202290173", |
| 1197 |
"title": "ListProjectPolicies" |
| 1198 |
} |
| 1199 |
], |
| 1200 |
"ListUsers": [ |
| 1201 |
{ |
| 1202 |
"input": { |
| 1203 |
"CollectionId": "MyCollection" |
| 1204 |
}, |
| 1205 |
"output": { |
| 1206 |
"NextToken": "MGYZLAHX1T5a....", |
| 1207 |
"Users": [ |
| 1208 |
{ |
| 1209 |
"UserId": "demoUser4", |
| 1210 |
"UserStatus": "CREATED" |
| 1211 |
}, |
| 1212 |
{ |
| 1213 |
"UserId": "demoUser2", |
| 1214 |
"UserStatus": "CREATED" |
| 1215 |
} |
| 1216 |
] |
| 1217 |
}, |
| 1218 |
"comments": { |
| 1219 |
"input": { |
| 1220 |
}, |
| 1221 |
"output": { |
| 1222 |
} |
| 1223 |
}, |
| 1224 |
"description": "Returns metadata of the User such as UserID in the specified collection.", |
| 1225 |
"id": "listusers-1686182360075", |
| 1226 |
"title": "ListUsers" |
| 1227 |
} |
| 1228 |
], |
| 1229 |
"PutProjectPolicy": [ |
| 1230 |
{ |
| 1231 |
"input": { |
| 1232 |
"PolicyDocument": "'{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"ALLOW\",\"Principal\":{\"AWS\":\"principal\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"arn:aws:rekognition:us-east-1:123456789012:project/my-sdk-project/version/DestinationVersionName/1627045542080\"}]}'", |
| 1233 |
"PolicyName": "SamplePolicy", |
| 1234 |
"PolicyRevisionId": "0123456789abcdef", |
| 1235 |
"ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929" |
| 1236 |
}, |
| 1237 |
"output": { |
| 1238 |
"PolicyRevisionId": "0123456789abcdef" |
| 1239 |
}, |
| 1240 |
"comments": { |
| 1241 |
"input": { |
| 1242 |
}, |
| 1243 |
"output": { |
| 1244 |
} |
| 1245 |
}, |
| 1246 |
"description": "This operation attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account.", |
| 1247 |
"id": "putprojectpolicy-1658201727623", |
| 1248 |
"title": "PutProjectPolicy" |
| 1249 |
} |
| 1250 |
], |
| 1251 |
"SearchFaces": [ |
| 1252 |
{ |
| 1253 |
"input": { |
| 1254 |
"CollectionId": "myphotos", |
| 1255 |
"FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14", |
| 1256 |
"FaceMatchThreshold": 90, |
| 1257 |
"MaxFaces": 10 |
| 1258 |
}, |
| 1259 |
"output": { |
| 1260 |
"FaceMatches": [ |
| 1261 |
{ |
| 1262 |
"Face": { |
| 1263 |
"BoundingBox": { |
| 1264 |
"Height": 0.3259260058403015, |
| 1265 |
"Left": 0.5144439935684204, |
| 1266 |
"Top": 0.15111100673675537, |
| 1267 |
"Width": 0.24444399774074554 |
| 1268 |
}, |
| 1269 |
"Confidence": 99.99949645996094, |
| 1270 |
"FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2", |
| 1271 |
"ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1" |
| 1272 |
}, |
| 1273 |
"Similarity": 99.97222137451172 |
| 1274 |
}, |
| 1275 |
{ |
| 1276 |
"Face": { |
| 1277 |
"BoundingBox": { |
| 1278 |
"Height": 0.16555599868297577, |
| 1279 |
"Left": 0.30963000655174255, |
| 1280 |
"Top": 0.7066670060157776, |
| 1281 |
"Width": 0.22074100375175476 |
| 1282 |
}, |
| 1283 |
"Confidence": 100, |
| 1284 |
"FaceId": "29a75abe-397b-5101-ba4f-706783b2246c", |
| 1285 |
"ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e" |
| 1286 |
}, |
| 1287 |
"Similarity": 97.04154968261719 |
| 1288 |
}, |
| 1289 |
{ |
| 1290 |
"Face": { |
| 1291 |
"BoundingBox": { |
| 1292 |
"Height": 0.18888899683952332, |
| 1293 |
"Left": 0.3783380091190338, |
| 1294 |
"Top": 0.2355560064315796, |
| 1295 |
"Width": 0.25222599506378174 |
| 1296 |
}, |
| 1297 |
"Confidence": 99.9999008178711, |
| 1298 |
"FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5", |
| 1299 |
"ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07" |
| 1300 |
}, |
| 1301 |
"Similarity": 95.94520568847656 |
| 1302 |
} |
| 1303 |
], |
| 1304 |
"SearchedFaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14" |
| 1305 |
}, |
| 1306 |
"comments": { |
| 1307 |
"input": { |
| 1308 |
}, |
| 1309 |
"output": { |
| 1310 |
} |
| 1311 |
}, |
| 1312 |
"description": "This operation searches for matching faces in the collection the supplied face belongs to.", |
| 1313 |
"id": "to-delete-a-face-1482182799377", |
| 1314 |
"title": "To delete a face" |
| 1315 |
} |
| 1316 |
], |
| 1317 |
"SearchFacesByImage": [ |
| 1318 |
{ |
| 1319 |
"input": { |
| 1320 |
"CollectionId": "myphotos", |
| 1321 |
"FaceMatchThreshold": 95, |
| 1322 |
"Image": { |
| 1323 |
"S3Object": { |
| 1324 |
"Bucket": "mybucket", |
| 1325 |
"Name": "myphoto" |
| 1326 |
} |
| 1327 |
}, |
| 1328 |
"MaxFaces": 5 |
| 1329 |
}, |
| 1330 |
"output": { |
| 1331 |
"FaceMatches": [ |
| 1332 |
{ |
| 1333 |
"Face": { |
| 1334 |
"BoundingBox": { |
| 1335 |
"Height": 0.3234420120716095, |
| 1336 |
"Left": 0.3233329951763153, |
| 1337 |
"Top": 0.5, |
| 1338 |
"Width": 0.24222199618816376 |
| 1339 |
}, |
| 1340 |
"Confidence": 99.99829864501953, |
| 1341 |
"FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85", |
| 1342 |
"ImageId": "d5631190-d039-54e4-b267-abd22c8647c5" |
| 1343 |
}, |
| 1344 |
"Similarity": 99.97036743164062 |
| 1345 |
} |
| 1346 |
], |
| 1347 |
"SearchedFaceBoundingBox": { |
| 1348 |
"Height": 0.33481481671333313, |
| 1349 |
"Left": 0.31888890266418457, |
| 1350 |
"Top": 0.4933333396911621, |
| 1351 |
"Width": 0.25 |
| 1352 |
}, |
| 1353 |
"SearchedFaceConfidence": 99.9991226196289 |
| 1354 |
}, |
| 1355 |
"comments": { |
| 1356 |
"input": { |
| 1357 |
}, |
| 1358 |
"output": { |
| 1359 |
} |
| 1360 |
}, |
| 1361 |
"description": "This operation searches for faces in a Rekognition collection that match the largest face in an S3 bucket stored image.", |
| 1362 |
"id": "to-search-for-faces-matching-a-supplied-image-1482175994491", |
| 1363 |
"title": "To search for faces matching a supplied image" |
| 1364 |
} |
| 1365 |
], |
| 1366 |
"SearchUsers": [ |
| 1367 |
{ |
| 1368 |
"input": { |
| 1369 |
"CollectionId": "MyCollection", |
| 1370 |
"MaxUsers": 2, |
| 1371 |
"UserId": "DemoUser", |
| 1372 |
"UserMatchThreshold": 70 |
| 1373 |
}, |
| 1374 |
"output": { |
| 1375 |
"FaceModelVersion": "6", |
| 1376 |
"SearchedUser": { |
| 1377 |
"UserId": "DemoUser" |
| 1378 |
}, |
| 1379 |
"UserMatches": [ |
| 1380 |
{ |
| 1381 |
"Similarity": 99.88186645507812, |
| 1382 |
"User": { |
| 1383 |
"UserId": "demoUser1", |
| 1384 |
"UserStatus": "ACTIVE" |
| 1385 |
} |
| 1386 |
} |
| 1387 |
] |
| 1388 |
}, |
| 1389 |
"comments": { |
| 1390 |
"input": { |
| 1391 |
}, |
| 1392 |
"output": { |
| 1393 |
} |
| 1394 |
}, |
| 1395 |
"description": "Searches for UserIDs within a collection based on a FaceId or UserId.", |
| 1396 |
"id": "searchusers-1686182912030", |
| 1397 |
"title": "SearchUsers" |
| 1398 |
} |
| 1399 |
], |
| 1400 |
"SearchUsersByImage": [ |
| 1401 |
{ |
| 1402 |
"input": { |
| 1403 |
"CollectionId": "MyCollection", |
| 1404 |
"Image": { |
| 1405 |
"S3Object": { |
| 1406 |
"Bucket": "bucket", |
| 1407 |
"Name": "input.jpg" |
| 1408 |
} |
| 1409 |
}, |
| 1410 |
"MaxUsers": 2, |
| 1411 |
"QualityFilter": "MEDIUM", |
| 1412 |
"UserMatchThreshold": 70 |
| 1413 |
}, |
| 1414 |
"output": { |
| 1415 |
"FaceModelVersion": "6", |
| 1416 |
"SearchedFace": { |
| 1417 |
"FaceDetail": { |
| 1418 |
"BoundingBox": { |
| 1419 |
"Height": 0.07510016113519669, |
| 1420 |
"Left": 0.3598678708076477, |
| 1421 |
"Top": 0.5391526818275452, |
| 1422 |
"Width": 0.03692837432026863 |
| 1423 |
} |
| 1424 |
} |
| 1425 |
}, |
| 1426 |
"UnsearchedFaces": [ |
| 1427 |
{ |
| 1428 |
"FaceDetails": { |
| 1429 |
"BoundingBox": { |
| 1430 |
"Height": 0.0682177022099495, |
| 1431 |
"Left": 0.6102562546730042, |
| 1432 |
"Top": 0.5593535900115967, |
| 1433 |
"Width": 0.031677018851041794 |
| 1434 |
} |
| 1435 |
}, |
| 1436 |
"Reasons": [ |
| 1437 |
"FACE_NOT_LARGEST" |
| 1438 |
] |
| 1439 |
}, |
| 1440 |
{ |
| 1441 |
"FaceDetails": { |
| 1442 |
"BoundingBox": { |
| 1443 |
"Height": 0.06347997486591339, |
| 1444 |
"Left": 0.516062319278717, |
| 1445 |
"Top": 0.6080358028411865, |
| 1446 |
"Width": 0.03254449740052223 |
| 1447 |
} |
| 1448 |
}, |
| 1449 |
"Reasons": [ |
| 1450 |
"FACE_NOT_LARGEST" |
| 1451 |
] |
| 1452 |
} |
| 1453 |
], |
| 1454 |
"UserMatches": [ |
| 1455 |
{ |
| 1456 |
"Similarity": 99.88186645507812, |
| 1457 |
"User": { |
| 1458 |
"UserId": "demoUser1", |
| 1459 |
"UserStatus": "ACTIVE" |
| 1460 |
} |
| 1461 |
} |
| 1462 |
] |
| 1463 |
}, |
| 1464 |
"comments": { |
| 1465 |
"input": { |
| 1466 |
}, |
| 1467 |
"output": { |
| 1468 |
} |
| 1469 |
}, |
| 1470 |
"description": "Searches for UserIDs using a supplied image.", |
| 1471 |
"id": "searchusersbyimage-1686183178610", |
| 1472 |
"title": "SearchUsersByImage" |
| 1473 |
} |
| 1474 |
], |
| 1475 |
"StartMediaAnalysisJob": [ |
| 1476 |
{ |
| 1477 |
"input": { |
| 1478 |
"Input": { |
| 1479 |
"S3Object": { |
| 1480 |
"Bucket": "input-bucket", |
| 1481 |
"Name": "input-manifest.json" |
| 1482 |
} |
| 1483 |
}, |
| 1484 |
"JobName": "job-name", |
| 1485 |
"OperationsConfig": { |
| 1486 |
"DetectModerationLabels": { |
| 1487 |
"MinConfidence": 50, |
| 1488 |
"ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 1489 |
} |
| 1490 |
}, |
| 1491 |
"OutputConfig": { |
| 1492 |
"S3Bucket": "output-bucket", |
| 1493 |
"S3KeyPrefix": "output-location" |
| 1494 |
} |
| 1495 |
}, |
| 1496 |
"output": { |
| 1497 |
"JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537" |
| 1498 |
}, |
| 1499 |
"comments": { |
| 1500 |
"input": { |
| 1501 |
}, |
| 1502 |
"output": { |
| 1503 |
} |
| 1504 |
}, |
| 1505 |
"description": "Initiates a new media analysis job.", |
| 1506 |
"id": "startmediaanalysisjob-1697651090922", |
| 1507 |
"title": "StartMediaAnalysisJob" |
| 1508 |
} |
| 1509 |
], |
| 1510 |
"StartProjectVersion": [ |
| 1511 |
{ |
| 1512 |
"input": { |
| 1513 |
"MaxInferenceUnits": 1, |
| 1514 |
"MinInferenceUnits": 1, |
| 1515 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 1516 |
}, |
| 1517 |
"output": { |
| 1518 |
"Status": "STARTING" |
| 1519 |
}, |
| 1520 |
"comments": { |
| 1521 |
"input": { |
| 1522 |
}, |
| 1523 |
"output": { |
| 1524 |
} |
| 1525 |
}, |
| 1526 |
"description": "Starts a version of an Amazon Rekognition Custom Labels model.", |
| 1527 |
"id": "to-start-an-amazon-rekognition-custom-labels-model-1690559168398", |
| 1528 |
"title": "To start an Amazon Rekognition Custom Labels model" |
| 1529 |
} |
| 1530 |
], |
| 1531 |
"StopProjectVersion": [ |
| 1532 |
{ |
| 1533 |
"input": { |
| 1534 |
"ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958" |
| 1535 |
}, |
| 1536 |
"output": { |
| 1537 |
"Status": "STOPPING" |
| 1538 |
}, |
| 1539 |
"comments": { |
| 1540 |
"input": { |
| 1541 |
}, |
| 1542 |
"output": { |
| 1543 |
} |
| 1544 |
}, |
| 1545 |
"description": "Stops a version of an Amazon Rekognition Custom Labels model.", |
| 1546 |
"id": "to-stop-an-amazon-rekognition-custom-labels-model-1690561110698", |
| 1547 |
"title": "To stop an Amazon Rekognition Custom Labels model." |
| 1548 |
} |
| 1549 |
], |
| 1550 |
"UpdateDatasetEntries": [ |
| 1551 |
{ |
| 1552 |
"input": { |
| 1553 |
"Changes": { |
| 1554 |
"GroundTruth": "{\"source-ref\":\"s3://custom-labels-console-us-east-1-111111111/assets/flowers_1_test_dataset/mediterranean_spurge4.jpg\",\"mediterranean_spurge\":1,\"mediterranean_spurge-metadata\":{\"confidence\":1,\"job-name\":\"labeling-job/mediterranean_spurge\",\"class-name\":\"mediterranean_spurge\",\"human-annotated\":\"yes\",\"creation-date\":\"2021-07-11T03:33:42.025Z\",\"type\":\"groundtruth/image-classification\"},\"with_leaves\":1,\"with_leaves-metadata\":{\"confidence\":1,\"job-name\":\"labeling-job/with_leaves\",\"class-name\":\"with_leaves\",\"human-annotated\":\"yes\",\"creation-date\":\"2021-07-11T03:33:42.025Z\",\"type\":\"groundtruth/image-classification\"}}" |
| 1555 |
}, |
| 1556 |
"DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106" |
| 1557 |
}, |
| 1558 |
"output": { |
| 1559 |
}, |
| 1560 |
"comments": { |
| 1561 |
"input": { |
| 1562 |
}, |
| 1563 |
"output": { |
| 1564 |
} |
| 1565 |
}, |
| 1566 |
"description": "Adds dataset entries to an Amazon Rekognition Custom Labels dataset.", |
| 1567 |
"id": "to-add-dataset-entries-to-an-amazon-rekognition-custom-labels-dataset-1690816977073", |
| 1568 |
"title": "To-add dataset entries to an Amazon Rekognition Custom Labels dataset" |
| 1569 |
} |
| 1570 |
] |
| 1571 |
} |
| 1572 |
} |