Skip to content

LabelDetection

Source code in docs_src/capo_rekognition/types/label_detection.py
class LabelDetection(TypedDict, closed=True):
    timestamp: "capo_rekognition.types.timestamp.Timestamp"
    """<p>Time, in milliseconds from the start of the video, that the label was detected. Note that <code>Timestamp</code> is not guaranteed to be accurate to the individual frame where the label first appears.</p>"""
    label: NotRequired["capo_rekognition.types.label.Label"]
    """<p>Details about the detected label.</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 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 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>"""

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 label.

label instance-attribute

label: NotRequired[Label]

Details about the detected label.

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 label.

timestamp instance-attribute

timestamp: Timestamp

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