Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/videointelligence_v1p1beta1/classes.rb,
generated/google/apis/videointelligence_v1p1beta1/representations.rb,
generated/google/apis/videointelligence_v1p1beta1/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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
Explicit content annotation (based on per-frame visual signals only).
-
#label_annotations ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
Label annotation results.
-
#object_annotations ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
Object tracking results.
-
#shot_annotations ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::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.
4451 4452 4453 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explicit_annotation ⇒ Google::Apis::VideointelligenceV1p1beta1::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
4434 4435 4436 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4434 def explicit_annotation @explicit_annotation end |
#label_annotations ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>
Label annotation results.
Corresponds to the JSON property labelAnnotations
4439 4440 4441 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4439 def label_annotations @label_annotations end |
#object_annotations ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>
Object tracking results.
Corresponds to the JSON property objectAnnotations
4444 4445 4446 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4444 def object_annotations @object_annotations end |
#shot_annotations ⇒ Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>
Shot annotation results. Each shot is represented as a video segment.
Corresponds to the JSON property shotAnnotations
4449 4450 4451 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4449 def shot_annotations @shot_annotations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4456 4457 4458 4459 4460 4461 |
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 4456 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 |