View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ImageAnnotationContext (google_api_vision v0.25.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ImageAnnotationContext{
    pageNumber: integer() | nil,
    uri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.