Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DetectionFilter' | |
|
Instances
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.