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
- Struct
- Aws::Rekognition::Types::DetectionFilter
- Defined in:
- (unknown)
Overview
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
-
#min_bounding_box_height ⇒ Float
Sets the minimum height of the word bounding box.
-
#min_bounding_box_width ⇒ Float
Sets the minimum width of the word bounding box.
-
#min_confidence ⇒ Float
Sets confidence of word detection.
Instance Attribute Details
#min_bounding_box_height ⇒ Float
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.
#min_bounding_box_width ⇒ Float
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.
#min_confidence ⇒ Float
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.