@Generated(value="software.amazon.awssdk:codegen") public class FaceDetail extends Object implements StructuredPojo, ToCopyableBuilder<FaceDetail.Builder,FaceDetail>
Structure containing attributes of the face that the algorithm detected.
Modifier and Type | Class and Description |
---|---|
static interface |
FaceDetail.Builder |
Modifier and Type | Method and Description |
---|---|
AgeRange |
ageRange()
The estimated age range, in years, for the face.
|
Beard |
beard()
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
BoundingBox |
boundingBox()
Bounding box of the face.
|
static FaceDetail.Builder |
builder() |
Float |
confidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
List<Emotion> |
emotions()
The emotions detected on the face, and the confidence level in the determination.
|
boolean |
equals(Object obj) |
Eyeglasses |
eyeglasses()
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
EyeOpen |
eyesOpen()
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
Gender |
gender()
Gender of the face and the confidence level in the determination.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<Landmark> |
landmarks()
Indicates the location of landmarks on the face.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
MouthOpen |
mouthOpen()
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
Mustache |
mustache()
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
Pose |
pose()
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
ImageQuality |
quality()
Identifies image brightness and sharpness.
|
static Class<? extends FaceDetail.Builder> |
serializableBuilderClass() |
Smile |
smile()
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
Sunglasses |
sunglasses()
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
FaceDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public BoundingBox boundingBox()
Bounding box of the face.
public AgeRange ageRange()
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
public Smile smile()
Indicates whether or not the face is smiling, and the confidence level in the determination.
public Eyeglasses eyeglasses()
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
public Sunglasses sunglasses()
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
public Gender gender()
Gender of the face and the confidence level in the determination.
public Beard beard()
Indicates whether or not the face has a beard, and the confidence level in the determination.
public Mustache mustache()
Indicates whether or not the face has a mustache, and the confidence level in the determination.
public EyeOpen eyesOpen()
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
public MouthOpen mouthOpen()
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
public List<Emotion> emotions()
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Landmark> landmarks()
Indicates the location of landmarks on the face.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Pose pose()
Indicates the pose of the face as determined by its pitch, roll, and yaw.
public ImageQuality quality()
Identifies image brightness and sharpness.
public Float confidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
public FaceDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FaceDetail.Builder,FaceDetail>
public static FaceDetail.Builder builder()
public static Class<? extends FaceDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.