Cloud Video Intelligence V1p2beta1 API - Class Google::Cloud::VideoIntelligence::V1p2beta1::VideoAnnotationResults (v0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Video Intelligence V1p2beta1 API class Google::Cloud::VideoIntelligence::V1p2beta1::VideoAnnotationResults.
Annotation results for a single video.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#error
deferror()->::Google::Rpc::Status
Returns
-
(::Google::Rpc::Status) — If set, indicates an error. Note that for a single
AnnotateVideoRequestsome videos may succeed and some may fail.
#error=
deferror=(value)->::Google::Rpc::Status
Parameter
-
value (::Google::Rpc::Status) — If set, indicates an error. Note that for a single
AnnotateVideoRequestsome videos may succeed and some may fail.
Returns
-
(::Google::Rpc::Status) — If set, indicates an error. Note that for a single
AnnotateVideoRequestsome videos may succeed and some may fail.
#explicit_annotation
defexplicit_annotation()->::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation
Returns
- (::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation) — Explicit content annotation.
#explicit_annotation=
defexplicit_annotation=(value)->::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation) — Explicit content annotation.
Returns
- (::Google::Cloud::VideoIntelligence::V1p2beta1::ExplicitContentAnnotation) — Explicit content annotation.
#frame_label_annotations
defframe_label_annotations()->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on frame level. There is exactly one element for each unique label.
#frame_label_annotations=
defframe_label_annotations=(value)->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on frame level. There is exactly one element for each unique label.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on frame level. There is exactly one element for each unique label.
#input_uri
definput_uri()->::String
Returns
- (::String) — Video file location in Google Cloud Storage.
#input_uri=
definput_uri=(value)->::String
Parameter
- value (::String) — Video file location in Google Cloud Storage.
Returns
- (::String) — Video file location in Google Cloud Storage.
#object_annotations
defobject_annotations()->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>) — Annotations for list of objects detected and tracked in video.
#object_annotations=
defobject_annotations=(value)->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>) — Annotations for list of objects detected and tracked in video.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingAnnotation>) — Annotations for list of objects detected and tracked in video.
#segment_label_annotations
defsegment_label_annotations()->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
#segment_label_annotations=
defsegment_label_annotations=(value)->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
#shot_annotations
defshot_annotations()->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>) — Shot annotations. Each shot is represented as a video segment.
#shot_annotations=
defshot_annotations=(value)->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>) — Shot annotations. Each shot is represented as a video segment.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment>) — Shot annotations. Each shot is represented as a video segment.
#shot_label_annotations
defshot_label_annotations()->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on shot level. There is exactly one element for each unique label.
#shot_label_annotations=
defshot_label_annotations=(value)->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on shot level. There is exactly one element for each unique label.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::LabelAnnotation>) — Label annotations on shot level. There is exactly one element for each unique label.
#text_annotations
deftext_annotations()->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>) — OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
#text_annotations=
deftext_annotations=(value)->::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>) — OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation>) — OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.