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

Prediction input format for Image Classification.

Attributes

  • content (type: String.t, default: nil) - The image bytes or Cloud Storage URI to make the prediction 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/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.