class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoRequest

Request message for LabelVideo.

Attributes

basic_config[RW]

Configuration for how human labeling task should be done. Corresponds to the JSON property `basicConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]

event_config[RW]

Config for video event human labeling task. Corresponds to the JSON property `eventConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EventConfig]

feature[RW]

Required. The type of video labeling task. Corresponds to the JSON property `feature` @return [String]

object_detection_config[RW]

Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate. Corresponds to the JSON property `objectDetectionConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionConfig]

object_tracking_config[RW]

Config for video object tracking human labeling task. Corresponds to the JSON property `objectTrackingConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectTrackingConfig]

video_classification_config[RW]

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. Corresponds to the JSON property `videoClassificationConfig` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 3428
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 3433
def update!(**args)
  @basic_config = args[:basic_config] if args.key?(:basic_config)
  @event_config = args[:event_config] if args.key?(:event_config)
  @feature = args[:feature] if args.key?(:feature)
  @object_detection_config = args[:object_detection_config] if args.key?(:object_detection_config)
  @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
  @video_classification_config = args[:video_classification_config] if args.key?(:video_classification_config)
end