rekognition-2016-06-27.examples.json 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572
  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. "ExternalImageId": "myphotoid",
  825. "Image": {
  826. "S3Object": {
  827. "Bucket": "mybucket",
  828. "Name": "myphoto"
  829. }
  830. }
  831. },
  832. "output": {
  833. "FaceRecords": [
  834. {
  835. "Face": {
  836. "BoundingBox": {
  837. "Height": 0.33481481671333313,
  838. "Left": 0.31888890266418457,
  839. "Top": 0.4933333396911621,
  840. "Width": 0.25
  841. },
  842. "Confidence": 99.9991226196289,
  843. "FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
  844. "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
  845. },
  846. "FaceDetail": {
  847. "BoundingBox": {
  848. "Height": 0.33481481671333313,
  849. "Left": 0.31888890266418457,
  850. "Top": 0.4933333396911621,
  851. "Width": 0.25
  852. },
  853. "Confidence": 99.9991226196289,
  854. "Landmarks": [
  855. {
  856. "Type": "eyeLeft",
  857. "X": 0.3976764678955078,
  858. "Y": 0.6248345971107483
  859. },
  860. {
  861. "Type": "eyeRight",
  862. "X": 0.4810936450958252,
  863. "Y": 0.6317117214202881
  864. },
  865. {
  866. "Type": "noseLeft",
  867. "X": 0.41986238956451416,
  868. "Y": 0.7111940383911133
  869. },
  870. {
  871. "Type": "mouthDown",
  872. "X": 0.40525302290916443,
  873. "Y": 0.7497701048851013
  874. },
  875. {
  876. "Type": "mouthUp",
  877. "X": 0.4753248989582062,
  878. "Y": 0.7558549642562866
  879. }
  880. ],
  881. "Pose": {
  882. "Pitch": -9.713645935058594,
  883. "Roll": 4.707281112670898,
  884. "Yaw": -24.438663482666016
  885. },
  886. "Quality": {
  887. "Brightness": 29.23358917236328,
  888. "Sharpness": 80
  889. }
  890. }
  891. },
  892. {
  893. "Face": {
  894. "BoundingBox": {
  895. "Height": 0.32592591643333435,
  896. "Left": 0.5144444704055786,
  897. "Top": 0.15111111104488373,
  898. "Width": 0.24444444477558136
  899. },
  900. "Confidence": 99.99950408935547,
  901. "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
  902. "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
  903. },
  904. "FaceDetail": {
  905. "BoundingBox": {
  906. "Height": 0.32592591643333435,
  907. "Left": 0.5144444704055786,
  908. "Top": 0.15111111104488373,
  909. "Width": 0.24444444477558136
  910. },
  911. "Confidence": 99.99950408935547,
  912. "Landmarks": [
  913. {
  914. "Type": "eyeLeft",
  915. "X": 0.6006892323493958,
  916. "Y": 0.290842205286026
  917. },
  918. {
  919. "Type": "eyeRight",
  920. "X": 0.6808141469955444,
  921. "Y": 0.29609042406082153
  922. },
  923. {
  924. "Type": "noseLeft",
  925. "X": 0.6395332217216492,
  926. "Y": 0.3522595763206482
  927. },
  928. {
  929. "Type": "mouthDown",
  930. "X": 0.5892083048820496,
  931. "Y": 0.38689887523651123
  932. },
  933. {
  934. "Type": "mouthUp",
  935. "X": 0.674560010433197,
  936. "Y": 0.394125759601593
  937. }
  938. ],
  939. "Pose": {
  940. "Pitch": -4.683138370513916,
  941. "Roll": 2.1029529571533203,
  942. "Yaw": 6.716655254364014
  943. },
  944. "Quality": {
  945. "Brightness": 34.951698303222656,
  946. "Sharpness": 160
  947. }
  948. }
  949. }
  950. ],
  951. "OrientationCorrection": "ROTATE_0"
  952. },
  953. "comments": {
  954. "input": {
  955. },
  956. "output": {
  957. }
  958. },
  959. "description": "This operation detects faces in an image and adds them to the specified Rekognition collection.",
  960. "id": "to-add-a-face-to-a-collection-1482179542923",
  961. "title": "To add a face to a collection"
  962. }
  963. ],
  964. "ListCollections": [
  965. {
  966. "input": {
  967. },
  968. "output": {
  969. "CollectionIds": [
  970. "myphotos"
  971. ]
  972. },
  973. "comments": {
  974. "input": {
  975. },
  976. "output": {
  977. }
  978. },
  979. "description": "This operation returns a list of Rekognition collections.",
  980. "id": "to-list-the-collections-1482179199088",
  981. "title": "To list the collections"
  982. }
  983. ],
  984. "ListDatasetEntries": [
  985. {
  986. "input": {
  987. "ContainsLabels": [
  988. "camellia"
  989. ],
  990. "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106",
  991. "HasErrors": true,
  992. "Labeled": true,
  993. "MaxResults": 100,
  994. "NextToken": "",
  995. "SourceRefContains": "camellia4.jpg"
  996. },
  997. "output": {
  998. "DatasetEntries": [
  999. "{\"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}}"
  1000. ],
  1001. "NextToken": ""
  1002. },
  1003. "comments": {
  1004. "input": {
  1005. },
  1006. "output": {
  1007. }
  1008. },
  1009. "description": "Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.",
  1010. "id": "to-list-the-entries-in-an-amazon-rekognition-custom-labels-dataset-1690823292345",
  1011. "title": "To list the entries in an Amazon Rekognition Custom Labels dataset"
  1012. }
  1013. ],
  1014. "ListDatasetLabels": [
  1015. {
  1016. "input": {
  1017. "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106",
  1018. "MaxResults": 100,
  1019. "NextToken": ""
  1020. },
  1021. "output": {
  1022. "DatasetLabelDescriptions": [
  1023. {
  1024. "LabelName": "camellia",
  1025. "LabelStats": {
  1026. "EntryCount": 1
  1027. }
  1028. },
  1029. {
  1030. "LabelName": "with_leaves",
  1031. "LabelStats": {
  1032. "EntryCount": 2
  1033. }
  1034. },
  1035. {
  1036. "LabelName": "mediterranean_spurge",
  1037. "LabelStats": {
  1038. "EntryCount": 1
  1039. }
  1040. }
  1041. ]
  1042. },
  1043. "comments": {
  1044. "input": {
  1045. },
  1046. "output": {
  1047. }
  1048. },
  1049. "description": "Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.",
  1050. "id": "to-list-the-entries-in-an-amazon-rekognition-custom-labels-dataset-1690823292345",
  1051. "title": "To list the entries in an Amazon Rekognition Custom Labels dataset"
  1052. }
  1053. ],
  1054. "ListFaces": [
  1055. {
  1056. "input": {
  1057. "CollectionId": "myphotos",
  1058. "MaxResults": 20
  1059. },
  1060. "output": {
  1061. "FaceModelVersion": "6.0",
  1062. "Faces": [
  1063. {
  1064. "BoundingBox": {
  1065. "Height": 0.056759100407361984,
  1066. "Left": 0.3453829884529114,
  1067. "Top": 0.36568498611450195,
  1068. "Width": 0.03177810087800026
  1069. },
  1070. "Confidence": 99.76940155029297,
  1071. "FaceId": "c92265d4-5f9c-43af-a58e-12be0ce02bc3",
  1072. "ImageId": "56a0ca74-1c83-39dd-b363-051a64168a65",
  1073. "IndexFacesModelVersion": "6.0",
  1074. "UserId": "demoUser2"
  1075. },
  1076. {
  1077. "BoundingBox": {
  1078. "Height": 0.06347999721765518,
  1079. "Left": 0.5160620212554932,
  1080. "Top": 0.6080359816551208,
  1081. "Width": 0.03254450112581253
  1082. },
  1083. "Confidence": 99.94369506835938,
  1084. "FaceId": "851cb847-dccc-4fea-9309-9f4805967855",
  1085. "ImageId": "a8aed589-ceec-35f7-9c04-82e0b546b024",
  1086. "IndexFacesModelVersion": "6.0"
  1087. },
  1088. {
  1089. "BoundingBox": {
  1090. "Height": 0.05266290158033371,
  1091. "Left": 0.6513839960098267,
  1092. "Top": 0.4218429923057556,
  1093. "Width": 0.03094629943370819
  1094. },
  1095. "Confidence": 99.82969665527344,
  1096. "FaceId": "c0eb3b65-24a0-41e1-b23a-1908b1aaeac1",
  1097. "ImageId": "56a0ca74-1c83-39dd-b363-051a64168a65",
  1098. "IndexFacesModelVersion": "6.0"
  1099. }
  1100. ]
  1101. },
  1102. "comments": {
  1103. "input": {
  1104. },
  1105. "output": {
  1106. }
  1107. },
  1108. "description": "This operation lists the faces in a Rekognition collection.",
  1109. "id": "to-list-the-faces-in-a-collection-1482181416530",
  1110. "title": "To list the faces in a collection"
  1111. }
  1112. ],
  1113. "ListMediaAnalysisJobs": [
  1114. {
  1115. "input": {
  1116. "MaxResults": 10
  1117. },
  1118. "output": {
  1119. "MediaAnalysisJobs": [
  1120. {
  1121. "CompletionTimestamp": "2023-07-28T08:05:51.958000-07:00",
  1122. "CreationTimestamp": "2023-07-28T08:05:51.958000-06:00",
  1123. "Input": {
  1124. "S3Object": {
  1125. "Bucket": "input-bucket",
  1126. "Name": "input-manifest.json"
  1127. }
  1128. },
  1129. "JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537",
  1130. "JobName": "job-name",
  1131. "ManifestSummary": {
  1132. "S3Object": {
  1133. "Bucket": "output-bucket",
  1134. "Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-manifest-summary.json"
  1135. }
  1136. },
  1137. "OperationsConfig": {
  1138. "DetectModerationLabels": {
  1139. "MinConfidence": 50,
  1140. "ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
  1141. }
  1142. },
  1143. "OutputConfig": {
  1144. "S3Bucket": "output-bucket",
  1145. "S3KeyPrefix": "output-location"
  1146. },
  1147. "Results": {
  1148. "S3Object": {
  1149. "Bucket": "output-bucket",
  1150. "Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-results.jsonl"
  1151. }
  1152. },
  1153. "Status": "SUCCEEDED"
  1154. }
  1155. ]
  1156. },
  1157. "comments": {
  1158. "input": {
  1159. },
  1160. "output": {
  1161. }
  1162. },
  1163. "description": "Returns a list of media analysis jobs.",
  1164. "id": "listmediaanalysisjobs-1697650653077",
  1165. "title": "ListMediaAnalysisJobs"
  1166. }
  1167. ],
  1168. "ListProjectPolicies": [
  1169. {
  1170. "input": {
  1171. "MaxResults": 5,
  1172. "NextToken": "",
  1173. "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
  1174. },
  1175. "output": {
  1176. "NextToken": "",
  1177. "ProjectPolicies": [
  1178. {
  1179. "CreationTimestamp": "2022-07-01T11:51:27.086000-07:00",
  1180. "LastUpdatedTimestamp": "2022-07-01T11:51:27.086000-07:00",
  1181. "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Statemented1\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:root\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"*\"}]}",
  1182. "PolicyName": "testPolicy",
  1183. "PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc",
  1184. "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
  1185. }
  1186. ]
  1187. },
  1188. "comments": {
  1189. "input": {
  1190. },
  1191. "output": {
  1192. }
  1193. },
  1194. "description": "This operation lists the project policies that are attached to an Amazon Rekognition Custom Labels project.",
  1195. "id": "listprojectpolicies-1658202290173",
  1196. "title": "ListProjectPolicies"
  1197. }
  1198. ],
  1199. "ListUsers": [
  1200. {
  1201. "input": {
  1202. "CollectionId": "MyCollection"
  1203. },
  1204. "output": {
  1205. "NextToken": "MGYZLAHX1T5a....",
  1206. "Users": [
  1207. {
  1208. "UserId": "demoUser4",
  1209. "UserStatus": "CREATED"
  1210. },
  1211. {
  1212. "UserId": "demoUser2",
  1213. "UserStatus": "CREATED"
  1214. }
  1215. ]
  1216. },
  1217. "comments": {
  1218. "input": {
  1219. },
  1220. "output": {
  1221. }
  1222. },
  1223. "description": "Returns metadata of the User such as UserID in the specified collection.",
  1224. "id": "listusers-1686182360075",
  1225. "title": "ListUsers"
  1226. }
  1227. ],
  1228. "PutProjectPolicy": [
  1229. {
  1230. "input": {
  1231. "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\"}]}'",
  1232. "PolicyName": "SamplePolicy",
  1233. "PolicyRevisionId": "0123456789abcdef",
  1234. "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
  1235. },
  1236. "output": {
  1237. "PolicyRevisionId": "0123456789abcdef"
  1238. },
  1239. "comments": {
  1240. "input": {
  1241. },
  1242. "output": {
  1243. }
  1244. },
  1245. "description": "This operation attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account.",
  1246. "id": "putprojectpolicy-1658201727623",
  1247. "title": "PutProjectPolicy"
  1248. }
  1249. ],
  1250. "SearchFaces": [
  1251. {
  1252. "input": {
  1253. "CollectionId": "myphotos",
  1254. "FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14",
  1255. "FaceMatchThreshold": 90,
  1256. "MaxFaces": 10
  1257. },
  1258. "output": {
  1259. "FaceMatches": [
  1260. {
  1261. "Face": {
  1262. "BoundingBox": {
  1263. "Height": 0.3259260058403015,
  1264. "Left": 0.5144439935684204,
  1265. "Top": 0.15111100673675537,
  1266. "Width": 0.24444399774074554
  1267. },
  1268. "Confidence": 99.99949645996094,
  1269. "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
  1270. "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
  1271. },
  1272. "Similarity": 99.97222137451172
  1273. },
  1274. {
  1275. "Face": {
  1276. "BoundingBox": {
  1277. "Height": 0.16555599868297577,
  1278. "Left": 0.30963000655174255,
  1279. "Top": 0.7066670060157776,
  1280. "Width": 0.22074100375175476
  1281. },
  1282. "Confidence": 100,
  1283. "FaceId": "29a75abe-397b-5101-ba4f-706783b2246c",
  1284. "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
  1285. },
  1286. "Similarity": 97.04154968261719
  1287. },
  1288. {
  1289. "Face": {
  1290. "BoundingBox": {
  1291. "Height": 0.18888899683952332,
  1292. "Left": 0.3783380091190338,
  1293. "Top": 0.2355560064315796,
  1294. "Width": 0.25222599506378174
  1295. },
  1296. "Confidence": 99.9999008178711,
  1297. "FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5",
  1298. "ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07"
  1299. },
  1300. "Similarity": 95.94520568847656
  1301. }
  1302. ],
  1303. "SearchedFaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14"
  1304. },
  1305. "comments": {
  1306. "input": {
  1307. },
  1308. "output": {
  1309. }
  1310. },
  1311. "description": "This operation searches for matching faces in the collection the supplied face belongs to.",
  1312. "id": "to-delete-a-face-1482182799377",
  1313. "title": "To delete a face"
  1314. }
  1315. ],
  1316. "SearchFacesByImage": [
  1317. {
  1318. "input": {
  1319. "CollectionId": "myphotos",
  1320. "FaceMatchThreshold": 95,
  1321. "Image": {
  1322. "S3Object": {
  1323. "Bucket": "mybucket",
  1324. "Name": "myphoto"
  1325. }
  1326. },
  1327. "MaxFaces": 5
  1328. },
  1329. "output": {
  1330. "FaceMatches": [
  1331. {
  1332. "Face": {
  1333. "BoundingBox": {
  1334. "Height": 0.3234420120716095,
  1335. "Left": 0.3233329951763153,
  1336. "Top": 0.5,
  1337. "Width": 0.24222199618816376
  1338. },
  1339. "Confidence": 99.99829864501953,
  1340. "FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85",
  1341. "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
  1342. },
  1343. "Similarity": 99.97036743164062
  1344. }
  1345. ],
  1346. "SearchedFaceBoundingBox": {
  1347. "Height": 0.33481481671333313,
  1348. "Left": 0.31888890266418457,
  1349. "Top": 0.4933333396911621,
  1350. "Width": 0.25
  1351. },
  1352. "SearchedFaceConfidence": 99.9991226196289
  1353. },
  1354. "comments": {
  1355. "input": {
  1356. },
  1357. "output": {
  1358. }
  1359. },
  1360. "description": "This operation searches for faces in a Rekognition collection that match the largest face in an S3 bucket stored image.",
  1361. "id": "to-search-for-faces-matching-a-supplied-image-1482175994491",
  1362. "title": "To search for faces matching a supplied image"
  1363. }
  1364. ],
  1365. "SearchUsers": [
  1366. {
  1367. "input": {
  1368. "CollectionId": "MyCollection",
  1369. "MaxUsers": 2,
  1370. "UserId": "DemoUser",
  1371. "UserMatchThreshold": 70
  1372. },
  1373. "output": {
  1374. "FaceModelVersion": "6",
  1375. "SearchedUser": {
  1376. "UserId": "DemoUser"
  1377. },
  1378. "UserMatches": [
  1379. {
  1380. "Similarity": 99.88186645507812,
  1381. "User": {
  1382. "UserId": "demoUser1",
  1383. "UserStatus": "ACTIVE"
  1384. }
  1385. }
  1386. ]
  1387. },
  1388. "comments": {
  1389. "input": {
  1390. },
  1391. "output": {
  1392. }
  1393. },
  1394. "description": "Searches for UserIDs within a collection based on a FaceId or UserId.",
  1395. "id": "searchusers-1686182912030",
  1396. "title": "SearchUsers"
  1397. }
  1398. ],
  1399. "SearchUsersByImage": [
  1400. {
  1401. "input": {
  1402. "CollectionId": "MyCollection",
  1403. "Image": {
  1404. "S3Object": {
  1405. "Bucket": "bucket",
  1406. "Name": "input.jpg"
  1407. }
  1408. },
  1409. "MaxUsers": 2,
  1410. "QualityFilter": "MEDIUM",
  1411. "UserMatchThreshold": 70
  1412. },
  1413. "output": {
  1414. "FaceModelVersion": "6",
  1415. "SearchedFace": {
  1416. "FaceDetail": {
  1417. "BoundingBox": {
  1418. "Height": 0.07510016113519669,
  1419. "Left": 0.3598678708076477,
  1420. "Top": 0.5391526818275452,
  1421. "Width": 0.03692837432026863
  1422. }
  1423. }
  1424. },
  1425. "UnsearchedFaces": [
  1426. {
  1427. "FaceDetails": {
  1428. "BoundingBox": {
  1429. "Height": 0.0682177022099495,
  1430. "Left": 0.6102562546730042,
  1431. "Top": 0.5593535900115967,
  1432. "Width": 0.031677018851041794
  1433. }
  1434. },
  1435. "Reasons": [
  1436. "FACE_NOT_LARGEST"
  1437. ]
  1438. },
  1439. {
  1440. "FaceDetails": {
  1441. "BoundingBox": {
  1442. "Height": 0.06347997486591339,
  1443. "Left": 0.516062319278717,
  1444. "Top": 0.6080358028411865,
  1445. "Width": 0.03254449740052223
  1446. }
  1447. },
  1448. "Reasons": [
  1449. "FACE_NOT_LARGEST"
  1450. ]
  1451. }
  1452. ],
  1453. "UserMatches": [
  1454. {
  1455. "Similarity": 99.88186645507812,
  1456. "User": {
  1457. "UserId": "demoUser1",
  1458. "UserStatus": "ACTIVE"
  1459. }
  1460. }
  1461. ]
  1462. },
  1463. "comments": {
  1464. "input": {
  1465. },
  1466. "output": {
  1467. }
  1468. },
  1469. "description": "Searches for UserIDs using a supplied image.",
  1470. "id": "searchusersbyimage-1686183178610",
  1471. "title": "SearchUsersByImage"
  1472. }
  1473. ],
  1474. "StartMediaAnalysisJob": [
  1475. {
  1476. "input": {
  1477. "Input": {
  1478. "S3Object": {
  1479. "Bucket": "input-bucket",
  1480. "Name": "input-manifest.json"
  1481. }
  1482. },
  1483. "JobName": "job-name",
  1484. "OperationsConfig": {
  1485. "DetectModerationLabels": {
  1486. "MinConfidence": 50,
  1487. "ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
  1488. }
  1489. },
  1490. "OutputConfig": {
  1491. "S3Bucket": "output-bucket",
  1492. "S3KeyPrefix": "output-location"
  1493. }
  1494. },
  1495. "output": {
  1496. "JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537"
  1497. },
  1498. "comments": {
  1499. "input": {
  1500. },
  1501. "output": {
  1502. }
  1503. },
  1504. "description": "Initiates a new media analysis job.",
  1505. "id": "startmediaanalysisjob-1697651090922",
  1506. "title": "StartMediaAnalysisJob"
  1507. }
  1508. ],
  1509. "StartProjectVersion": [
  1510. {
  1511. "input": {
  1512. "MaxInferenceUnits": 1,
  1513. "MinInferenceUnits": 1,
  1514. "ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
  1515. },
  1516. "output": {
  1517. "Status": "STARTING"
  1518. },
  1519. "comments": {
  1520. "input": {
  1521. },
  1522. "output": {
  1523. }
  1524. },
  1525. "description": "Starts a version of an Amazon Rekognition Custom Labels model.",
  1526. "id": "to-start-an-amazon-rekognition-custom-labels-model-1690559168398",
  1527. "title": "To start an Amazon Rekognition Custom Labels model"
  1528. }
  1529. ],
  1530. "StopProjectVersion": [
  1531. {
  1532. "input": {
  1533. "ProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
  1534. },
  1535. "output": {
  1536. "Status": "STOPPING"
  1537. },
  1538. "comments": {
  1539. "input": {
  1540. },
  1541. "output": {
  1542. }
  1543. },
  1544. "description": "Stops a version of an Amazon Rekognition Custom Labels model.",
  1545. "id": "to-stop-an-amazon-rekognition-custom-labels-model-1690561110698",
  1546. "title": "To stop an Amazon Rekognition Custom Labels model."
  1547. }
  1548. ],
  1549. "UpdateDatasetEntries": [
  1550. {
  1551. "input": {
  1552. "Changes": {
  1553. "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\"}}"
  1554. },
  1555. "DatasetArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106"
  1556. },
  1557. "output": {
  1558. },
  1559. "comments": {
  1560. "input": {
  1561. },
  1562. "output": {
  1563. }
  1564. },
  1565. "description": "Adds dataset entries to an Amazon Rekognition Custom Labels dataset.",
  1566. "id": "to-add-dataset-entries-to-an-amazon-rekognition-custom-labels-dataset-1690816977073",
  1567. "title": "To-add dataset entries to an Amazon Rekognition Custom Labels dataset"
  1568. }
  1569. ]
  1570. }
  1571. }