Class: Aws::Rekognition::Types::DetectTextFilters

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

Note:

When making an API call, you may pass DetectTextFilters data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#regions_of_interestArray<Types::RegionOfInterest>

A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of the image.

Returns:



1563
1564
1565
1566
1567
1568
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1563

class DetectTextFilters < Struct.new(
  :word_filter,
  :regions_of_interest)
  SENSITIVE = []
  include Aws::Structure
end

#word_filterTypes::DetectionFilter

A set of parameters that allow you to filter out certain results from your returned results.



1563
1564
1565
1566
1567
1568
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1563

class DetectTextFilters < Struct.new(
  :word_filter,
  :regions_of_interest)
  SENSITIVE = []
  include Aws::Structure
end