@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexFacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
IndexFacesResult() |
| Modifier and Type | Method and Description |
|---|---|
IndexFacesResult |
clone() |
boolean |
equals(Object obj) |
List<FaceRecord> |
getFaceRecords()
An array of faces detected and added to the collection.
|
String |
getOrientationCorrection()
The algorithm detects the image orientation.
|
int |
hashCode() |
void |
setFaceRecords(Collection<FaceRecord> faceRecords)
An array of faces detected and added to the collection.
|
void |
setOrientationCorrection(OrientationCorrection orientationCorrection)
The algorithm detects the image orientation.
|
void |
setOrientationCorrection(String orientationCorrection)
The algorithm detects the image orientation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IndexFacesResult |
withFaceRecords(Collection<FaceRecord> faceRecords)
An array of faces detected and added to the collection.
|
IndexFacesResult |
withFaceRecords(FaceRecord... faceRecords)
An array of faces detected and added to the collection.
|
IndexFacesResult |
withOrientationCorrection(OrientationCorrection orientationCorrection)
The algorithm detects the image orientation.
|
IndexFacesResult |
withOrientationCorrection(String orientationCorrection)
The algorithm detects the image orientation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<FaceRecord> getFaceRecords()
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
public void setFaceRecords(Collection<FaceRecord> faceRecords)
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
faceRecords - An array of faces detected and added to the collection. For more information, see
howitworks-index-faces.public IndexFacesResult withFaceRecords(FaceRecord... faceRecords)
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
NOTE: This method appends the values to the existing list (if any). Use
setFaceRecords(java.util.Collection) or withFaceRecords(java.util.Collection) if you want to
override the existing values.
faceRecords - An array of faces detected and added to the collection. For more information, see
howitworks-index-faces.public IndexFacesResult withFaceRecords(Collection<FaceRecord> faceRecords)
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
faceRecords - An array of faces detected and added to the collection. For more information, see
howitworks-index-faces.public void setOrientationCorrection(String orientationCorrection)
The algorithm detects the image orientation. If it detects that the image was rotated, it returns the degree of rotation. You can use this value to correct the orientation and also appropriately analyze the bounding box coordinates that are returned.
If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
orientationCorrection - The algorithm detects the image orientation. If it detects that the image was rotated, it returns the
degree of rotation. You can use this value to correct the orientation and also appropriately analyze the
bounding box coordinates that are returned. If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
OrientationCorrectionpublic String getOrientationCorrection()
The algorithm detects the image orientation. If it detects that the image was rotated, it returns the degree of rotation. You can use this value to correct the orientation and also appropriately analyze the bounding box coordinates that are returned.
If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
OrientationCorrectionpublic IndexFacesResult withOrientationCorrection(String orientationCorrection)
The algorithm detects the image orientation. If it detects that the image was rotated, it returns the degree of rotation. You can use this value to correct the orientation and also appropriately analyze the bounding box coordinates that are returned.
If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
orientationCorrection - The algorithm detects the image orientation. If it detects that the image was rotated, it returns the
degree of rotation. You can use this value to correct the orientation and also appropriately analyze the
bounding box coordinates that are returned. If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
OrientationCorrectionpublic void setOrientationCorrection(OrientationCorrection orientationCorrection)
The algorithm detects the image orientation. If it detects that the image was rotated, it returns the degree of rotation. You can use this value to correct the orientation and also appropriately analyze the bounding box coordinates that are returned.
If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
orientationCorrection - The algorithm detects the image orientation. If it detects that the image was rotated, it returns the
degree of rotation. You can use this value to correct the orientation and also appropriately analyze the
bounding box coordinates that are returned. If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
OrientationCorrectionpublic IndexFacesResult withOrientationCorrection(OrientationCorrection orientationCorrection)
The algorithm detects the image orientation. If it detects that the image was rotated, it returns the degree of rotation. You can use this value to correct the orientation and also appropriately analyze the bounding box coordinates that are returned.
If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
orientationCorrection - The algorithm detects the image orientation. If it detects that the image was rotated, it returns the
degree of rotation. You can use this value to correct the orientation and also appropriately analyze the
bounding box coordinates that are returned. If the source image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be nil.
OrientationCorrectionpublic String toString()
toString in class ObjectObject.toString()public IndexFacesResult clone()
Copyright © 2017. All rights reserved.