GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPage (google_api_document_ai v0.22.0) View Source

A page in a Document.

Attributes

  • blocks (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageBlock.t), default: nil) - A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.
  • detectedLanguages (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage.t), default: nil) - A list of detected languages together with confidence.
  • dimension (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageDimension.t, default: nil) - Physical dimension of the page.
  • formFields (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageFormField.t), default: nil) - A list of visually detected form fields on the page.
  • image (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageImage.t, default: nil) - Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.
  • layout (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageLayout.t, default: nil) - Layout for the page.
  • lines (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageLine.t), default: nil) - A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.
  • pageNumber (type: integer(), default: nil) - 1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.
  • paragraphs (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageParagraph.t), default: nil) - A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.
  • provenance (type: GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentProvenance.t, default: nil) - The history of this page.
  • tables (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageTable.t), default: nil) - A list of visually detected tables on the page.
  • tokens (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageToken.t), default: nil) - A list of visually detected tokens on the page.
  • transforms (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageMatrix.t), default: nil) - Transformation matrices that were applied to the original document image to produce Page.image.
  • visualElements (type: list(GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement.t), default: nil) - A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPage{
    blocks:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageBlock.t()
      ]
      | nil,
    detectedLanguages:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage.t()
      ]
      | nil,
    dimension:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageDimension.t()
      | nil,
    formFields:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageFormField.t()
      ]
      | nil,
    image:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageImage.t()
      | nil,
    layout:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageLayout.t()
      | nil,
    lines:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageLine.t()
      ]
      | nil,
    pageNumber: integer() | nil,
    paragraphs:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageParagraph.t()
      ]
      | nil,
    provenance:
      GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentProvenance.t()
      | nil,
    tables:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageTable.t()
      ]
      | nil,
    tokens:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageToken.t()
      ]
      | nil,
    transforms:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageMatrix.t()
      ]
      | nil,
    visualElements:
      [
        GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta2DocumentPageVisualElement.t()
      ]
      | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.