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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Page{
  blocks: [GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1Block.t()] | nil,
  confidence: number() | nil,
  height: integer() | nil,
  property:
    GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1TextAnnotationTextProperty.t()
    | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.