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

Class: Aws::Rekognition::Types::DetectionFilter

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

Overview

Note:

When passing DetectionFilter as input to an Aws::Client method, you can use a vanilla Hash:

{
  min_confidence: 1.0,
  min_bounding_box_height: 1.0,
  min_bounding_box_width: 1.0,
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#min_bounding_box_heightFloat

Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.

Returns:

  • (Float)

    Sets the minimum height of the word bounding box.

#min_bounding_box_widthFloat

Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.

Returns:

  • (Float)

    Sets the minimum width of the word bounding box.

#min_confidenceFloat

Sets confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.

Returns:

  • (Float)

    Sets confidence of word detection.