View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance (google_api_ai_platform v0.13.0)

Prediction input format for Image Segmentation.

Attributes

  • content (type: String.t, default: nil) - The image bytes to make the predictions on.
  • mimeType (type: String.t, default: nil) - The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/png

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance{
    content: String.t() | nil,
    mimeType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.