@Generated(value="software.amazon.awssdk:codegen") public final class Face extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Face.Builder,Face>
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Face.Builder |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
boundingBox()
Bounding box of the face.
|
static Face.Builder |
builder() |
Float |
confidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalImageId()
Identifier that you assign to all the faces in the input image.
|
String |
faceId()
Unique identifier that Amazon Rekognition assigns to the face.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageId()
Unique identifier that Amazon Rekognition assigns to the input image.
|
String |
indexFacesModelVersion()
The version of the face detect and storage model that was used when indexing the face vector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Face.Builder> |
serializableBuilderClass() |
Face.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String faceId()
Unique identifier that Amazon Rekognition assigns to the face.
public final BoundingBox boundingBox()
Bounding box of the face.
public final String imageId()
Unique identifier that Amazon Rekognition assigns to the input image.
public final String externalImageId()
Identifier that you assign to all the faces in the input image.
public final Float confidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
public final String indexFacesModelVersion()
The version of the face detect and storage model that was used when indexing the face vector.
public Face.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Face.Builder,Face>public static Face.Builder builder()
public static Class<? extends Face.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.