public class FaceRecord
extends java.lang.Object
implements java.io.Serializable
Object containing both the face metadata (stored in the backend database), and facial attributes that are detected but aren't stored in the database.
Constructor and Description |
---|
FaceRecord() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Face |
getFace()
Describes the face properties such as the bounding box, face ID, image ID
of the input image, and external image ID that you assigned.
|
FaceDetail |
getFaceDetail()
Structure containing attributes of the face that the algorithm detected.
|
int |
hashCode() |
void |
setFace(Face 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.
|
void |
setFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FaceRecord |
withFace(Face 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.
|
FaceRecord |
withFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
|
public Face getFace()
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
public void setFace(Face 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.
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.
public FaceRecord withFace(Face 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.
Returns a reference to this object so that method calls can be chained together.
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.
public FaceDetail getFaceDetail()
Structure containing attributes of the face that the algorithm detected.
Structure containing attributes of the face that the algorithm detected.
public void setFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
faceDetail
- Structure containing attributes of the face that the algorithm detected.
public FaceRecord withFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
Returns a reference to this object so that method calls can be chained together.
faceDetail
- Structure containing attributes of the face that the algorithm detected.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.