You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Textract::Types::Geometry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_box ⇒ Types::BoundingBox

An axis-aligned coarse representation of the location of the recognized item on the document page.

Returns:

  • (Types::BoundingBox) —

    An axis-aligned coarse representation of the location of the recognized item on the document page.

#polygon ⇒ Array<Types::Point>

Within the bounding box, a fine-grained polygon around the recognized item.

Returns:

  • (Array<Types::Point>) —

    Within the bounding box, a fine-grained polygon around the recognized item.