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_boxTypes::BoundingBox

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

Returns:



3223
3224
3225
3226
3227
3228
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3223

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 detected item.

Returns:



3223
3224
3225
3226
3227
3228
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3223

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