class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1TimestampedObject
For tracking related features. An object at time_offset
with attributes, and located with normalized_bounding_box.
Attributes
Optional. The attributes of the object in the bounding box. Corresponds to the JSON property `attributes` @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1DetectedAttribute>]
Optional. The detected landmarks. Corresponds to the JSON property `landmarks` @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1DetectedLandmark>]
Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1]. Corresponds to the JSON property `normalizedBoundingBox` @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
Time-offset, relative to the beginning of the video, corresponding to the video frame for this object. Corresponds to the JSON property `timeOffset` @return [String]
Public Class Methods
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 847 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 852 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @landmarks = args[:landmarks] if args.key?(:landmarks) @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box) @time_offset = args[:time_offset] if args.key?(:time_offset) end