Class LabelImageRequest (1.2.4)

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

Request message for starting an image labeling task. .. attribute:: image_classification_config

Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

:type: google.cloud.datalabeling_v1beta1.types.ImageClassificationConfig

Attributes

NameDescription
bounding_poly_config google.cloud.datalabeling_v1beta1.types.BoundingPolyConfig
Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
polyline_config google.cloud.datalabeling_v1beta1.types.PolylineConfig
Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
segmentation_config google.cloud.datalabeling_v1beta1.types.SegmentationConfig
Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
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.LabelImageRequest.Feature
Required. The type of image labeling task.

Classes

Feature

Feature(value)

Image labeling task feature.