public class RecognizeCelebritiesResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RecognizeCelebritiesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Celebrity> |
getCelebrityFaces()
Details about each celebrity found in the image.
|
java.lang.String |
getOrientationCorrection()
The orientation of the input image (counterclockwise direction).
|
java.util.List<ComparedFace> |
getUnrecognizedFaces()
Details about each unrecognized face in the image.
|
int |
hashCode() |
void |
setCelebrityFaces(java.util.Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image.
|
void |
setOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
void |
setOrientationCorrection(java.lang.String orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
void |
setUnrecognizedFaces(java.util.Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecognizeCelebritiesResult |
withCelebrityFaces(Celebrity... celebrityFaces)
Details about each celebrity found in the image.
|
RecognizeCelebritiesResult |
withCelebrityFaces(java.util.Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image.
|
RecognizeCelebritiesResult |
withOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
RecognizeCelebritiesResult |
withOrientationCorrection(java.lang.String orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
RecognizeCelebritiesResult |
withUnrecognizedFaces(java.util.Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
|
RecognizeCelebritiesResult |
withUnrecognizedFaces(ComparedFace... unrecognizedFaces)
Details about each unrecognized face in the image.
|
public java.util.List<Celebrity> getCelebrityFaces()
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
public void setCelebrityFaces(java.util.Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
celebrityFaces
- Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
public RecognizeCelebritiesResult withCelebrityFaces(Celebrity... celebrityFaces)
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
Returns a reference to this object so that method calls can be chained together.
celebrityFaces
- Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
public RecognizeCelebritiesResult withCelebrityFaces(java.util.Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
Returns a reference to this object so that method calls can be chained together.
celebrityFaces
- Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.
public java.util.List<ComparedFace> getUnrecognizedFaces()
Details about each unrecognized face in the image.
Details about each unrecognized face in the image.
public void setUnrecognizedFaces(java.util.Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
unrecognizedFaces
- Details about each unrecognized face in the image.
public RecognizeCelebritiesResult withUnrecognizedFaces(ComparedFace... unrecognizedFaces)
Details about each unrecognized face in the image.
Returns a reference to this object so that method calls can be chained together.
unrecognizedFaces
- Details about each unrecognized face in the image.
public RecognizeCelebritiesResult withUnrecognizedFaces(java.util.Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
Returns a reference to this object so that method calls can be chained together.
unrecognizedFaces
- Details about each unrecognized face in the image.
public java.lang.String getOrientationCorrection()
The orientation of the input image (counterclockwise direction). If your
application displays the image, you can use this value to correct the
orientation. The bounding box coordinates returned in
CelebrityFaces
and UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
The orientation of the input image (counterclockwise direction).
If your application displays the image, you can use this value to
correct the orientation. The bounding box coordinates returned in
CelebrityFaces
and UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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
public void setOrientationCorrection(java.lang.String orientationCorrection)
The orientation of the input image (counterclockwise direction). If your
application displays the image, you can use this value to correct the
orientation. The bounding box coordinates returned in
CelebrityFaces
and UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
orientationCorrection
-
The orientation of the input image (counterclockwise
direction). If your application displays the image, you can
use this value to correct the orientation. The bounding box
coordinates returned in CelebrityFaces
and
UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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
public RecognizeCelebritiesResult withOrientationCorrection(java.lang.String orientationCorrection)
The orientation of the input image (counterclockwise direction). If your
application displays the image, you can use this value to correct the
orientation. The bounding box coordinates returned in
CelebrityFaces
and UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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.
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 orientation of the input image (counterclockwise
direction). If your application displays the image, you can
use this value to correct the orientation. The bounding box
coordinates returned in CelebrityFaces
and
UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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
public void setOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counterclockwise direction). If your
application displays the image, you can use this value to correct the
orientation. The bounding box coordinates returned in
CelebrityFaces
and UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
orientationCorrection
-
The orientation of the input image (counterclockwise
direction). If your application displays the image, you can
use this value to correct the orientation. The bounding box
coordinates returned in CelebrityFaces
and
UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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
public RecognizeCelebritiesResult withOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counterclockwise direction). If your
application displays the image, you can use this value to correct the
orientation. The bounding box coordinates returned in
CelebrityFaces
and UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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.
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 orientation of the input image (counterclockwise
direction). If your application displays the image, you can
use this value to correct the orientation. The bounding box
coordinates returned in CelebrityFaces
and
UnrecognizedFaces
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. The
CelebrityFaces
and UnrecognizedFaces
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.