@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompareFacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CompareFacesRequest() |
| Modifier and Type | Method and Description |
|---|---|
CompareFacesRequest |
clone() |
boolean |
equals(Object obj) |
Float |
getSimilarityThreshold()
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
Image |
getSourceImage()
The input image as base64-encoded bytes or an S3 object.
|
Image |
getTargetImage()
The target image as base64-encoded bytes or an S3 object.
|
int |
hashCode() |
void |
setSimilarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
void |
setSourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object.
|
void |
setTargetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object.
|
String |
toString()
Returns a string representation of this object.
|
CompareFacesRequest |
withSimilarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
CompareFacesRequest |
withSourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object.
|
CompareFacesRequest |
withTargetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSourceImage(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.
public Image getSourceImage()
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.
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.
public CompareFacesRequest withSourceImage(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.
public void setTargetImage(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.
public Image getTargetImage()
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.
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.
public CompareFacesRequest withTargetImage(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.
public void setSimilarityThreshold(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.public Float getSimilarityThreshold()
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.
FaceMatches array.public CompareFacesRequest withSimilarityThreshold(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.public String toString()
toString in class ObjectObject.toString()public CompareFacesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.