@Generated(value="software.amazon.awssdk:codegen") public final class DetectTextFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DetectTextFilters.Builder,DetectTextFilters>
A set of optional parameters that you can use to set the criteria that the text must meet to be included in your
response. WordFilter looks at a word’s height, width, and minimum confidence.
RegionOfInterest lets you set a specific region of the image to look for text in.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectTextFilters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectTextFilters.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRegionsOfInterest()
Returns true if the RegionsOfInterest property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<RegionOfInterest> |
regionsOfInterest()
A Filter focusing on a certain area of the image.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectTextFilters.Builder> |
serializableBuilderClass() |
DetectTextFilters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DetectionFilter |
wordFilter()
Returns the value of the WordFilter property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic DetectionFilter wordFilter()
public boolean hasRegionsOfInterest()
public List<RegionOfInterest> regionsOfInterest()
A Filter focusing on a certain area of the image. Uses a BoundingBox object to set the region of the
image.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRegionsOfInterest() to see if a value was sent in this field.
BoundingBox object to set the
region of the image.public DetectTextFilters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectTextFilters.Builder,DetectTextFilters>public static DetectTextFilters.Builder builder()
public static Class<? extends DetectTextFilters.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.