class Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1TimestampedObject
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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
Optional. The detected landmarks. Corresponds to the JSON property `landmarks` @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
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_v1p2beta1/classes.rb, line 4683 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 4688 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