google_api_vision v0.22.1 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1ImageAnnotationContext View Source

If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.

Attributes

  • pageNumber (type: integer(), default: nil) - If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
  • uri (type: String.t, default: nil) - The URI of the file used to produce the image.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1ImageAnnotationContext{
    pageNumber: integer(),
    uri: String.t()
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.