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
- Struct
- Aws::Rekognition::Types::Geometry
 
- Defined in:
- (unknown)
Overview
Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.
Returned by:
Instance Attribute Summary collapse
- 
  
    
      #bounding_box  ⇒ Types::BoundingBox 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An axis-aligned coarse representation of the detected item\'s location on the image. 
- 
  
    
      #polygon  ⇒ Array<Types::Point> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Within the bounding box, a fine-grained polygon around the detected item. 
Instance Attribute Details
#bounding_box ⇒ Types::BoundingBox
An axis-aligned coarse representation of the detected item\'s location on the image.
#polygon ⇒ Array<Types::Point>
Within the bounding box, a fine-grained polygon around the detected item.