class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingFrame

Video frame level annotation for object detection and tracking.

Attributes

bounding_poly[RW]

A bounding polygon in the image. Corresponds to the JSON property `boundingPoly` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1BoundingPoly]

normalized_bounding_poly[RW]

Normalized bounding polygon. Corresponds to the JSON property `normalizedBoundingPoly` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly]

time_offset[RW]

The time offset of this frame relative to the beginning of the video. Corresponds to the JSON property `timeOffset` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3836
def update!(**args)
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
  @normalized_bounding_poly = args[:normalized_bounding_poly] if args.key?(:normalized_bounding_poly)
  @time_offset = args[:time_offset] if args.key?(:time_offset)
end