Class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1/classes.rb,
generated/google/apis/videointelligence_v1/representations.rb,
generated/google/apis/videointelligence_v1/representations.rb
Overview
Streaming annotation results corresponding to a portion of the video that is currently being processed.
Instance Attribute Summary collapse
-
#explicit_annotation ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
Explicit content annotation (based on per-frame visual signals only).
-
#label_annotations ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
Label annotation results.
-
#object_annotations ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
Object tracking results.
-
#shot_annotations ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>
Shot annotation results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults.
5324 5325 5326 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5324 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explicit_annotation ⇒ Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
Explicit content annotation (based on per-frame visual signals only).
If no explicit content has been detected in a frame, no annotations are
present for that frame.
Corresponds to the JSON property explicitAnnotation
5307 5308 5309 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5307 def explicit_annotation @explicit_annotation end |
#label_annotations ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
Label annotation results.
Corresponds to the JSON property labelAnnotations
5312 5313 5314 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5312 def label_annotations @label_annotations end |
#object_annotations ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
Object tracking results.
Corresponds to the JSON property objectAnnotations
5317 5318 5319 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5317 def object_annotations @object_annotations end |
#shot_annotations ⇒ Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>
Shot annotation results. Each shot is represented as a video segment.
Corresponds to the JSON property shotAnnotations
5322 5323 5324 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5322 def shot_annotations @shot_annotations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5329 5330 5331 5332 5333 5334 |
# File 'generated/google/apis/videointelligence_v1/classes.rb', line 5329 def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @label_annotations = args[:label_annotations] if args.key?(:label_annotations) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations) end |