Skip to content

ContentModerationDetection

Source code in docs_src/capo_rekognition/types/content_moderation_detection.py
class ContentModerationDetection(TypedDict, closed=True):
    timestamp: "capo_rekognition.types.timestamp.Timestamp"
    """<p>Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that <code>Timestamp</code> is not guaranteed to be accurate to the individual frame where the moderated content first appears.</p>"""
    moderation_label: NotRequired[
        "capo_rekognition.types.moderation_label.ModerationLabel"
    ]
    """<p>The content moderation label detected by in the stored video.</p>"""
    start_timestamp_millis: NotRequired["capo_rekognition.types.u_long.ULong"]
    """<p>The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.</p>"""
    end_timestamp_millis: NotRequired["capo_rekognition.types.u_long.ULong"]
    """<p> The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label. </p>"""
    duration_millis: NotRequired["capo_rekognition.types.u_long.ULong"]
    """<p> The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis. </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.

duration_millis instance-attribute

duration_millis: NotRequired[ULong]

The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

end_timestamp_millis instance-attribute

end_timestamp_millis: NotRequired[ULong]

The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.

moderation_label instance-attribute

moderation_label: NotRequired[ModerationLabel]

The content moderation label detected by in the stored video.

start_timestamp_millis instance-attribute

start_timestamp_millis: NotRequired[ULong]

The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.

timestamp instance-attribute

timestamp: Timestamp

Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the moderated content first appears.