You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Rekognition::Types::DetectTextFilters
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DetectTextFilters
- Defined in:
- (unknown)
Overview
When passing DetectTextFilters as input to an Aws::Client method, you can use a vanilla Hash:
{
word_filter: {
min_confidence: 1.0,
min_bounding_box_height: 1.0,
min_bounding_box_width: 1.0,
},
regions_of_interest: [
{
bounding_box: {
width: 1.0,
height: 1.0,
left: 1.0,
top: 1.0,
},
},
],
}
A set of optional parameters that you can use to set the criteria that the text must meet to be included in your response. WordFilter
looks at a word’s height, width, and minimum confidence. RegionOfInterest
lets you set a specific region of the image to look for text in.
Returned by:
Instance Attribute Summary collapse
-
#regions_of_interest ⇒ Array<Types::RegionOfInterest>
A Filter focusing on a certain area of the image.
-
#word_filter ⇒ Types::DetectionFilter
A set of parameters that allow you to filter out certain results from your returned results.
.
Instance Attribute Details
#regions_of_interest ⇒ Array<Types::RegionOfInterest>
A Filter focusing on a certain area of the image. Uses a BoundingBox
object to set the region of the image.
#word_filter ⇒ Types::DetectionFilter
A set of parameters that allow you to filter out certain results from your returned results.