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

Bounding box of patch containing line, word or symbol.

Attributes

  • angle (type: number(), default: nil) - Angle of rotation of (in degrees, clockwise is positive) of the box about the top-left corner.
  • curvedBox (type: GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurvedBoundingBox.t, default: nil) - Sequence of rotated boxes that tightly enclose the text.
  • height (type: integer(), default: nil) - Box height (bottom pixels at top + height - 1).
  • left (type: integer(), default: nil) - x coordinate of top-left corner
  • top (type: integer(), default: nil) - y coordinate of top-left corner
  • width (type: integer(), default: nil) - Box width (rightmost pixels at left + width - 1).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox{
  angle: number() | nil,
  curvedBox:
    GoogleApi.ContentWarehouse.V1.Model.OcrPhotoCurvedBoundingBox.t() | nil,
  height: integer() | nil,
  left: integer() | nil,
  top: integer() | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.