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

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

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

Overview

Note:

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

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.

Returned by:

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:

#word_filterTypes::DetectionFilter

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

Returns: