@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getQualityFilter()
A filter that specifies a quality bar for how much filtering is done to identify faces.
|
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 |
setQualityFilter(String qualityFilter)
A filter that specifies a quality bar for how much filtering is done to identify faces.
|
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 |
withQualityFilter(QualityFilter qualityFilter)
A filter that specifies a quality bar for how much filtering is done to identify faces.
|
CompareFacesRequest |
withQualityFilter(String qualityFilter)
A filter that specifies a quality bar for how much filtering is done to identify faces.
|
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, 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, withSdkRequestTimeout
public 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 void setQualityFilter(String qualityFilter)
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't
compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you specify
LOW
, MEDIUM
, or HIGH
, filtering removes all faces that don’t meet the
chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur
for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or
a face with a pose that's too extreme to use. If you specify NONE
, no filtering is performed. The
default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
qualityFilter
- A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces
aren't compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you
specify LOW
, MEDIUM
, or HIGH
, filtering removes all faces that
don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality
detections can occur for a number of reasons. Some examples are an object that's misidentified as a face,
a face that's too blurry, or a face with a pose that's too extreme to use. If you specify
NONE
, no filtering is performed. The default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
QualityFilter
public String getQualityFilter()
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't
compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you specify
LOW
, MEDIUM
, or HIGH
, filtering removes all faces that don’t meet the
chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur
for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or
a face with a pose that's too extreme to use. If you specify NONE
, no filtering is performed. The
default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
AUTO
, Amazon Rekognition chooses the quality bar. If you
specify LOW
, MEDIUM
, or HIGH
, filtering removes all faces that
don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality
detections can occur for a number of reasons. Some examples are an object that's misidentified as a face,
a face that's too blurry, or a face with a pose that's too extreme to use. If you specify
NONE
, no filtering is performed. The default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
QualityFilter
public CompareFacesRequest withQualityFilter(String qualityFilter)
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't
compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you specify
LOW
, MEDIUM
, or HIGH
, filtering removes all faces that don’t meet the
chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur
for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or
a face with a pose that's too extreme to use. If you specify NONE
, no filtering is performed. The
default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
qualityFilter
- A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces
aren't compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you
specify LOW
, MEDIUM
, or HIGH
, filtering removes all faces that
don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality
detections can occur for a number of reasons. Some examples are an object that's misidentified as a face,
a face that's too blurry, or a face with a pose that's too extreme to use. If you specify
NONE
, no filtering is performed. The default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
QualityFilter
public CompareFacesRequest withQualityFilter(QualityFilter qualityFilter)
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't
compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you specify
LOW
, MEDIUM
, or HIGH
, filtering removes all faces that don’t meet the
chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality detections can occur
for a number of reasons. Some examples are an object that's misidentified as a face, a face that's too blurry, or
a face with a pose that's too extreme to use. If you specify NONE
, no filtering is performed. The
default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
qualityFilter
- A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces
aren't compared. If you specify AUTO
, Amazon Rekognition chooses the quality bar. If you
specify LOW
, MEDIUM
, or HIGH
, filtering removes all faces that
don’t meet the chosen quality bar. The quality bar is based on a variety of common use cases. Low-quality
detections can occur for a number of reasons. Some examples are an object that's misidentified as a face,
a face that's too blurry, or a face with a pose that's too extreme to use. If you specify
NONE
, no filtering is performed. The default value is NONE
.
To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher.
QualityFilter
public String toString()
toString
in class Object
Object.toString()
public CompareFacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()