@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectFacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DetectFacesResult() |
| Modifier and Type | Method and Description |
|---|---|
DetectFacesResult |
clone() |
boolean |
equals(Object obj) |
List<FaceDetail> |
getFaceDetails()
Details of each face found in the image.
|
String |
getOrientationCorrection()
The orientation of the input image (counter-clockwise direction).
|
int |
hashCode() |
void |
setFaceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
|
void |
setOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
void |
setOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetectFacesResult |
withFaceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
|
DetectFacesResult |
withFaceDetails(FaceDetail... faceDetails)
Details of each face found in the image.
|
DetectFacesResult |
withOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
DetectFacesResult |
withOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<FaceDetail> getFaceDetails()
Details of each face found in the image.
public void setFaceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
faceDetails - Details of each face found in the image.public DetectFacesResult withFaceDetails(FaceDetail... faceDetails)
Details of each face found in the image.
NOTE: This method appends the values to the existing list (if any). Use
setFaceDetails(java.util.Collection) or withFaceDetails(java.util.Collection) if you want to
override the existing values.
faceDetails - Details of each face found in the image.public DetectFacesResult withFaceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
faceDetails - Details of each face found in the image.public void setOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can
use this value to correct image orientation. The bounding box coordinates returned in FaceDetails
represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the
image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value
of OrientationCorrection is null and the FaceDetails bounding box coordinates represent
face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain
Exif metadata.
orientationCorrection - The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes
the image's orientation. If so, and the Exif metadata for the input image populates the orientation field,
the value of OrientationCorrection is null and the FaceDetails bounding box
coordinates represent face locations after Exif metadata is used to correct the image orientation. Images
in .png format don't contain Exif metadata.
OrientationCorrectionpublic String getOrientationCorrection()
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can
use this value to correct image orientation. The bounding box coordinates returned in FaceDetails
represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the
image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value
of OrientationCorrection is null and the FaceDetails bounding box coordinates represent
face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain
Exif metadata.
FaceDetails represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes
the image's orientation. If so, and the Exif metadata for the input image populates the orientation
field, the value of OrientationCorrection is null and the FaceDetails bounding
box coordinates represent face locations after Exif metadata is used to correct the image orientation.
Images in .png format don't contain Exif metadata.
OrientationCorrectionpublic DetectFacesResult withOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can
use this value to correct image orientation. The bounding box coordinates returned in FaceDetails
represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the
image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value
of OrientationCorrection is null and the FaceDetails bounding box coordinates represent
face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain
Exif metadata.
orientationCorrection - The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes
the image's orientation. If so, and the Exif metadata for the input image populates the orientation field,
the value of OrientationCorrection is null and the FaceDetails bounding box
coordinates represent face locations after Exif metadata is used to correct the image orientation. Images
in .png format don't contain Exif metadata.
OrientationCorrectionpublic void setOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can
use this value to correct image orientation. The bounding box coordinates returned in FaceDetails
represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the
image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value
of OrientationCorrection is null and the FaceDetails bounding box coordinates represent
face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain
Exif metadata.
orientationCorrection - The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes
the image's orientation. If so, and the Exif metadata for the input image populates the orientation field,
the value of OrientationCorrection is null and the FaceDetails bounding box
coordinates represent face locations after Exif metadata is used to correct the image orientation. Images
in .png format don't contain Exif metadata.
OrientationCorrectionpublic DetectFacesResult withOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can
use this value to correct image orientation. The bounding box coordinates returned in FaceDetails
represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the
image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value
of OrientationCorrection is null and the FaceDetails bounding box coordinates represent
face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain
Exif metadata.
orientationCorrection - The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails represent face locations before the image orientation is corrected.
If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes
the image's orientation. If so, and the Exif metadata for the input image populates the orientation field,
the value of OrientationCorrection is null and the FaceDetails bounding box
coordinates represent face locations after Exif metadata is used to correct the image orientation. Images
in .png format don't contain Exif metadata.
OrientationCorrectionpublic String toString()
toString in class ObjectObject.toString()public DetectFacesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.