@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexFacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
IndexFacesRequest() |
| Modifier and Type | Method and Description |
|---|---|
IndexFacesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionId()
The ID of an existing collection to which you want to add the faces that are detected in the input images.
|
List<String> |
getDetectionAttributes()
An array of facial attributes that you want to be returned.
|
String |
getExternalImageId()
ID you want to assign to all the faces detected in the image.
|
Image |
getImage()
The input image as base64-encoded bytes or an S3 object.
|
Integer |
getMaxFaces()
The maximum number of faces to index.
|
String |
getQualityFilter()
Specifies how much filtering is done to identify faces detected with low quality.
|
int |
hashCode() |
void |
setCollectionId(String collectionId)
The ID of an existing collection to which you want to add the faces that are detected in the input images.
|
void |
setDetectionAttributes(Collection<String> detectionAttributes)
An array of facial attributes that you want to be returned.
|
void |
setExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
|
void |
setImage(Image image)
The input image as base64-encoded bytes or an S3 object.
|
void |
setMaxFaces(Integer maxFaces)
The maximum number of faces to index.
|
void |
setQualityFilter(String qualityFilter)
Specifies how much filtering is done to identify faces detected with low quality.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IndexFacesRequest |
withCollectionId(String collectionId)
The ID of an existing collection to which you want to add the faces that are detected in the input images.
|
IndexFacesRequest |
withDetectionAttributes(Attribute... detectionAttributes)
An array of facial attributes that you want to be returned.
|
IndexFacesRequest |
withDetectionAttributes(Collection<String> detectionAttributes)
An array of facial attributes that you want to be returned.
|
IndexFacesRequest |
withDetectionAttributes(String... detectionAttributes)
An array of facial attributes that you want to be returned.
|
IndexFacesRequest |
withExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
|
IndexFacesRequest |
withImage(Image image)
The input image as base64-encoded bytes or an S3 object.
|
IndexFacesRequest |
withMaxFaces(Integer maxFaces)
The maximum number of faces to index.
|
IndexFacesRequest |
withQualityFilter(QualityFilter qualityFilter)
Specifies how much filtering is done to identify faces detected with low quality.
|
IndexFacesRequest |
withQualityFilter(String qualityFilter)
Specifies how much filtering is done to identify faces detected with low quality.
|
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 setCollectionId(String collectionId)
The ID of an existing collection to which you want to add the faces that are detected in the input images.
collectionId - The ID of an existing collection to which you want to add the faces that are detected in the input images.public String getCollectionId()
The ID of an existing collection to which you want to add the faces that are detected in the input images.
public IndexFacesRequest withCollectionId(String collectionId)
The ID of an existing collection to which you want to add the faces that are detected in the input images.
collectionId - The ID of an existing collection to which you want to add the faces that are detected in the input images.public void setImage(Image image)
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.
image - 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.public Image getImage()
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.
public IndexFacesRequest withImage(Image image)
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.
image - 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.public void setExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
externalImageId - ID you want to assign to all the faces detected in the image.public String getExternalImageId()
ID you want to assign to all the faces detected in the image.
public IndexFacesRequest withExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
externalImageId - ID you want to assign to all the faces detected in the image.public List<String> getDetectionAttributes()
An array of facial attributes that you want to be returned. This can be the default list of attributes or all
attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"],
the API returns the following subset of facial attributes: BoundingBox, Confidence,
Pose, Quality and Landmarks. If you provide ["ALL"], all
facial attributes are returned but the operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which
attributes to return (in this case, all attributes).
Attributes or if you specify
["DEFAULT"], the API returns the following subset of facial attributes:
BoundingBox, Confidence, Pose, Quality and
Landmarks. If you provide ["ALL"], all facial attributes are returned but the
operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to
determine which attributes to return (in this case, all attributes).
Attributepublic void setDetectionAttributes(Collection<String> detectionAttributes)
An array of facial attributes that you want to be returned. This can be the default list of attributes or all
attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"],
the API returns the following subset of facial attributes: BoundingBox, Confidence,
Pose, Quality and Landmarks. If you provide ["ALL"], all
facial attributes are returned but the operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which
attributes to return (in this case, all attributes).
detectionAttributes - An array of facial attributes that you want to be returned. This can be the default list of attributes or
all attributes. If you don't specify a value for Attributes or if you specify
["DEFAULT"], the API returns the following subset of facial attributes:
BoundingBox, Confidence, Pose, Quality and
Landmarks. If you provide ["ALL"], all facial attributes are returned but the
operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine
which attributes to return (in this case, all attributes).
Attributepublic IndexFacesRequest withDetectionAttributes(String... detectionAttributes)
An array of facial attributes that you want to be returned. This can be the default list of attributes or all
attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"],
the API returns the following subset of facial attributes: BoundingBox, Confidence,
Pose, Quality and Landmarks. If you provide ["ALL"], all
facial attributes are returned but the operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which
attributes to return (in this case, all attributes).
NOTE: This method appends the values to the existing list (if any). Use
setDetectionAttributes(java.util.Collection) or withDetectionAttributes(java.util.Collection)
if you want to override the existing values.
detectionAttributes - An array of facial attributes that you want to be returned. This can be the default list of attributes or
all attributes. If you don't specify a value for Attributes or if you specify
["DEFAULT"], the API returns the following subset of facial attributes:
BoundingBox, Confidence, Pose, Quality and
Landmarks. If you provide ["ALL"], all facial attributes are returned but the
operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine
which attributes to return (in this case, all attributes).
Attributepublic IndexFacesRequest withDetectionAttributes(Collection<String> detectionAttributes)
An array of facial attributes that you want to be returned. This can be the default list of attributes or all
attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"],
the API returns the following subset of facial attributes: BoundingBox, Confidence,
Pose, Quality and Landmarks. If you provide ["ALL"], all
facial attributes are returned but the operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which
attributes to return (in this case, all attributes).
detectionAttributes - An array of facial attributes that you want to be returned. This can be the default list of attributes or
all attributes. If you don't specify a value for Attributes or if you specify
["DEFAULT"], the API returns the following subset of facial attributes:
BoundingBox, Confidence, Pose, Quality and
Landmarks. If you provide ["ALL"], all facial attributes are returned but the
operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine
which attributes to return (in this case, all attributes).
Attributepublic IndexFacesRequest withDetectionAttributes(Attribute... detectionAttributes)
An array of facial attributes that you want to be returned. This can be the default list of attributes or all
attributes. If you don't specify a value for Attributes or if you specify ["DEFAULT"],
the API returns the following subset of facial attributes: BoundingBox, Confidence,
Pose, Quality and Landmarks. If you provide ["ALL"], all
facial attributes are returned but the operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine which
attributes to return (in this case, all attributes).
detectionAttributes - An array of facial attributes that you want to be returned. This can be the default list of attributes or
all attributes. If you don't specify a value for Attributes or if you specify
["DEFAULT"], the API returns the following subset of facial attributes:
BoundingBox, Confidence, Pose, Quality and
Landmarks. If you provide ["ALL"], all facial attributes are returned but the
operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator to determine
which attributes to return (in this case, all attributes).
Attributepublic void setMaxFaces(Integer maxFaces)
The maximum number of faces to index. The value of MaxFaces must be greater than or equal to 1.
IndexFaces returns no more that 100 detected faces in an image, even if you specify a larger value
for MaxFaces.
If IndexFaces detects more faces than the value of MaxFaces, the faces with the lowest
quality are filtered out first. If there are still more faces than the value of MaxFaces, the faces
with the smallest bounding boxes are filtered out (up to the number needed to satisfy the value of
MaxFaces). Information about the unindexed faces is available in the UnindexedFaces
array.
The faces returned by IndexFaces are sorted, in descending order, by the largest face bounding box
size, to the smallest.
maxFaces - The maximum number of faces to index. The value of MaxFaces must be greater than or equal to
1. IndexFaces returns no more that 100 detected faces in an image, even if you specify a
larger value for MaxFaces.
If IndexFaces detects more faces than the value of MaxFaces, the faces with the
lowest quality are filtered out first. If there are still more faces than the value of
MaxFaces, the faces with the smallest bounding boxes are filtered out (up to the number
needed to satisfy the value of MaxFaces). Information about the unindexed faces is available
in the UnindexedFaces array.
The faces returned by IndexFaces are sorted, in descending order, by the largest face
bounding box size, to the smallest.
public Integer getMaxFaces()
The maximum number of faces to index. The value of MaxFaces must be greater than or equal to 1.
IndexFaces returns no more that 100 detected faces in an image, even if you specify a larger value
for MaxFaces.
If IndexFaces detects more faces than the value of MaxFaces, the faces with the lowest
quality are filtered out first. If there are still more faces than the value of MaxFaces, the faces
with the smallest bounding boxes are filtered out (up to the number needed to satisfy the value of
MaxFaces). Information about the unindexed faces is available in the UnindexedFaces
array.
The faces returned by IndexFaces are sorted, in descending order, by the largest face bounding box
size, to the smallest.
MaxFaces must be greater than or equal to
1. IndexFaces returns no more that 100 detected faces in an image, even if you specify a
larger value for MaxFaces.
If IndexFaces detects more faces than the value of MaxFaces, the faces with the
lowest quality are filtered out first. If there are still more faces than the value of
MaxFaces, the faces with the smallest bounding boxes are filtered out (up to the number
needed to satisfy the value of MaxFaces). Information about the unindexed faces is available
in the UnindexedFaces array.
The faces returned by IndexFaces are sorted, in descending order, by the largest face
bounding box size, to the smallest.
public IndexFacesRequest withMaxFaces(Integer maxFaces)
The maximum number of faces to index. The value of MaxFaces must be greater than or equal to 1.
IndexFaces returns no more that 100 detected faces in an image, even if you specify a larger value
for MaxFaces.
If IndexFaces detects more faces than the value of MaxFaces, the faces with the lowest
quality are filtered out first. If there are still more faces than the value of MaxFaces, the faces
with the smallest bounding boxes are filtered out (up to the number needed to satisfy the value of
MaxFaces). Information about the unindexed faces is available in the UnindexedFaces
array.
The faces returned by IndexFaces are sorted, in descending order, by the largest face bounding box
size, to the smallest.
maxFaces - The maximum number of faces to index. The value of MaxFaces must be greater than or equal to
1. IndexFaces returns no more that 100 detected faces in an image, even if you specify a
larger value for MaxFaces.
If IndexFaces detects more faces than the value of MaxFaces, the faces with the
lowest quality are filtered out first. If there are still more faces than the value of
MaxFaces, the faces with the smallest bounding boxes are filtered out (up to the number
needed to satisfy the value of MaxFaces). Information about the unindexed faces is available
in the UnindexedFaces array.
The faces returned by IndexFaces are sorted, in descending order, by the largest face
bounding box size, to the smallest.
public void setQualityFilter(String qualityFilter)
Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not indexed.
If you specify AUTO, filtering prioritizes the identification of faces that don’t meet the required
quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of common use cases. Low quality
detections can arise for a number of reasons. For example, an object misidentified as a face, a face that is too
blurry, or a face with a pose that is too extreme to use. If you specify NONE, no filtering is
performed. The default value is NONE.
qualityFilter - Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not
indexed. If you specify AUTO, filtering prioritizes the identification of faces that don’t
meet the required quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of
common use cases. Low quality detections can arise for a number of reasons. For example, an object
misidentified as a face, a face that is too blurry, or a face with a pose that is too extreme to use. If
you specify NONE, no filtering is performed. The default value is NONE.QualityFilterpublic String getQualityFilter()
Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not indexed.
If you specify AUTO, filtering prioritizes the identification of faces that don’t meet the required
quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of common use cases. Low quality
detections can arise for a number of reasons. For example, an object misidentified as a face, a face that is too
blurry, or a face with a pose that is too extreme to use. If you specify NONE, no filtering is
performed. The default value is NONE.
AUTO, filtering prioritizes the identification of faces that don’t
meet the required quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of
common use cases. Low quality detections can arise for a number of reasons. For example, an object
misidentified as a face, a face that is too blurry, or a face with a pose that is too extreme to use. If
you specify NONE, no filtering is performed. The default value is NONE.QualityFilterpublic IndexFacesRequest withQualityFilter(String qualityFilter)
Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not indexed.
If you specify AUTO, filtering prioritizes the identification of faces that don’t meet the required
quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of common use cases. Low quality
detections can arise for a number of reasons. For example, an object misidentified as a face, a face that is too
blurry, or a face with a pose that is too extreme to use. If you specify NONE, no filtering is
performed. The default value is NONE.
qualityFilter - Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not
indexed. If you specify AUTO, filtering prioritizes the identification of faces that don’t
meet the required quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of
common use cases. Low quality detections can arise for a number of reasons. For example, an object
misidentified as a face, a face that is too blurry, or a face with a pose that is too extreme to use. If
you specify NONE, no filtering is performed. The default value is NONE.QualityFilterpublic IndexFacesRequest withQualityFilter(QualityFilter qualityFilter)
Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not indexed.
If you specify AUTO, filtering prioritizes the identification of faces that don’t meet the required
quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of common use cases. Low quality
detections can arise for a number of reasons. For example, an object misidentified as a face, a face that is too
blurry, or a face with a pose that is too extreme to use. If you specify NONE, no filtering is
performed. The default value is NONE.
qualityFilter - Specifies how much filtering is done to identify faces detected with low quality. Filtered faces are not
indexed. If you specify AUTO, filtering prioritizes the identification of faces that don’t
meet the required quality bar chosen by Amazon Rekognition. The quality bar is based on a variety of
common use cases. Low quality detections can arise for a number of reasons. For example, an object
misidentified as a face, a face that is too blurry, or a face with a pose that is too extreme to use. If
you specify NONE, no filtering is performed. The default value is NONE.QualityFilterpublic String toString()
toString in class ObjectObject.toString()public IndexFacesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.