Class VideoClassificationConfig (1.9.0rc0)

VideoClassificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

NameDescription
annotation_spec_set_configs MutableSequence[google.cloud.datalabeling_v1beta1.types.VideoClassificationConfig.AnnotationSpecSetConfig]
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.
apply_shot_detection bool
Optional. Option to apply shot detection on the video.

Classes

AnnotationSpecSetConfig

AnnotationSpecSetConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Annotation spec set with the setting of allowing multi labels or not.