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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.

Returned by:

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:

  • (Types::BoundingBox)

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

#polygonArray<Types::Point>

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

Returns:

  • (Array<Types::Point>)

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