public static interface UnindexedFace.Builder extends SdkPojo, CopyableBuilder<UnindexedFace.Builder,UnindexedFace>
Modifier and Type | Method and Description |
---|---|
default UnindexedFace.Builder |
faceDetail(Consumer<FaceDetail.Builder> faceDetail)
The structure that contains attributes of a face that
IndexFaces detected, but didn't index. |
UnindexedFace.Builder |
faceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that
IndexFaces detected, but didn't index. |
UnindexedFace.Builder |
reasons(Collection<Reason> reasons)
An array of reasons that specify why a face wasn't indexed.
|
UnindexedFace.Builder |
reasons(Reason... reasons)
An array of reasons that specify why a face wasn't indexed.
|
UnindexedFace.Builder |
reasonsWithStrings(Collection<String> reasons)
An array of reasons that specify why a face wasn't indexed.
|
UnindexedFace.Builder |
reasonsWithStrings(String... reasons)
An array of reasons that specify why a face wasn't indexed.
|
copy
applyMutation, build
UnindexedFace.Builder reasonsWithStrings(Collection<String> reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
UnindexedFace.Builder reasonsWithStrings(String... reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
UnindexedFace.Builder reasons(Collection<Reason> reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
UnindexedFace.Builder reasons(Reason... reasons)
An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
reasons
- An array of reasons that specify why a face wasn't indexed.
EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
EXCEEDS_MAX_FACES - The number of faces detected is already higher than that specified by the
MaxFaces
input parameter for IndexFaces
.
LOW_BRIGHTNESS - The image is too dark.
LOW_SHARPNESS - The image is too blurry.
LOW_CONFIDENCE - The face was detected with a low confidence.
SMALL_BOUNDING_BOX - The bounding box around the face is too small.
UnindexedFace.Builder faceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that IndexFaces
detected, but didn't index.
faceDetail
- The structure that contains attributes of a face that IndexFaces
detected, but didn't
index.default UnindexedFace.Builder faceDetail(Consumer<FaceDetail.Builder> faceDetail)
The structure that contains attributes of a face that IndexFaces
detected, but didn't index.
FaceDetail.Builder
avoiding the need to create
one manually via FaceDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to faceDetail(FaceDetail)
.faceDetail
- a consumer that will call methods on FaceDetail.Builder
faceDetail(FaceDetail)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.