Class: Aws::Rekognition::Types::DetectionFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DetectionFilter
- Defined in:
- gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb
Overview
When making an API call, you may pass DetectionFilter data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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 the 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.
2351 2352 2353 2354 2355 2356 2357 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2351 class DetectionFilter < Struct.new( :min_confidence, :min_bounding_box_height, :min_bounding_box_width) SENSITIVE = [] include Aws::Structure end |
#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.
2351 2352 2353 2354 2355 2356 2357 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2351 class DetectionFilter < Struct.new( :min_confidence, :min_bounding_box_height, :min_bounding_box_width) SENSITIVE = [] include Aws::Structure end |
#min_confidence ⇒ Float
Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0 and 100. The default MinConfidence is 80.
2351 2352 2353 2354 2355 2356 2357 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2351 class DetectionFilter < Struct.new( :min_confidence, :min_bounding_box_height, :min_bounding_box_width) SENSITIVE = [] include Aws::Structure end |