Class VideoClassificationPredictionResult (0.1.6)

VideoClassificationPredictionResult(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Prediction output format for Video Classification.

Attributes

Name Description
segment_start_time google.protobuf.timestamp_pb2.Timestamp
The beginning, inclusive, of the video's time segment in which the classifications have been identified.
segment_end_time google.protobuf.timestamp_pb2.Timestamp
The end, inclusive, of the video's time segment in which the classifications have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame.
classifications MutableSequence[google.cloud.visionai_v1.types.VideoClassificationPredictionResult.IdentifiedClassification]
All of the classifications identified in the time range.

Classes

IdentifiedClassification

IdentifiedClassification(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Each IdentifiedClassification is one particular identification of an classification specified with the AnnotationSpec id and display_name, and the associated confidence score.