Manifest file format for custom moderation for amazon Rekognition

0

I'm trying to submit a manifest file to upload images as shown here: Enter image description here But I don't see anywhere mentioning the format of this manifest file. I wonder if anyone supporting the product can provide any insight on this?

  • I mean the exact json format of this file.

質問済み 7ヶ月前215ビュー
1回答
0

Hello,

Please follow the following format when creating an input manifest:

{"source-ref": "s3://foo/bar/Nudity.jpg", "content-moderation-groundtruth": {"ModerationLabels": [{"Name": "Explicit Nudity"}, {"Name": "Suggestive"}]}}
{"source-ref": "s3://foo/bar/Safe.jpg", "content-moderation-groundtruth": {"ModerationLabels": []}}
{"source-ref": "s3://foo/bar/Alcohol.jpg", "content-moderation-groundtruth": {"ModerationLabels": [{"Name": "Alcohol"}]}}

source-ref refers to the S3 location for each image, which must be in .jpg or .png format. source-ref must refer to an S3 location that you have read access to.

content-moderation-groundtruth refers to the Content Moderation labels that are present for the image. Note that each label listed in ModerationLabels must be a Top-Level Category listed in the Moderation documentation; Second-Level Categories will not be processed. For images without labels, provide an empty array for ModerationLabels.

Feel free to let us know if any further clarifications are needed.

AWS
回答済み 7ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ