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
show all
Defined in:
(unknown)

Overview

Note:

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

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:

#word_filterTypes::DetectionFilter

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

Returns:

  • (Types::DetectionFilter)

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

    .