class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig
Config for video event human labeling task.
Attributes
annotation_spec_sets[RW]
Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time. Corresponds to the JSON property `annotationSpecSets` @return [Array<String>]
clip_length[RW]
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 60s. Corresponds to the JSON property `clipLength` @return [Fixnum]
overlap_length[RW]
The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s. Corresponds to the JSON property `overlapLength` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2043 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 2048 def update!(**args) @annotation_spec_sets = args[:annotation_spec_sets] if args.key?(:annotation_spec_sets) @clip_length = args[:clip_length] if args.key?(:clip_length) @overlap_length = args[:overlap_length] if args.key?(:overlap_length) end