google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1TextAnnotation 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.GoogleCloudVisionV1p2beta1Page.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
Link to this type
t()
View Sourcet() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1TextAnnotation{ pages: [GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1Page.t()], text: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.