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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Overview

Note:

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

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)


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_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)


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_confidenceFloat

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.

Returns:

  • (Float)


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