public static interface CompareFacesMatch.Builder extends CopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
| Modifier and Type | Method and Description |
|---|---|
CompareFacesMatch.Builder |
face(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
|
default CompareFacesMatch.Builder |
face(Consumer<ComparedFace.Builder> face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
|
CompareFacesMatch.Builder |
similarity(Float similarity)
Level of confidence that the faces match.
|
copyapply, buildCompareFacesMatch.Builder similarity(Float similarity)
Level of confidence that the faces match.
similarity - Level of confidence that the faces match.CompareFacesMatch.Builder face(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
face - Provides face metadata (bounding box and confidence that the bounding box actually contains a face).default CompareFacesMatch.Builder face(Consumer<ComparedFace.Builder> face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
This is a convenience that creates an instance of theComparedFace.Builder avoiding the need to
create one manually via ComparedFace.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to face(ComparedFace).face - a consumer that will call methods on ComparedFace.Builderface(ComparedFace)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.