OcrPhotoBoundingBox

GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox


Table of Contents ▼

Jump to a specific part of the page:

Description

Bounding box of patch containing line, word or symbol.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

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

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.OcrPhotoBoundingBox