@Generated(value="software.amazon.awssdk:codegen") public final class StartTextDetectionFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StartTextDetectionFilters.Builder,StartTextDetectionFilters>
Set of optional parameters that let you set the criteria 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 screen to look for text in.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartTextDetectionFilters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartTextDetectionFilters.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()
Filter focusing on a certain area of the frame.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartTextDetectionFilters.Builder> |
serializableBuilderClass() |
StartTextDetectionFilters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DetectionFilter |
wordFilter()
Filters focusing on qualities of the text, such as confidence or size.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic DetectionFilter wordFilter()
Filters focusing on qualities of the text, such as confidence or size.
public boolean hasRegionsOfInterest()
public List<RegionOfInterest> regionsOfInterest()
Filter focusing on a certain area of the frame. Uses a BoundingBox object to set the region of the
screen.
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 screen.public StartTextDetectionFilters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartTextDetectionFilters.Builder,StartTextDetectionFilters>public static StartTextDetectionFilters.Builder builder()
public static Class<? extends StartTextDetectionFilters.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.