Googly. DocumentAI. Model. GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock
(googly_document_ai v0.1.0)
Copy Markdown
View Source
Represents an image type block.
Attributes
-
annotations(type:Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentAnnotations.t()) - Annotation of the image block. -
blob_asset_id(type:String.t()) - Optional. Asset id of the inline image. If set, find the image content in the blob_assets field. -
data_uri(type:String.t()) - Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:, -
gcs_uri(type:String.t()) - Optional. Google Cloud Storage uri of the image. -
image_text(type:String.t()) - Text extracted from the image using OCR or alt text describing the image. -
mime_type(type:String.t()) - Mime type of the image. An IANA published [media type (MIME type)] (https://www.iana.org/assignments/media-types/media-types.xhtml).
Summary
Types
@type t() :: %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock{ annotations: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentAnnotations.t() | nil, blob_asset_id: String.t() | nil, data_uri: String.t() | nil, gcs_uri: String.t() | nil, image_text: String.t() | nil, mime_type: String.t() | nil }