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:



3236
3237
3238
3239
3240
3241
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3236

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:



3236
3237
3238
3239
3240
3241
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3236

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