Class: Aws::Rekognition::Types::StartTextDetectionFilters

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 StartTextDetectionFilters 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,
      },
    },
  ],
}

Set of optional parameters that let you set the criteria 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 screen to look for text in.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#regions_of_interestArray<Types::RegionOfInterest>

Filter focusing on a certain area of the frame. Uses a BoundingBox object to set the region of the screen.

Returns:



5150
5151
5152
5153
5154
5155
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5150

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

#word_filterTypes::DetectionFilter

Filters focusing on qualities of the text, such as confidence or size.



5150
5151
5152
5153
5154
5155
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 5150

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