@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceDetail extends Object implements Serializable, Cloneable, StructuredPojo
Structure containing attributes of the face that the algorithm detected.
Constructor and Description |
---|
FaceDetail() |
Modifier and Type | Method and Description |
---|---|
FaceDetail |
clone() |
boolean |
equals(Object obj) |
AgeRange |
getAgeRange()
The estimated age range, in years, for the face.
|
Beard |
getBeard()
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
BoundingBox |
getBoundingBox()
Bounding box of the face.
|
Float |
getConfidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
List<Emotion> |
getEmotions()
The emotions detected on the face, and the confidence level in the determination.
|
Eyeglasses |
getEyeglasses()
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
EyeOpen |
getEyesOpen()
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
Gender |
getGender()
Gender of the face and the confidence level in the determination.
|
List<Landmark> |
getLandmarks()
Indicates the location of landmarks on the face.
|
MouthOpen |
getMouthOpen()
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
Mustache |
getMustache()
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
Pose |
getPose()
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
ImageQuality |
getQuality()
Identifies image brightness and sharpness.
|
Smile |
getSmile()
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
Sunglasses |
getSunglasses()
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgeRange(AgeRange ageRange)
The estimated age range, in years, for the face.
|
void |
setBeard(Beard beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
void |
setBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
void |
setConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
void |
setEmotions(Collection<Emotion> emotions)
The emotions detected on the face, and the confidence level in the determination.
|
void |
setEyeglasses(Eyeglasses eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
void |
setEyesOpen(EyeOpen eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
void |
setGender(Gender gender)
Gender of the face and the confidence level in the determination.
|
void |
setLandmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
|
void |
setMouthOpen(MouthOpen mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
void |
setMustache(Mustache mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
void |
setPose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
void |
setQuality(ImageQuality quality)
Identifies image brightness and sharpness.
|
void |
setSmile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
void |
setSunglasses(Sunglasses sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FaceDetail |
withAgeRange(AgeRange ageRange)
The estimated age range, in years, for the face.
|
FaceDetail |
withBeard(Beard beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
FaceDetail |
withBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
FaceDetail |
withConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
FaceDetail |
withEmotions(Collection<Emotion> emotions)
The emotions detected on the face, and the confidence level in the determination.
|
FaceDetail |
withEmotions(Emotion... emotions)
The emotions detected on the face, and the confidence level in the determination.
|
FaceDetail |
withEyeglasses(Eyeglasses eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
FaceDetail |
withEyesOpen(EyeOpen eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
FaceDetail |
withGender(Gender gender)
Gender of the face and the confidence level in the determination.
|
FaceDetail |
withLandmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
|
FaceDetail |
withLandmarks(Landmark... landmarks)
Indicates the location of landmarks on the face.
|
FaceDetail |
withMouthOpen(MouthOpen mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
FaceDetail |
withMustache(Mustache mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
FaceDetail |
withPose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
FaceDetail |
withQuality(ImageQuality quality)
Identifies image brightness and sharpness.
|
FaceDetail |
withSmile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
FaceDetail |
withSunglasses(Sunglasses sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
public void setBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.public BoundingBox getBoundingBox()
Bounding box of the face.
public FaceDetail withBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.public void setAgeRange(AgeRange ageRange)
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
ageRange
- The estimated age range, in years, for the face. Low represents the lowest estimated age and High
represents the highest estimated age.public AgeRange getAgeRange()
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
public FaceDetail withAgeRange(AgeRange ageRange)
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
ageRange
- The estimated age range, in years, for the face. Low represents the lowest estimated age and High
represents the highest estimated age.public void setSmile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
smile
- Indicates whether or not the face is smiling, and the confidence level in the determination.public Smile getSmile()
Indicates whether or not the face is smiling, and the confidence level in the determination.
public FaceDetail withSmile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
smile
- Indicates whether or not the face is smiling, and the confidence level in the determination.public void setEyeglasses(Eyeglasses eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
eyeglasses
- Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.public Eyeglasses getEyeglasses()
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
public FaceDetail withEyeglasses(Eyeglasses eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
eyeglasses
- Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.public void setSunglasses(Sunglasses sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
sunglasses
- Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.public Sunglasses getSunglasses()
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
public FaceDetail withSunglasses(Sunglasses sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
sunglasses
- Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.public void setGender(Gender gender)
Gender of the face and the confidence level in the determination.
gender
- Gender of the face and the confidence level in the determination.public Gender getGender()
Gender of the face and the confidence level in the determination.
public FaceDetail withGender(Gender gender)
Gender of the face and the confidence level in the determination.
gender
- Gender of the face and the confidence level in the determination.public void setBeard(Beard beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
beard
- Indicates whether or not the face has a beard, and the confidence level in the determination.public Beard getBeard()
Indicates whether or not the face has a beard, and the confidence level in the determination.
public FaceDetail withBeard(Beard beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
beard
- Indicates whether or not the face has a beard, and the confidence level in the determination.public void setMustache(Mustache mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
mustache
- Indicates whether or not the face has a mustache, and the confidence level in the determination.public Mustache getMustache()
Indicates whether or not the face has a mustache, and the confidence level in the determination.
public FaceDetail withMustache(Mustache mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
mustache
- Indicates whether or not the face has a mustache, and the confidence level in the determination.public void setEyesOpen(EyeOpen eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
eyesOpen
- Indicates whether or not the eyes on the face are open, and the confidence level in the determination.public EyeOpen getEyesOpen()
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
public FaceDetail withEyesOpen(EyeOpen eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
eyesOpen
- Indicates whether or not the eyes on the face are open, and the confidence level in the determination.public void setMouthOpen(MouthOpen mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
mouthOpen
- Indicates whether or not the mouth on the face is open, and the confidence level in the determination.public MouthOpen getMouthOpen()
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
public FaceDetail withMouthOpen(MouthOpen mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
mouthOpen
- Indicates whether or not the mouth on the face is open, and the confidence level in the determination.public List<Emotion> getEmotions()
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
public void setEmotions(Collection<Emotion> emotions)
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
emotions
- The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD,
and ANGRY.public FaceDetail withEmotions(Emotion... emotions)
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
NOTE: This method appends the values to the existing list (if any). Use
setEmotions(java.util.Collection)
or withEmotions(java.util.Collection)
if you want to override
the existing values.
emotions
- The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD,
and ANGRY.public FaceDetail withEmotions(Collection<Emotion> emotions)
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
emotions
- The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD,
and ANGRY.public List<Landmark> getLandmarks()
Indicates the location of landmarks on the face.
public void setLandmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
landmarks
- Indicates the location of landmarks on the face.public FaceDetail withLandmarks(Landmark... landmarks)
Indicates the location of landmarks on the face.
NOTE: This method appends the values to the existing list (if any). Use
setLandmarks(java.util.Collection)
or withLandmarks(java.util.Collection)
if you want to
override the existing values.
landmarks
- Indicates the location of landmarks on the face.public FaceDetail withLandmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
landmarks
- Indicates the location of landmarks on the face.public void setPose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
pose
- Indicates the pose of the face as determined by its pitch, roll, and yaw.public Pose getPose()
Indicates the pose of the face as determined by its pitch, roll, and yaw.
public FaceDetail withPose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
pose
- Indicates the pose of the face as determined by its pitch, roll, and yaw.public void setQuality(ImageQuality quality)
Identifies image brightness and sharpness.
quality
- Identifies image brightness and sharpness.public ImageQuality getQuality()
Identifies image brightness and sharpness.
public FaceDetail withQuality(ImageQuality quality)
Identifies image brightness and sharpness.
quality
- Identifies image brightness and sharpness.public void setConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
confidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree).public Float getConfidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
public FaceDetail withConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
confidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree).public String toString()
toString
in class Object
Object.toString()
public FaceDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.