google_api_vision v0.4.0 GoogleApi.Vision.V1.Model.Image View Source

Client image to perform Google Cloud Vision API tasks over.

Attributes

  • content (binary()): Image content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Defaults to: null.
  • source (ImageSource): Google Cloud Storage image location, or publicly-accessible image URL. If both `content` and `source` are provided for an image, `content` takes precedence and is used to perform the image annotation request. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Vision.V1.Model.Image{
  content: any(),
  source: GoogleApi.Vision.V1.Model.ImageSource.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.