public static interface CompareFacesRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CompareFacesRequest.Builder,CompareFacesRequest>
| Modifier and Type | Method and Description |
|---|---|
CompareFacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CompareFacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CompareFacesRequest.Builder |
similarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
default CompareFacesRequest.Builder |
sourceImage(Consumer<Image.Builder> sourceImage)
The input image as base64-encoded bytes or an S3 object.
|
CompareFacesRequest.Builder |
sourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object.
|
default CompareFacesRequest.Builder |
targetImage(Consumer<Image.Builder> targetImage)
The target image as base64-encoded bytes or an S3 object.
|
CompareFacesRequest.Builder |
targetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object.
|
buildoverrideConfigurationcopyapplyMutation, buildCompareFacesRequest.Builder sourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes field. For more information, see Images in the Amazon Rekognition
developer guide.
sourceImage - The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image
bytes passed using the Bytes field. For more information, see Images in the Amazon
Rekognition developer guide.
default CompareFacesRequest.Builder sourceImage(Consumer<Image.Builder> sourceImage)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes field. For more information, see Images in the Amazon Rekognition
developer guide.
Image.Builder avoiding the need to create one
manually via Image.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sourceImage(Image).sourceImage - a consumer that will call methods on Image.BuildersourceImage(Image)CompareFacesRequest.Builder targetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes field. For more information, see Images in the Amazon Rekognition
developer guide.
targetImage - The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image
bytes passed using the Bytes field. For more information, see Images in the Amazon
Rekognition developer guide.
default CompareFacesRequest.Builder targetImage(Consumer<Image.Builder> targetImage)
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes field. For more information, see Images in the Amazon Rekognition
developer guide.
Image.Builder avoiding the need to create one
manually via Image.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to targetImage(Image).targetImage - a consumer that will call methods on Image.BuildertargetImage(Image)CompareFacesRequest.Builder similarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.
similarityThreshold - The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.CompareFacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCompareFacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.