GoogleApi.ContentWarehouse.V1.Model.OcrPhotoTextBox
Table of Contents ▼
Jump to a specific part of the page:
Description
Text with bounding box.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
blockId
(type:integer()
, default:nil
)
- ID of the text block that this line belongs to. -
box
(type:GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox
, 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.
Type
@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
}
blockId: integer() | nil,
box: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox.t() | nil,
contentType: String.t() | nil,
symbolWidths: [integer()] | nil,
text: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.OcrPhotoTextBox