Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::VideoAnnotationResults (v0.9.1)

Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::VideoAnnotationResults.

Annotation results for a single video.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#error

def error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.
Returns
  • (::Google::Rpc::Status) — If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

#explicit_annotation

def explicit_annotation() -> ::Google::Cloud::VideoIntelligence::V1::ExplicitContentAnnotation
Returns

#explicit_annotation=

def explicit_annotation=(value) -> ::Google::Cloud::VideoIntelligence::V1::ExplicitContentAnnotation
Parameter
Returns

#face_annotations

def face_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::FaceAnnotation>
Returns

#face_annotations=

def face_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::FaceAnnotation>
Parameter
Returns

#face_detection_annotations

def face_detection_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::FaceDetectionAnnotation>
Returns

#face_detection_annotations=

def face_detection_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::FaceDetectionAnnotation>
Parameter
Returns

#frame_label_annotations

def frame_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Returns

#frame_label_annotations=

def frame_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Parameter
Returns

#input_uri

def input_uri() -> ::String
Returns

#input_uri=

def input_uri=(value) -> ::String
Parameter
Returns

#logo_recognition_annotations

def logo_recognition_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LogoRecognitionAnnotation>
Returns

#logo_recognition_annotations=

def logo_recognition_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LogoRecognitionAnnotation>
Parameter
Returns

#object_annotations

def object_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::ObjectTrackingAnnotation>
Returns

#object_annotations=

def object_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::ObjectTrackingAnnotation>
Parameter
Returns

#person_detection_annotations

def person_detection_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::PersonDetectionAnnotation>
Returns

#person_detection_annotations=

def person_detection_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::PersonDetectionAnnotation>
Parameter
Returns

#segment

def segment() -> ::Google::Cloud::VideoIntelligence::V1::VideoSegment
Returns

#segment=

def segment=(value) -> ::Google::Cloud::VideoIntelligence::V1::VideoSegment
Parameter
Returns

#segment_label_annotations

def segment_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Returns

#segment_label_annotations=

def segment_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Parameter
Returns

#segment_presence_label_annotations

def segment_presence_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Returns
  • (::Array<::Google::Cloud::VideoIntelligence::V1::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.

#segment_presence_label_annotations=

def segment_presence_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Parameter
  • value (::Array<::Google::Cloud::VideoIntelligence::V1::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.
Returns
  • (::Array<::Google::Cloud::VideoIntelligence::V1::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_annotations

def shot_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::VideoSegment>
Returns

#shot_annotations=

def shot_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::VideoSegment>
Parameter
Returns

#shot_label_annotations

def shot_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Returns

#shot_label_annotations=

def shot_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Parameter
Returns

#shot_presence_label_annotations

def shot_presence_label_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Returns
  • (::Array<::Google::Cloud::VideoIntelligence::V1::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.

#shot_presence_label_annotations=

def shot_presence_label_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>
Parameter
  • value (::Array<::Google::Cloud::VideoIntelligence::V1::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.
Returns
  • (::Array<::Google::Cloud::VideoIntelligence::V1::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.

#speech_transcriptions

def speech_transcriptions() -> ::Array<::Google::Cloud::VideoIntelligence::V1::SpeechTranscription>
Returns

#speech_transcriptions=

def speech_transcriptions=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::SpeechTranscription>
Parameter
Returns

#text_annotations

def text_annotations() -> ::Array<::Google::Cloud::VideoIntelligence::V1::TextAnnotation>
Returns

#text_annotations=

def text_annotations=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::TextAnnotation>
Parameter
Returns