Class VideoAnnotationResults (2.14.0)

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

Annotation results for a single video.

Attributes

Name Description
input_uri str
Video file location in `Cloud Storage
segment google.cloud.videointelligence_v1.types.VideoSegment
Video segment on which the annotation is run.
segment_label_annotations MutableSequence[google.cloud.videointelligence_v1.types.LabelAnnotation]
Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.
segment_presence_label_annotations MutableSequence[google.cloud.videointelligence_v1.types.LabelAnnotation]
Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical segment_label_annotations, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets LabelDetectionConfig.model to "builtin/latest" in the request.
shot_label_annotations MutableSequence[google.cloud.videointelligence_v1.types.LabelAnnotation]
Topical label annotations on shot level. There is exactly one element for each unique label.
shot_presence_label_annotations MutableSequence[google.cloud.videointelligence_v1.types.LabelAnnotation]
Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical shot_label_annotations, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets LabelDetectionConfig.model to "builtin/latest" in the request.
frame_label_annotations MutableSequence[google.cloud.videointelligence_v1.types.LabelAnnotation]
Label annotations on frame level. There is exactly one element for each unique label.
face_annotations MutableSequence[google.cloud.videointelligence_v1.types.FaceAnnotation]
Deprecated. Please use face_detection_annotations instead.
face_detection_annotations MutableSequence[google.cloud.videointelligence_v1.types.FaceDetectionAnnotation]
Face detection annotations.
shot_annotations MutableSequence[google.cloud.videointelligence_v1.types.VideoSegment]
Shot annotations. Each shot is represented as a video segment.
explicit_annotation google.cloud.videointelligence_v1.types.ExplicitContentAnnotation
Explicit content annotation.
speech_transcriptions MutableSequence[google.cloud.videointelligence_v1.types.SpeechTranscription]
Speech transcription.
text_annotations MutableSequence[google.cloud.videointelligence_v1.types.TextAnnotation]
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
object_annotations MutableSequence[google.cloud.videointelligence_v1.types.ObjectTrackingAnnotation]
Annotations for list of objects detected and tracked in video.
logo_recognition_annotations MutableSequence[google.cloud.videointelligence_v1.types.LogoRecognitionAnnotation]
Annotations for list of logos detected, tracked and recognized in video.
person_detection_annotations MutableSequence[google.cloud.videointelligence_v1.types.PersonDetectionAnnotation]
Person detection annotations.
error google.rpc.status_pb2.Status
If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.