Class ImageSegmentationAnnotation

Image segmentation annotation.

Attributes
NameDescription
Sequence[google.cloud.datalabeling_v1beta1.types.ImageSegmentationAnnotation.AnnotationColorsEntry]annotation_colors
The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
strmime_type
Image format.
bytesimage_bytes
A byte string of a full image's color map.

Inheritance

builtins.object > proto.message.Message > ImageSegmentationAnnotation

Classes

AnnotationColorsEntry

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

API documentation for datalabeling_v1beta1.types.ImageSegmentationAnnotation.AnnotationColorsEntry class.