Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Video object tracking annotation.
Instance Attribute Summary collapse
-
#annotation_spec ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec
Container of information related to one possible annotation that can be used in a labeling task.
-
#object_tracking_frames ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingFrame>
The list of frames where this object track appears.
-
#time_segment ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment
A time period inside of an example that has a time dimension (e.g. video).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
constructor
A new instance of GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
Returns a new instance of GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation.
4551 4552 4553 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_spec ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec
Container of information related to one possible annotation that can be used
in a labeling task. For example, an image classification task where images are
labeled as dog
or cat
must reference an AnnotationSpec for dog
and an
AnnotationSpec for cat
.
Corresponds to the JSON property annotationSpec
4539 4540 4541 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4539 def annotation_spec @annotation_spec end |
#object_tracking_frames ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingFrame>
The list of frames where this object track appears.
Corresponds to the JSON property objectTrackingFrames
4544 4545 4546 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4544 def object_tracking_frames @object_tracking_frames end |
#time_segment ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment
A time period inside of an example that has a time dimension (e.g. video).
Corresponds to the JSON property timeSegment
4549 4550 4551 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4549 def time_segment @time_segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4556 4557 4558 4559 4560 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4556 def update!(**args) @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) @object_tracking_frames = args[:object_tracking_frames] if args.key?(:object_tracking_frames) @time_segment = args[:time_segment] if args.key?(:time_segment) end |