public static interface FaceDetail.Builder extends SdkPojo, CopyableBuilder<FaceDetail.Builder,FaceDetail>
| Modifier and Type | Method and Description |
|---|---|
FaceDetail.Builder |
ageRange(AgeRange ageRange)
The estimated age range, in years, for the face.
|
default FaceDetail.Builder |
ageRange(Consumer<AgeRange.Builder> 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.
|
default FaceDetail.Builder |
beard(Consumer<Beard.Builder> 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.
|
default FaceDetail.Builder |
boundingBox(Consumer<BoundingBox.Builder> 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 that appear to be expressed on the face, and the confidence level in the determination.
|
FaceDetail.Builder |
emotions(Consumer<Emotion.Builder>... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination.
|
FaceDetail.Builder |
emotions(Emotion... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination.
|
default FaceDetail.Builder |
eyeDirection(Consumer<EyeDirection.Builder> eyeDirection)
Indicates the direction the eyes are gazing in, as defined by pitch and yaw.
|
FaceDetail.Builder |
eyeDirection(EyeDirection eyeDirection)
Indicates the direction the eyes are gazing in, as defined by pitch and yaw.
|
default FaceDetail.Builder |
eyeglasses(Consumer<Eyeglasses.Builder> eyeglasses)
Indicates whether or not the face is wearing eye glasses, 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.
|
default FaceDetail.Builder |
eyesOpen(Consumer<EyeOpen.Builder> eyesOpen)
Indicates whether or not the eyes on the face are open, 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.
|
default FaceDetail.Builder |
faceOccluded(Consumer<FaceOccluded.Builder> faceOccluded)
FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose,
and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or
other objects. |
FaceDetail.Builder |
faceOccluded(FaceOccluded faceOccluded)
FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose,
and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or
other objects. |
default FaceDetail.Builder |
gender(Consumer<Gender.Builder> gender)
The predicted gender of a detected face.
|
FaceDetail.Builder |
gender(Gender gender)
The predicted gender of a detected face.
|
FaceDetail.Builder |
landmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face.
|
FaceDetail.Builder |
landmarks(Consumer<Landmark.Builder>... landmarks)
Indicates the location of landmarks on the face.
|
FaceDetail.Builder |
landmarks(Landmark... landmarks)
Indicates the location of landmarks on the face.
|
default FaceDetail.Builder |
mouthOpen(Consumer<MouthOpen.Builder> mouthOpen)
Indicates whether or not the mouth on the face is 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.
|
default FaceDetail.Builder |
mustache(Consumer<Mustache.Builder> mustache)
Indicates whether or not the face has a mustache, 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.
|
default FaceDetail.Builder |
pose(Consumer<Pose.Builder> pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
FaceDetail.Builder |
pose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
default FaceDetail.Builder |
quality(Consumer<ImageQuality.Builder> quality)
Identifies image brightness and sharpness.
|
FaceDetail.Builder |
quality(ImageQuality quality)
Identifies image brightness and sharpness.
|
default FaceDetail.Builder |
smile(Consumer<Smile.Builder> smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
FaceDetail.Builder |
smile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
default FaceDetail.Builder |
sunglasses(Consumer<Sunglasses.Builder> sunglasses)
Indicates whether or not the face is wearing sunglasses, 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFaceDetail.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face. Default attribute.
boundingBox - Bounding box of the face. Default attribute.default FaceDetail.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face. Default attribute.
This is a convenience method that creates an instance of theBoundingBox.Builder avoiding the need to
create one manually via BoundingBox.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to boundingBox(BoundingBox).
boundingBox - a consumer that will call methods on BoundingBox.BuilderboundingBox(BoundingBox)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.default FaceDetail.Builder ageRange(Consumer<AgeRange.Builder> ageRange)
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
This is a convenience method that creates an instance of theAgeRange.Builder avoiding the need to
create one manually via AgeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to ageRange(AgeRange).
ageRange - a consumer that will call methods on AgeRange.BuilderageRange(AgeRange)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.default FaceDetail.Builder smile(Consumer<Smile.Builder> smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
This is a convenience method that creates an instance of theSmile.Builder avoiding the need to
create one manually via Smile.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to smile(Smile).
smile - a consumer that will call methods on Smile.Buildersmile(Smile)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.default FaceDetail.Builder eyeglasses(Consumer<Eyeglasses.Builder> eyeglasses)
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
This is a convenience method that creates an instance of theEyeglasses.Builder avoiding the need to
create one manually via Eyeglasses.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to eyeglasses(Eyeglasses).
eyeglasses - a consumer that will call methods on Eyeglasses.Buildereyeglasses(Eyeglasses)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.default FaceDetail.Builder sunglasses(Consumer<Sunglasses.Builder> sunglasses)
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
This is a convenience method that creates an instance of theSunglasses.Builder avoiding the need to
create one manually via Sunglasses.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to sunglasses(Sunglasses).
sunglasses - a consumer that will call methods on Sunglasses.Buildersunglasses(Sunglasses)FaceDetail.Builder gender(Gender gender)
The predicted gender of a detected face.
gender - The predicted gender of a detected face.default FaceDetail.Builder gender(Consumer<Gender.Builder> gender)
The predicted gender of a detected face.
This is a convenience method that creates an instance of theGender.Builder avoiding the need to
create one manually via Gender.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to gender(Gender).
gender - a consumer that will call methods on Gender.Buildergender(Gender)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.default FaceDetail.Builder beard(Consumer<Beard.Builder> beard)
Indicates whether or not the face has a beard, and the confidence level in the determination.
This is a convenience method that creates an instance of theBeard.Builder avoiding the need to
create one manually via Beard.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to beard(Beard).
beard - a consumer that will call methods on Beard.Builderbeard(Beard)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.default FaceDetail.Builder mustache(Consumer<Mustache.Builder> mustache)
Indicates whether or not the face has a mustache, and the confidence level in the determination.
This is a convenience method that creates an instance of theMustache.Builder avoiding the need to
create one manually via Mustache.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to mustache(Mustache).
mustache - a consumer that will call methods on Mustache.Buildermustache(Mustache)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.default FaceDetail.Builder eyesOpen(Consumer<EyeOpen.Builder> eyesOpen)
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
This is a convenience method that creates an instance of theEyeOpen.Builder avoiding the need to
create one manually via EyeOpen.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to eyesOpen(EyeOpen).
eyesOpen - a consumer that will call methods on EyeOpen.BuildereyesOpen(EyeOpen)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.default FaceDetail.Builder mouthOpen(Consumer<MouthOpen.Builder> mouthOpen)
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
This is a convenience method that creates an instance of theMouthOpen.Builder avoiding the need to
create one manually via MouthOpen.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to mouthOpen(MouthOpen).
mouthOpen - a consumer that will call methods on MouthOpen.BuildermouthOpen(MouthOpen)FaceDetail.Builder emotions(Collection<Emotion> emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.
emotions - The emotions that appear to be expressed on the face, and the confidence level in the determination.
The API is only making a determination of the physical appearance of a person's face. It is not a
determination of the person’s internal emotional state and should not be used in such a way. For
example, a person pretending to have a sad face might not be sad emotionally.FaceDetail.Builder emotions(Emotion... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.
emotions - The emotions that appear to be expressed on the face, and the confidence level in the determination.
The API is only making a determination of the physical appearance of a person's face. It is not a
determination of the person’s internal emotional state and should not be used in such a way. For
example, a person pretending to have a sad face might not be sad emotionally.FaceDetail.Builder emotions(Consumer<Emotion.Builder>... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.
This is a convenience method that creates an instance of theEmotion.Builder avoiding the need to create one
manually via Emotion.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #emotions(List.
emotions - a consumer that will call methods on
Emotion.Builder#emotions(java.util.Collection) FaceDetail.Builder landmarks(Collection<Landmark> landmarks)
Indicates the location of landmarks on the face. Default attribute.
landmarks - Indicates the location of landmarks on the face. Default attribute.FaceDetail.Builder landmarks(Landmark... landmarks)
Indicates the location of landmarks on the face. Default attribute.
landmarks - Indicates the location of landmarks on the face. Default attribute.FaceDetail.Builder landmarks(Consumer<Landmark.Builder>... landmarks)
Indicates the location of landmarks on the face. Default attribute.
This is a convenience method that creates an instance of theLandmark.Builder avoiding the need to create one
manually via Landmark.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #landmarks(List.
landmarks - a consumer that will call methods on
Landmark.Builder#landmarks(java.util.Collection) FaceDetail.Builder pose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
pose - Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.default FaceDetail.Builder pose(Consumer<Pose.Builder> pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
This is a convenience method that creates an instance of thePose.Builder avoiding the need to create
one manually via Pose.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to pose(Pose).
pose - a consumer that will call methods on Pose.Builderpose(Pose)FaceDetail.Builder quality(ImageQuality quality)
Identifies image brightness and sharpness. Default attribute.
quality - Identifies image brightness and sharpness. Default attribute.default FaceDetail.Builder quality(Consumer<ImageQuality.Builder> quality)
Identifies image brightness and sharpness. Default attribute.
This is a convenience method that creates an instance of theImageQuality.Builder avoiding the need
to create one manually via ImageQuality.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to quality(ImageQuality).
quality - a consumer that will call methods on ImageQuality.Builderquality(ImageQuality)FaceDetail.Builder confidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.
confidence - Confidence level that the bounding box contains a face (and not a different object such as a tree).
Default attribute.FaceDetail.Builder faceOccluded(FaceOccluded faceOccluded)
FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose,
and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or
other objects. FaceOccluded should return "false" with a high confidence score if common
occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted
sunglasses, strands of hair, and others.
faceOccluded - FaceOccluded should return "true" with a high confidence score if a detected face’s eyes,
nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones,
hands, or other objects. FaceOccluded should return "false" with a high confidence score
if common occurrences that do not impact face verification are detected, such as eye glasses, lightly
tinted sunglasses, strands of hair, and others.default FaceDetail.Builder faceOccluded(Consumer<FaceOccluded.Builder> faceOccluded)
FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose,
and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or
other objects. FaceOccluded should return "false" with a high confidence score if common
occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted
sunglasses, strands of hair, and others.
FaceOccluded.Builder avoiding the need
to create one manually via FaceOccluded.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to faceOccluded(FaceOccluded).
faceOccluded - a consumer that will call methods on FaceOccluded.BuilderfaceOccluded(FaceOccluded)FaceDetail.Builder eyeDirection(EyeDirection eyeDirection)
Indicates the direction the eyes are gazing in, as defined by pitch and yaw.
eyeDirection - Indicates the direction the eyes are gazing in, as defined by pitch and yaw.default FaceDetail.Builder eyeDirection(Consumer<EyeDirection.Builder> eyeDirection)
Indicates the direction the eyes are gazing in, as defined by pitch and yaw.
This is a convenience method that creates an instance of theEyeDirection.Builder avoiding the need
to create one manually via EyeDirection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to eyeDirection(EyeDirection).
eyeDirection - a consumer that will call methods on EyeDirection.BuildereyeDirection(EyeDirection)Copyright © 2023. All rights reserved.