View Source GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph (google_api_content_warehouse v0.2.0)
Represents a paragraph of text in OCRed content.
Attributes
-
Box(type:GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox.t, default:nil) - -
FirstLineIndent(type:integer(), default:nil) - -
Label(type:GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t, default:nil) - -
LeftIndent(type:integer(), default:nil) - -
LineSpacing(type:integer(), default:nil) - -
OrientationLabel(type:GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel.t, default:nil) - Which way is upright for this paragraph and what is the dominant reading order? -
RightIndent(type:integer(), default:nil) - -
RotatedBox(type:GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox.t, default:nil) - If RotatedBox is set, Box must be set as well. See RotatedBoundingBox. -
SpaceAfter(type:integer(), default:nil) - -
SpaceBefore(type:integer(), default:nil) - -
SubsumedParagraphProperties(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph.t), default:nil) - If we merge any paragraphs into this one (through the MergeParagraphWithNext() interface in goodoc-editing.h), then we append the properties of the merged paragraph here, for debugging and to avoid losing any info. Note that the SubsumedParagraphProperties Paragraphs do not contain Routes. -
TextConfidence(type:integer(), default:nil) - Paragraph text recognition confidence. Range depends on the algorithm but should be consistent in a given volume. 0 is bad, 100 is good. -
Width(type:integer(), default:nil) - -
alignment(type:integer(), default:nil) - -
droppedcap(type:GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphDroppedCap.t, default:nil) - -
route(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphRoute.t), default:nil) -
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocParagraph{ Box: GoogleApi.ContentWarehouse.V1.Model.GoodocBoundingBox.t() | nil, FirstLineIndent: integer() | nil, Label: GoogleApi.ContentWarehouse.V1.Model.GoodocLabel.t() | nil, LeftIndent: integer() | nil, LineSpacing: integer() | nil, OrientationLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocOrientationLabel.t() | nil, RightIndent: integer() | nil, RotatedBox: GoogleApi.ContentWarehouse.V1.Model.GoodocRotatedBoundingBox.t() | nil, SpaceAfter: integer() | nil, SpaceBefore: integer() | nil, SubsumedParagraphProperties: [t()] | nil, TextConfidence: integer() | nil, Width: integer() | nil, alignment: integer() | nil, droppedcap: GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphDroppedCap.t() | nil, route: [GoogleApi.ContentWarehouse.V1.Model.GoodocParagraphRoute.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.