CopyableBuilder<ComparedFace.Builder,ComparedFace>
, SdkBuilder<ComparedFace.Builder,ComparedFace>
public static interface ComparedFace.Builder extends CopyableBuilder<ComparedFace.Builder,ComparedFace>
Modifier and Type | Method | Description |
---|---|---|
ComparedFace.Builder |
boundingBox(BoundingBox 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(Landmark... landmarks) |
An array of facial landmarks.
|
ComparedFace.Builder |
pose(Pose pose) |
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
ComparedFace.Builder |
quality(ImageQuality quality) |
Identifies face image brightness and sharpness.
|
copy
apply, build
ComparedFace.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.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.
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
- An array of facial landmarks.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.ComparedFace.Builder quality(ImageQuality quality)
Identifies face image brightness and sharpness.
quality
- Identifies face image brightness and sharpness.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.