@Generated(value="software.amazon.awssdk:codegen") public final class DetectionFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DetectionFilter.Builder,DetectionFilter>
A set of parameters that allow you to filter out certain results from your returned results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectionFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectionFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Float |
minBoundingBoxHeight()
Sets the minimum height of the word bounding box.
|
Float |
minBoundingBoxWidth()
Sets the minimum width of the word bounding box.
|
Float |
minConfidence()
Sets the confidence of word detection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectionFilter.Builder> |
serializableBuilderClass() |
DetectionFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Float 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.
public final 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.
public final 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.
public DetectionFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectionFilter.Builder,DetectionFilter>public static DetectionFilter.Builder builder()
public static Class<? extends DetectionFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.