Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/google/apis/videointelligence_v1p3beta1/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::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
Explicit content annotation (based on per-frame visual signals only).
-
#label_annotations ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
Label annotation results.
-
#object_annotations ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
Object tracking results.
-
#shot_annotations ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::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
4095 4096 4097 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4095 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explicit_annotation ⇒ Google::Apis::VideointelligenceV1p3beta1::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
4078 4079 4080 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4078 def explicit_annotation @explicit_annotation end |
#label_annotations ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
Label annotation results.
Corresponds to the JSON property labelAnnotations
4083 4084 4085 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4083 def label_annotations @label_annotations end |
#object_annotations ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
Object tracking results.
Corresponds to the JSON property objectAnnotations
4088 4089 4090 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4088 def object_annotations @object_annotations end |
#shot_annotations ⇒ Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>
Shot annotation results. Each shot is represented as a video segment.
Corresponds to the JSON property shotAnnotations
4093 4094 4095 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4093 def shot_annotations @shot_annotations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4100 4101 4102 4103 4104 4105 |
# File 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 4100 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 |