amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.DetectionFilter

Description

 
Synopsis

Documentation

data DetectionFilter Source #

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

See: newDetectionFilter smart constructor.

Constructors

DetectionFilter' 

Fields

  • minBoundingBoxHeight :: Maybe Double

    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.

  • minBoundingBoxWidth :: Maybe Double

    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.

  • minConfidence :: Maybe Double

    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.

Instances

Instances details
ToJSON DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Generic DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Associated Types

type Rep DetectionFilter :: Type -> Type #

Read DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Show DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

NFData DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Methods

rnf :: DetectionFilter -> () #

Eq DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Hashable DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

type Rep DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

type Rep DetectionFilter = D1 ('MetaData "DetectionFilter" "Amazonka.Rekognition.Types.DetectionFilter" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "DetectionFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "minBoundingBoxHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "minBoundingBoxWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "minConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newDetectionFilter :: DetectionFilter Source #

Create a value of DetectionFilter with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:minBoundingBoxHeight:DetectionFilter', detectionFilter_minBoundingBoxHeight - 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.

$sel:minBoundingBoxWidth:DetectionFilter', detectionFilter_minBoundingBoxWidth - 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.

$sel:minConfidence:DetectionFilter', detectionFilter_minConfidence - 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.

detectionFilter_minBoundingBoxHeight :: Lens' DetectionFilter (Maybe Double) Source #

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.

detectionFilter_minBoundingBoxWidth :: Lens' DetectionFilter (Maybe Double) Source #

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.

detectionFilter_minConfidence :: Lens' DetectionFilter (Maybe Double) Source #

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.