Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
Config for video object tracking human labeling task.
Instance Attribute Summary collapse
-
#annotation_spec_set ⇒ String
Required.
-
#clip_length ⇒ Fixnum
Videos will be cut to smaller clips to make it easier for labelers to work on.
-
#overlap_length ⇒ Fixnum
The overlap length between different video clips.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
constructor
A new instance of GoogleCloudDatalabelingV1beta1ObjectTrackingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
Returns a new instance of GoogleCloudDatalabelingV1beta1ObjectTrackingConfig.
3800 3801 3802 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_spec_set ⇒ String
Required. Annotation spec set resource name.
Corresponds to the JSON property annotationSpecSet
3786 3787 3788 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3786 def annotation_spec_set @annotation_spec_set end |
#clip_length ⇒ Fixnum
Videos will be cut to smaller clips to make it easier for labelers to work on.
Users can configure is field in seconds, if not set, default value is 20s.
Corresponds to the JSON property clipLength
3792 3793 3794 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3792 def clip_length @clip_length end |
#overlap_length ⇒ Fixnum
The overlap length between different video clips. Users can configure is field
in seconds, if not set, default value is 0.3s.
Corresponds to the JSON property overlapLength
3798 3799 3800 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3798 def overlap_length @overlap_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3805 3806 3807 3808 3809 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3805 def update!(**args) @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) @clip_length = args[:clip_length] if args.key?(:clip_length) @overlap_length = args[:overlap_length] if args.key?(:overlap_length) end |