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, setSdkResponseMetadata
public 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.
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.OrientationCorrection
public 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.
OrientationCorrection
public 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.
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.OrientationCorrection
public 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.
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.OrientationCorrection
public 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.
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.OrientationCorrection
public String toString()
toString
in class Object
Object.toString()
public IndexFacesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.