Class VideoAnnotationResults (2.0.0)

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

Annotation results for a single video.

Attributes

NameDescription
input_uri str
Video file location in `Cloud Storage
segment .video_intelligence.VideoSegment
Video segment on which the annotation is run.
segment_label_annotations Sequence[.video_intelligence.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 Sequence[.video_intelligence.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 Sequence[.video_intelligence.LabelAnnotation]
Topical label annotations on shot level. There is exactly one element for each unique label.
shot_presence_label_annotations Sequence[.video_intelligence.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 Sequence[.video_intelligence.LabelAnnotation]
Label annotations on frame level. There is exactly one element for each unique label.
face_annotations Sequence[.video_intelligence.FaceAnnotation]
Deprecated. Please use face_detection_annotations instead.
face_detection_annotations Sequence[.video_intelligence.FaceDetectionAnnotation]
Face detection annotations.
shot_annotations Sequence[.video_intelligence.VideoSegment]
Shot annotations. Each shot is represented as a video segment.
explicit_annotation .video_intelligence.ExplicitContentAnnotation
Explicit content annotation.
speech_transcriptions Sequence[.video_intelligence.SpeechTranscription]
Speech transcription.
text_annotations Sequence[.video_intelligence.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 Sequence[.video_intelligence.ObjectTrackingAnnotation]
Annotations for list of objects detected and tracked in video.
logo_recognition_annotations Sequence[.video_intelligence.LogoRecognitionAnnotation]
Annotations for list of logos detected, tracked and recognized in video.
person_detection_annotations Sequence[.video_intelligence.PersonDetectionAnnotation]
Person detection annotations.
error .status.Status
If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.