class Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
Streaming annotation results corresponding to a portion of the video that is currently being processed. Only ONE type of annotation will be specified in the response.
Attributes
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` @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
Timestamp of the processed frame in microseconds. Corresponds to the JSON property `frameTimestamp` @return [String]
Label annotation results. Corresponds to the JSON property `labelAnnotations` @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
Object tracking results. Corresponds to the JSON property `objectAnnotations` @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
Shot annotation results. Each shot is represented as a video segment. Corresponds to the JSON property `shotAnnotations` @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
Public Class Methods
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 5859 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 5864 def update!(**args) @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation) @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp) @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