public class DetectFacesResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DetectFacesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<FaceDetail> |
getFaceDetails()
Details of each face found in the image.
|
java.lang.String |
getOrientationCorrection()
The value of
OrientationCorrection is always null. |
int |
hashCode() |
void |
setFaceDetails(java.util.Collection<FaceDetail> faceDetails)
Details of each face found in the image.
|
void |
setOrientationCorrection(OrientationCorrection orientationCorrection)
The value of
OrientationCorrection is always null. |
void |
setOrientationCorrection(java.lang.String orientationCorrection)
The value of
OrientationCorrection is always null. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectFacesResult |
withFaceDetails(java.util.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 value of
OrientationCorrection is always null. |
DetectFacesResult |
withOrientationCorrection(java.lang.String orientationCorrection)
The value of
OrientationCorrection is always null. |
public java.util.List<FaceDetail> getFaceDetails()
Details of each face found in the image.
Details of each face found in the image.
public void setFaceDetails(java.util.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.
Returns a reference to this object so that method calls can be chained together.
faceDetails - Details of each face found in the image.
public DetectFacesResult withFaceDetails(java.util.Collection<FaceDetail> faceDetails)
Details of each face found in the image.
Returns a reference to this object so that method calls can be chained together.
faceDetails - Details of each face found in the image.
public java.lang.String getOrientationCorrection()
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic void setOrientationCorrection(java.lang.String orientationCorrection)
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
orientationCorrection -
The value of OrientationCorrection is always
null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic DetectFacesResult withOrientationCorrection(java.lang.String orientationCorrection)
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
orientationCorrection -
The value of OrientationCorrection is always
null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic void setOrientationCorrection(OrientationCorrection orientationCorrection)
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
orientationCorrection -
The value of OrientationCorrection is always
null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic DetectFacesResult withOrientationCorrection(OrientationCorrection orientationCorrection)
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
orientationCorrection -
The value of OrientationCorrection is always
null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.