public static interface FaceMatch.Builder extends CopyableBuilder<FaceMatch.Builder,FaceMatch>
Modifier and Type | Method and Description |
---|---|
default FaceMatch.Builder |
face(Consumer<Face.Builder> face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external
image ID that you assigned.
|
FaceMatch.Builder |
face(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external
image ID that you assigned.
|
FaceMatch.Builder |
similarity(Float similarity)
Confidence in the match of this face with the input face.
|
copy
applyMutation, build
FaceMatch.Builder similarity(Float similarity)
Confidence in the match of this face with the input face.
similarity
- Confidence in the match of this face with the input face.FaceMatch.Builder face(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
face
- Describes the face properties such as the bounding box, face ID, image ID of the source image, and
external image ID that you assigned.default FaceMatch.Builder face(Consumer<Face.Builder> face)
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
This is a convenience that creates an instance of theFace.Builder
avoiding the need to create one
manually via Face.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to face(Face)
.face
- a consumer that will call methods on Face.Builder
face(Face)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.