class Google::Apis::VideointelligenceV1p1beta1::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_annotation[RW]

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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]

frame_timestamp[RW]

Timestamp of the processed frame in microseconds. Corresponds to the JSON property `frameTimestamp` @return [String]

label_annotations[RW]

Label annotation results. Corresponds to the JSON property `labelAnnotations` @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]

object_annotations[RW]

Object tracking results. Corresponds to the JSON property `objectAnnotations` @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]

shot_annotations[RW]

Shot annotation results. Each shot is represented as a video segment. Corresponds to the JSON property `shotAnnotations` @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 5957
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 5962
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