Class LabelVideoRequest (1.9.0)

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

Request message for LabelVideo.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
video_classification_config google.cloud.datalabeling_v1beta1.types.VideoClassificationConfig
Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. This field is a member of oneof_ request_config.
object_detection_config google.cloud.datalabeling_v1beta1.types.ObjectDetectionConfig
Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. This field is a member of oneof_ request_config.
object_tracking_config google.cloud.datalabeling_v1beta1.types.ObjectTrackingConfig
Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. This field is a member of oneof_ request_config.
event_config google.cloud.datalabeling_v1beta1.types.EventConfig
Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. This field is a member of oneof_ request_config.
parent str
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
basic_config google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig
Required. Basic human annotation config.
feature google.cloud.datalabeling_v1beta1.types.LabelVideoRequest.Feature
Required. The type of video labeling task.

Classes

Feature

Feature(value)

Video labeling task feature.

Values: FEATURE_UNSPECIFIED (0): No description available. CLASSIFICATION (1): Label whole video or video segment with one or more labels. OBJECT_DETECTION (2): Label objects with bounding box on image frames extracted from the video. OBJECT_TRACKING (3): Label and track objects in video. EVENT (4): Label the range of video for the specified events.