public class CompareFacesResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
CompareFacesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CompareFacesMatch> |
getFaceMatches()
An array of faces in the target image that match the source image face.
|
ComparedSourceImageFace |
getSourceImageFace()
The face in the source image that was used for comparison.
|
java.lang.String |
getSourceImageOrientationCorrection()
The value of
SourceImageOrientationCorrection is always
null. |
java.lang.String |
getTargetImageOrientationCorrection()
The value of
TargetImageOrientationCorrection is always
null. |
java.util.List<ComparedFace> |
getUnmatchedFaces()
An array of faces in the target image that did not match the source image
face.
|
int |
hashCode() |
void |
setFaceMatches(java.util.Collection<CompareFacesMatch> faceMatches)
An array of faces in the target image that match the source image face.
|
void |
setSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face in the source image that was used for comparison.
|
void |
setSourceImageOrientationCorrection(OrientationCorrection sourceImageOrientationCorrection)
The value of
SourceImageOrientationCorrection is always
null. |
void |
setSourceImageOrientationCorrection(java.lang.String sourceImageOrientationCorrection)
The value of
SourceImageOrientationCorrection is always
null. |
void |
setTargetImageOrientationCorrection(OrientationCorrection targetImageOrientationCorrection)
The value of
TargetImageOrientationCorrection is always
null. |
void |
setTargetImageOrientationCorrection(java.lang.String targetImageOrientationCorrection)
The value of
TargetImageOrientationCorrection is always
null. |
void |
setUnmatchedFaces(java.util.Collection<ComparedFace> unmatchedFaces)
An array of faces in the target image that did not match the source image
face.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CompareFacesResult |
withFaceMatches(java.util.Collection<CompareFacesMatch> faceMatches)
An array of faces in the target image that match the source image face.
|
CompareFacesResult |
withFaceMatches(CompareFacesMatch... faceMatches)
An array of faces in the target image that match the source image face.
|
CompareFacesResult |
withSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face in the source image that was used for comparison.
|
CompareFacesResult |
withSourceImageOrientationCorrection(OrientationCorrection sourceImageOrientationCorrection)
The value of
SourceImageOrientationCorrection is always
null. |
CompareFacesResult |
withSourceImageOrientationCorrection(java.lang.String sourceImageOrientationCorrection)
The value of
SourceImageOrientationCorrection is always
null. |
CompareFacesResult |
withTargetImageOrientationCorrection(OrientationCorrection targetImageOrientationCorrection)
The value of
TargetImageOrientationCorrection is always
null. |
CompareFacesResult |
withTargetImageOrientationCorrection(java.lang.String targetImageOrientationCorrection)
The value of
TargetImageOrientationCorrection is always
null. |
CompareFacesResult |
withUnmatchedFaces(java.util.Collection<ComparedFace> unmatchedFaces)
An array of faces in the target image that did not match the source image
face.
|
CompareFacesResult |
withUnmatchedFaces(ComparedFace... unmatchedFaces)
An array of faces in the target image that did not match the source image
face.
|
public ComparedSourceImageFace getSourceImageFace()
The face in the source image that was used for comparison.
The face in the source image that was used for comparison.
public void setSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face in the source image that was used for comparison.
sourceImageFace - The face in the source image that was used for comparison.
public CompareFacesResult withSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face in the source image that was used for comparison.
Returns a reference to this object so that method calls can be chained together.
sourceImageFace - The face in the source image that was used for comparison.
public java.util.List<CompareFacesMatch> getFaceMatches()
An array of faces in the target image that match the source image face.
Each CompareFacesMatch object provides the bounding box, the
confidence level that the bounding box contains a face, and the
similarity score for the face in the bounding box and the face in the
source image.
An array of faces in the target image that match the source image
face. Each CompareFacesMatch object provides the
bounding box, the confidence level that the bounding box contains
a face, and the similarity score for the face in the bounding box
and the face in the source image.
public void setFaceMatches(java.util.Collection<CompareFacesMatch> faceMatches)
An array of faces in the target image that match the source image face.
Each CompareFacesMatch object provides the bounding box, the
confidence level that the bounding box contains a face, and the
similarity score for the face in the bounding box and the face in the
source image.
faceMatches -
An array of faces in the target image that match the source
image face. Each CompareFacesMatch object
provides the bounding box, the confidence level that the
bounding box contains a face, and the similarity score for the
face in the bounding box and the face in the source image.
public CompareFacesResult withFaceMatches(CompareFacesMatch... faceMatches)
An array of faces in the target image that match the source image face.
Each CompareFacesMatch object provides the bounding box, the
confidence level that the bounding box contains a face, and the
similarity score for the face in the bounding box and the face in the
source image.
Returns a reference to this object so that method calls can be chained together.
faceMatches -
An array of faces in the target image that match the source
image face. Each CompareFacesMatch object
provides the bounding box, the confidence level that the
bounding box contains a face, and the similarity score for the
face in the bounding box and the face in the source image.
public CompareFacesResult withFaceMatches(java.util.Collection<CompareFacesMatch> faceMatches)
An array of faces in the target image that match the source image face.
Each CompareFacesMatch object provides the bounding box, the
confidence level that the bounding box contains a face, and the
similarity score for the face in the bounding box and the face in the
source image.
Returns a reference to this object so that method calls can be chained together.
faceMatches -
An array of faces in the target image that match the source
image face. Each CompareFacesMatch object
provides the bounding box, the confidence level that the
bounding box contains a face, and the similarity score for the
face in the bounding box and the face in the source image.
public java.util.List<ComparedFace> getUnmatchedFaces()
An array of faces in the target image that did not match the source image face.
An array of faces in the target image that did not match the source image face.
public void setUnmatchedFaces(java.util.Collection<ComparedFace> unmatchedFaces)
An array of faces in the target image that did not match the source image face.
unmatchedFaces - An array of faces in the target image that did not match the source image face.
public CompareFacesResult withUnmatchedFaces(ComparedFace... unmatchedFaces)
An array of faces in the target image that did not match the source image face.
Returns a reference to this object so that method calls can be chained together.
unmatchedFaces - An array of faces in the target image that did not match the source image face.
public CompareFacesResult withUnmatchedFaces(java.util.Collection<ComparedFace> unmatchedFaces)
An array of faces in the target image that did not match the source image face.
Returns a reference to this object so that method calls can be chained together.
unmatchedFaces - An array of faces in the target image that did not match the source image face.
public java.lang.String getSourceImageOrientationCorrection()
The value of SourceImageOrientationCorrection 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 SourceImageOrientationCorrection 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 setSourceImageOrientationCorrection(java.lang.String sourceImageOrientationCorrection)
The value of SourceImageOrientationCorrection 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
sourceImageOrientationCorrection -
The value of SourceImageOrientationCorrection 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 CompareFacesResult withSourceImageOrientationCorrection(java.lang.String sourceImageOrientationCorrection)
The value of SourceImageOrientationCorrection 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
sourceImageOrientationCorrection -
The value of SourceImageOrientationCorrection 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 setSourceImageOrientationCorrection(OrientationCorrection sourceImageOrientationCorrection)
The value of SourceImageOrientationCorrection 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
sourceImageOrientationCorrection -
The value of SourceImageOrientationCorrection 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 CompareFacesResult withSourceImageOrientationCorrection(OrientationCorrection sourceImageOrientationCorrection)
The value of SourceImageOrientationCorrection 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
sourceImageOrientationCorrection -
The value of SourceImageOrientationCorrection 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 getTargetImageOrientationCorrection()
The value of TargetImageOrientationCorrection 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 TargetImageOrientationCorrection 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 setTargetImageOrientationCorrection(java.lang.String targetImageOrientationCorrection)
The value of TargetImageOrientationCorrection 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
targetImageOrientationCorrection -
The value of TargetImageOrientationCorrection 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 CompareFacesResult withTargetImageOrientationCorrection(java.lang.String targetImageOrientationCorrection)
The value of TargetImageOrientationCorrection 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
targetImageOrientationCorrection -
The value of TargetImageOrientationCorrection 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 setTargetImageOrientationCorrection(OrientationCorrection targetImageOrientationCorrection)
The value of TargetImageOrientationCorrection 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
targetImageOrientationCorrection -
The value of TargetImageOrientationCorrection 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 CompareFacesResult withTargetImageOrientationCorrection(OrientationCorrection targetImageOrientationCorrection)
The value of TargetImageOrientationCorrection 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
targetImageOrientationCorrection -
The value of TargetImageOrientationCorrection 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.