Class DetectionFilter
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.DetectionFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DetectionFilter.Builder,DetectionFilter>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetectionFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetectionFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FloatminBoundingBoxHeight()Sets the minimum height of the word bounding box.FloatminBoundingBoxWidth()Sets the minimum width of the word bounding box.FloatminConfidence()Sets the confidence of word detection.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DetectionFilter.Builder>serializableBuilderClass()DetectionFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
minConfidence
public 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 0 and 100. The default MinConfidence is 80.
- Returns:
- 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.
-
minBoundingBoxHeight
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.
- Returns:
- 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.
-
minBoundingBoxWidth
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.
- Returns:
- 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.
-
toBuilder
public DetectionFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DetectionFilter.Builder,DetectionFilter>
-
builder
public static DetectionFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends DetectionFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-