Interface DetectionFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DetectionFilter.Builder,DetectionFilter>,SdkBuilder<DetectionFilter.Builder,DetectionFilter>,SdkPojo
- Enclosing class:
- DetectionFilter
public static interface DetectionFilter.Builder extends SdkPojo, CopyableBuilder<DetectionFilter.Builder,DetectionFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectionFilter.BuilderminBoundingBoxHeight(Float minBoundingBoxHeight)Sets the minimum height of the word bounding box.DetectionFilter.BuilderminBoundingBoxWidth(Float minBoundingBoxWidth)Sets the minimum width of the word bounding box.DetectionFilter.BuilderminConfidence(Float minConfidence)Sets the confidence of word detection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minConfidence
DetectionFilter.Builder minConfidence(Float 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minBoundingBoxHeight
DetectionFilter.Builder minBoundingBoxHeight(Float 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minBoundingBoxWidth
DetectionFilter.Builder minBoundingBoxWidth(Float 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-