google_api_vision v0.2.0 GoogleApi.Vision.V1.Model.TextAnnotation 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 ([Page]): List of pages detected by OCR. Defaults to:
null
. - text (String.t): UTF-8 text detected on the pages. Defaults to:
null
.
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 Source
t() :: %GoogleApi.Vision.V1.Model.TextAnnotation{ pages: [GoogleApi.Vision.V1.Model.Page.t()], text: any() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.