class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig

Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip.

Attributes

annotation_spec_set_configs[RW]

Required. The list of annotation spec set configs. Since watching a video clip takes much longer time than an image, we support label with multiple AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be shown in a group to contributors. Contributors can select one or more ( depending on whether to allow multi label) from each group. Corresponds to the JSON property `annotationSpecSetConfigs` @return [Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig>]

apply_shot_detection[RW]

Optional. Option to apply shot detection on the video. Corresponds to the JSON property `applyShotDetection` @return [Boolean]

apply_shot_detection?[RW]

Optional. Option to apply shot detection on the video. Corresponds to the JSON property `applyShotDetection` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4490
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 4495
def update!(**args)
  @annotation_spec_set_configs = args[:annotation_spec_set_configs] if args.key?(:annotation_spec_set_configs)
  @apply_shot_detection = args[:apply_shot_detection] if args.key?(:apply_shot_detection)
end