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

Text with bounding box.

Attributes

  • blockId (type: integer(), default: nil) - ID of the text block that this line belongs to.
  • box (type: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox.t, default: nil) - Text bounding box.
  • contentType (type: String.t, default: nil) - Content type for this box.
  • symbolWidths (type: list(integer()), default: nil) - Optional width of characters in the text.
  • text (type: String.t, default: nil) - Text string.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.OcrPhotoTextBox{
  blockId: integer() | nil,
  box: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox.t() | nil,
  contentType: String.t() | nil,
  symbolWidths: [integer()] | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.