google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Page View Source

Detected page from OCR.

Attributes

  • blocks (type: list(GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Block.t), default: nil) - List of blocks of text, images etc on this page.
  • confidence (type: number(), default: nil) - Confidence of the OCR results on the page. Range [0, 1].
  • height (type: integer(), default: nil) - Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
  • property (type: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1TextAnnotationTextProperty.t, default: nil) - Additional information detected on the page.
  • width (type: integer(), default: nil) - Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.

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.GoogleCloudVisionV1p3beta1Page{
  blocks: [GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Block.t()],
  confidence: number(),
  height: integer(),
  property:
    GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1TextAnnotationTextProperty.t(),
  width: integer()
}

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.