@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 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 Float minConfidence()
Sets confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.
public 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 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.