@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecognizeCelebritiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RecognizeCelebritiesResult() |
Modifier and Type | Method and Description |
---|---|
RecognizeCelebritiesResult |
clone() |
boolean |
equals(Object obj) |
List<Celebrity> |
getCelebrityFaces()
Details about each celebrity found in the image.
|
String |
getOrientationCorrection()
The orientation of the input image (counterclockwise direction).
|
List<ComparedFace> |
getUnrecognizedFaces()
Details about each unrecognized face in the image.
|
int |
hashCode() |
void |
setCelebrityFaces(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(String orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
void |
setUnrecognizedFaces(Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
|
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(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(String orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
RecognizeCelebritiesResult |
withUnrecognizedFaces(Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
|
RecognizeCelebritiesResult |
withUnrecognizedFaces(ComparedFace... unrecognizedFaces)
Details about each unrecognized face in the image.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Celebrity> getCelebrityFaces()
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image.
public void setCelebrityFaces(Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image.
celebrityFaces
- Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities
in an image.public RecognizeCelebritiesResult withCelebrityFaces(Celebrity... celebrityFaces)
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image.
NOTE: This method appends the values to the existing list (if any). Use
setCelebrityFaces(java.util.Collection)
or withCelebrityFaces(java.util.Collection)
if you want
to override the existing values.
celebrityFaces
- Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities
in an image.public RecognizeCelebritiesResult withCelebrityFaces(Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image.
celebrityFaces
- Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities
in an image.public List<ComparedFace> getUnrecognizedFaces()
Details about each unrecognized face in the image.
public void setUnrecognizedFaces(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.
NOTE: This method appends the values to the existing list (if any). Use
setUnrecognizedFaces(java.util.Collection)
or withUnrecognizedFaces(java.util.Collection)
if
you want to override the existing values.
unrecognizedFaces
- Details about each unrecognized face in the image.public RecognizeCelebritiesResult withUnrecognizedFaces(Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
unrecognizedFaces
- Details about each unrecognized face in the image.public void setOrientationCorrection(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 and 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
- 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 and 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 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 and 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.
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 and 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(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 and 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
- 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 and 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 and 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
- 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 and 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 and 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
- 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 and 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 String toString()
toString
in class Object
Object.toString()
public RecognizeCelebritiesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.