Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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 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.