Skip to content

DetectModerationLabelsRequest

Source code in docs_src/capo_rekognition/types/detect_moderation_labels_request.py
class DetectModerationLabelsRequest(TypedDict, closed=True):
    image: "capo_rekognition.types.image.Image"
    """<p>The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. </p> <p>If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the <code>Bytes</code> field. For more information, see Images in the Amazon Rekognition developer guide.</p>"""
    min_confidence: NotRequired["capo_rekognition.types.percent.Percent"]
    """<p>Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.</p> <p>If you don't specify <code>MinConfidence</code>, the operation returns labels with confidence values greater than or equal to 50 percent.</p>"""
    human_loop_config: NotRequired[
        "capo_rekognition.types.human_loop_config.HumanLoopConfig"
    ]
    """<p>Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.</p>"""
    project_version: NotRequired[
        "capo_rekognition.types.project_version_id.ProjectVersionId"
    ]
    """<p>Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.</p>"""

human_loop_config instance-attribute

human_loop_config: NotRequired[HumanLoopConfig]

Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.

image instance-attribute

image: Image

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

min_confidence instance-attribute

min_confidence: NotRequired[Percent]

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.

If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

project_version instance-attribute

project_version: NotRequired[ProjectVersionId]

Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.