@Generated(value="software.amazon.awssdk:codegen") public final class RegionOfInterest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RegionOfInterest.Builder,RegionOfInterest>
Specifies a location within the frame that Rekognition checks for text. Uses a BoundingBox object to set
a region of the screen.
A word is included in the region if the word is more than half in that region. If there is more than one region, the word will be compared with all regions of the screen. Any word more than half in a region is kept in the results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegionOfInterest.Builder |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
boundingBox()
The box representing a region of interest on screen.
|
static RegionOfInterest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegionOfInterest.Builder> |
serializableBuilderClass() |
RegionOfInterest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BoundingBox boundingBox()
The box representing a region of interest on screen.
public RegionOfInterest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegionOfInterest.Builder,RegionOfInterest>public static RegionOfInterest.Builder builder()
public static Class<? extends RegionOfInterest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.