libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 50 and 100 as Text in Video will not return any result below 50.

Instances

Instances details
Eq DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Read DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Show 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 #

NFData DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

Methods

rnf :: DetectionFilter -> () #

Hashable DetectionFilter Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DetectionFilter

ToJSON 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" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" '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 50 and 100 as Text in Video will not return any result below 50.

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 50 and 100 as Text in Video will not return any result below 50.