CopyableBuilder<FaceDetail.Builder,FaceDetail>
, SdkBuilder<FaceDetail.Builder,FaceDetail>
public static interface FaceDetail.Builder extends CopyableBuilder<FaceDetail.Builder,FaceDetail>
Modifier and Type | Method | Description |
---|---|---|
FaceDetail.Builder |
ageRange(AgeRange ageRange) |
The estimated age range, in years, for the face.
|
FaceDetail.Builder |
beard(Beard beard) |
Indicates whether or not the face has a beard, and the confidence level in the determination.
|
FaceDetail.Builder |
boundingBox(BoundingBox boundingBox) |
Bounding box of the face.
|
FaceDetail.Builder |
confidence(Float confidence) |
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
FaceDetail.Builder |
emotions(Collection<Emotion> emotions) |
The emotions detected on the face, and the confidence level in the determination.
|
FaceDetail.Builder |
emotions(Emotion... emotions) |
The emotions detected on the face, and the confidence level in the determination.
|
FaceDetail.Builder |
eyeglasses(Eyeglasses eyeglasses) |
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
|
FaceDetail.Builder |
eyesOpen(EyeOpen eyesOpen) |
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
|
FaceDetail.Builder |
gender(Gender gender) |
Gender of the face and the confidence level in the determination.
|
FaceDetail.Builder |
landmarks(Collection<Landmark> landmarks) |
Indicates the location of landmarks on the face.
|
FaceDetail.Builder |
landmarks(Landmark... landmarks) |
Indicates the location of landmarks on the face.
|
FaceDetail.Builder |
mouthOpen(MouthOpen mouthOpen) |
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
|
FaceDetail.Builder |
mustache(Mustache mustache) |
Indicates whether or not the face has a mustache, and the confidence level in the determination.
|
FaceDetail.Builder |
pose(Pose pose) |
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
FaceDetail.Builder |
quality(ImageQuality quality) |
Identifies image brightness and sharpness.
|
FaceDetail.Builder |
smile(Smile smile) |
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
FaceDetail.Builder |
sunglasses(Sunglasses sunglasses) |
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
|
copy
apply, build
FaceDetail.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.FaceDetail.Builder ageRange(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.FaceDetail.Builder smile(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.FaceDetail.Builder eyeglasses(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.FaceDetail.Builder sunglasses(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.FaceDetail.Builder gender(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.FaceDetail.Builder beard(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.FaceDetail.Builder mustache(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.FaceDetail.Builder eyesOpen(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.FaceDetail.Builder mouthOpen(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.FaceDetail.Builder emotions(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.FaceDetail.Builder emotions(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.FaceDetail.Builder landmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
landmarks
- Indicates the location of landmarks on the face.FaceDetail.Builder landmarks(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.FaceDetail.Builder pose(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.FaceDetail.Builder quality(ImageQuality quality)
Identifies image brightness and sharpness.
quality
- Identifies image brightness and sharpness.FaceDetail.Builder confidence(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).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.