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

Class: Aws::Rekognition::Types::Geometry

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

Overview

Information about where text detected by is located on an image.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

An axis-aligned coarse representation of the detected text's location on the image.

Returns:



1179
1180
1181
1182
1183
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1179

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

#polygonArray<Types::Point>

Within the bounding box, a fine-grained polygon around the detected text.

Returns:



1179
1180
1181
1182
1183
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1179

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