class Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject

For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.

Attributes

attributes[RW]

Optional. The attributes of the object in the bounding box. Corresponds to the JSON property `attributes` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]

landmarks[RW]

Optional. The detected landmarks. Corresponds to the JSON property `landmarks` @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>]

normalized_bounding_box[RW]

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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]

time_offset[RW]

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

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1/classes.rb, line 6096
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_v1/classes.rb, line 6101
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