GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation (google_api_data_labeling v0.2.1) View Source

Image segmentation annotation.

Attributes

  • annotationColors (type: %{optional(String.t) => GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1AnnotationSpec.t}, default: nil) - 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.
  • imageBytes (type: String.t, default: nil) - A byte string of a full image's color map.
  • mimeType (type: String.t, default: nil) - Image format.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation{
    annotationColors: %{
      optional(String.t()) =>
        GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1AnnotationSpec.t()
    },
    imageBytes: String.t(),
    mimeType: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.