Interface UnindexedFace.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UnindexedFace.Builder,UnindexedFace>,SdkBuilder<UnindexedFace.Builder,UnindexedFace>,SdkPojo
- Enclosing class:
- UnindexedFace
public static interface UnindexedFace.Builder extends SdkPojo, CopyableBuilder<UnindexedFace.Builder,UnindexedFace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UnindexedFace.BuilderfaceDetail(Consumer<FaceDetail.Builder> faceDetail)The structure that contains attributes of a face thatIndexFacesdetected, but didn't index.UnindexedFace.BuilderfaceDetail(FaceDetail faceDetail)The structure that contains attributes of a face thatIndexFacesdetected, but didn't index.UnindexedFace.Builderreasons(Collection<Reason> reasons)An array of reasons that specify why a face wasn't indexed.UnindexedFace.Builderreasons(Reason... reasons)An array of reasons that specify why a face wasn't indexed.UnindexedFace.BuilderreasonsWithStrings(String... reasons)An array of reasons that specify why a face wasn't indexed.UnindexedFace.BuilderreasonsWithStrings(Collection<String> reasons)An array of reasons that specify why a face wasn't indexed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reasonsWithStrings
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
MaxFacesinput parameter forIndexFaces. -
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.
- Parameters:
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
MaxFacesinput parameter forIndexFaces. -
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasonsWithStrings
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
MaxFacesinput parameter forIndexFaces. -
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.
- Parameters:
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
MaxFacesinput parameter forIndexFaces. -
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasons
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
MaxFacesinput parameter forIndexFaces. -
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.
- Parameters:
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
MaxFacesinput parameter forIndexFaces. -
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
reasons
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
MaxFacesinput parameter forIndexFaces. -
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.
- Parameters:
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
MaxFacesinput parameter forIndexFaces. -
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
faceDetail
UnindexedFace.Builder faceDetail(FaceDetail faceDetail)
The structure that contains attributes of a face that
IndexFacesdetected, but didn't index.- Parameters:
faceDetail- The structure that contains attributes of a face thatIndexFacesdetected, but didn't index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceDetail
default UnindexedFace.Builder faceDetail(Consumer<FaceDetail.Builder> faceDetail)
The structure that contains attributes of a face that
This is a convenience method that creates an instance of theIndexFacesdetected, but didn't index.FaceDetail.Builderavoiding the need to create one manually viaFaceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofaceDetail(FaceDetail).- Parameters:
faceDetail- a consumer that will call methods onFaceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
faceDetail(FaceDetail)
-
-