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 |
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.
|
copy
applyMutation, build
ComparedFace.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 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.Builder
boundingBox(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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #landmarks(List)
.landmarks
- a consumer that will call methods on List.Builder
#landmarks(List)
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 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.Builder
pose(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 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.Builder
quality(ImageQuality)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.