class Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.
Attributes
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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
time_offset[RW]
The timestamp of the frame in microseconds. Corresponds to the JSON property `timeOffset` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p2beta1/classes.rb, line 1762 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_v1p2beta1/classes.rb, line 1767 def update!(**args) @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box) @time_offset = args[:time_offset] if args.key?(:time_offset) end