AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Rekognition::Types::RegionOfInterest

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

Overview

Note:

When passing RegionOfInterest as input to an Aws::Client method, you can use a vanilla Hash:

{
  bounding_box: {
    width: 1.0,
    height: 1.0,
    left: 1.0,
    top: 1.0,
  },
}

Specifies a location within the frame that Rekognition checks for text. Uses a BoundingBox object to set a region of the screen.

A word is included in the region if the word is more than half in that region. If there is more than one region, the word will be compared with all regions of the screen. Any word more than half in a region is kept in the results.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

The box representing a region of interest on screen.

Returns: