GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation (google_api_data_labeling v0.4.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.