public static interface ComparedFace.Builder extends SdkPojo, CopyableBuilder<ComparedFace.Builder,ComparedFace>
| Modifier and Type | Method and Description |
|---|---|
ComparedFace.Builder |
boundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
default ComparedFace.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
|
ComparedFace.Builder |
confidence(Float confidence)
Level of confidence that what the bounding box contains is a face.
|
ComparedFace.Builder |
emotions(Collection<Emotion> emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination.
|
ComparedFace.Builder |
emotions(Consumer<Emotion.Builder>... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination.
|
ComparedFace.Builder |
emotions(Emotion... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination.
|
ComparedFace.Builder |
landmarks(Collection<Landmark> landmarks)
An array of facial landmarks.
|
ComparedFace.Builder |
landmarks(Consumer<Landmark.Builder>... landmarks)
An array of facial landmarks.
|
ComparedFace.Builder |
landmarks(Landmark... landmarks)
An array of facial landmarks.
|
default ComparedFace.Builder |
pose(Consumer<Pose.Builder> pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
ComparedFace.Builder |
pose(Pose pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
default ComparedFace.Builder |
quality(Consumer<ImageQuality.Builder> quality)
Identifies face image brightness and sharpness.
|
ComparedFace.Builder |
quality(ImageQuality quality)
Identifies face image brightness and sharpness.
|
default ComparedFace.Builder |
smile(Consumer<Smile.Builder> smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
ComparedFace.Builder |
smile(Smile smile)
Indicates whether or not the face is smiling, and the confidence level in the determination.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComparedFace.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox - Bounding box of the face.default ComparedFace.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
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)ComparedFace.Builder confidence(Float confidence)
Level of confidence that what the bounding box contains is a face.
confidence - Level of confidence that what the bounding box contains is a face.ComparedFace.Builder landmarks(Collection<Landmark> landmarks)
An array of facial landmarks.
landmarks - An array of facial landmarks.ComparedFace.Builder landmarks(Landmark... landmarks)
An array of facial landmarks.
landmarks - An array of facial landmarks.ComparedFace.Builder landmarks(Consumer<Landmark.Builder>... landmarks)
An array of facial landmarks.
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) ComparedFace.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.default ComparedFace.Builder pose(Consumer<Pose.Builder> pose)
Indicates the pose of the face as determined by its pitch, roll, and yaw.
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)ComparedFace.Builder quality(ImageQuality quality)
Identifies face image brightness and sharpness.
quality - Identifies face image brightness and sharpness.default ComparedFace.Builder quality(Consumer<ImageQuality.Builder> quality)
Identifies face image brightness and sharpness.
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)ComparedFace.Builder emotions(Collection<Emotion> emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".
emotions - The emotions that appear to be expressed on the face, and the confidence level in the determination.
Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown",
and "Fear".ComparedFace.Builder emotions(Emotion... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".
emotions - The emotions that appear to be expressed on the face, and the confidence level in the determination.
Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown",
and "Fear".ComparedFace.Builder emotions(Consumer<Emotion.Builder>... emotions)
The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".
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) ComparedFace.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 ComparedFace.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)Copyright © 2023. All rights reserved.