View Source GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurvedBoundingBox (google_api_content_warehouse v0.4.0)

Attributes

  • midLineCurve (type: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurve.t, default: nil) - The curve of points along the middle of the text line.
  • thickness (type: float(), default: nil) - If top_to_bottom is true, this is the width of the curved box. Otherwise, it is the height of the curved box.
  • topToBottom (type: boolean(), default: nil) - If true, the curve is interpreted as top to bottom of the line image. Otherwise, it is from left to right.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurvedBoundingBox{
  midLineCurve: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurve.t() | nil,
  thickness: float() | nil,
  topToBottom: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.