View Source GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageBlock (google_api_content_warehouse v0.3.0)

Attributes

  • BlockType (type: integer(), default: nil) -
  • Box (type: GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox.t, default: nil) -
  • Label (type: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t, default: nil) -
  • OrientationLabel (type: GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel.t, default: nil) - Which way is upright for this block, and what is the reading order (applicable if there is text here).
  • Paragraph (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph.t), default: nil) -
  • RotatedBox (type: GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox.t, default: nil) - If RotatedBox is set, Box must be set as well. See RotatedBoundingBox.
  • TextConfidence (type: integer(), default: nil) - Block text recognition confidence. Range depends on the algorithm but should be consistent in a given volume. 0 is bad, 100 is good.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocDocumentPageBlock{
  BlockType: integer() | nil,
  Box: GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox.t() | nil,
  Label: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t() | nil,
  OrientationLabel:
    GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel.t() | nil,
  Paragraph: [GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph.t()] | nil,
  RotatedBox:
    GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox.t() | nil,
  TextConfidence: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.