Skip to content

DetectModerationLabelsResponse

Source code in docs_src/capo_rekognition/types/detect_moderation_labels_response.py
class DetectModerationLabelsResponse(TypedDict, closed=True):
    moderation_labels: NotRequired[
        "capo_rekognition.types.moderation_labels.ModerationLabels"
    ]
    """<p>Array of detected Moderation labels. For video operations, this includes the time, in milliseconds from the start of the video, they were detected.</p>"""
    moderation_model_version: NotRequired["capo_rekognition.types.string.String"]
    """<p>Version number of the base moderation detection model that was used to detect unsafe content.</p>"""
    human_loop_activation_output: NotRequired[
        "capo_rekognition.types.human_loop_activation_output.HumanLoopActivationOutput"
    ]
    """<p>Shows the results of the human in the loop evaluation.</p>"""
    project_version: NotRequired[
        "capo_rekognition.types.project_version_id.ProjectVersionId"
    ]
    """<p>Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.</p>"""
    content_types: NotRequired["capo_rekognition.types.content_types.ContentTypes"]
    """<p>A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.</p>"""

content_types instance-attribute

content_types: NotRequired[ContentTypes]

A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.

human_loop_activation_output instance-attribute

human_loop_activation_output: NotRequired[HumanLoopActivationOutput]

Shows the results of the human in the loop evaluation.

moderation_labels instance-attribute

moderation_labels: NotRequired[ModerationLabels]

Array of detected Moderation labels. For video operations, this includes the time, in milliseconds from the start of the video, they were detected.

moderation_model_version instance-attribute

moderation_model_version: NotRequired[String]

Version number of the base moderation detection model that was used to detect unsafe content.

project_version instance-attribute

project_version: NotRequired[ProjectVersionId]

Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.