Class: Aws::Comprehend::Types::Geometry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Information about the location of items on a document page.

For additional information, see Geometry in the Amazon Textract API reference.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

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

Returns:



4957
4958
4959
4960
4961
4962
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 4957

class Geometry < Struct.new(
  :bounding_box,
  :polygon)
  SENSITIVE = []
  include Aws::Structure
end

#polygonArray<Types::Point>

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

Returns:



4957
4958
4959
4960
4961
4962
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 4957

class Geometry < Struct.new(
  :bounding_box,
  :polygon)
  SENSITIVE = []
  include Aws::Structure
end