GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1TextAnnotation (google_api_vision v0.23.0) View Source
TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.
Attributes
-
pages
(type:list(GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1Page.t)
, default:nil
) - List of pages detected by OCR. -
text
(type:String.t
, default:nil
) - UTF-8 text detected on the pages.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1TextAnnotation{ pages: [GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1Page.t()], text: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.