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 an object (DetectCustomLabels) or text (DetectText) is located on an image.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_box ⇒ Types::BoundingBox

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

Returns:



3304
3305
3306
3307
3308
3309
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3304

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

#polygon ⇒ Array<Types::Point>

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

Returns:



3304
3305
3306
3307
3308
3309
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3304

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