ToCopyableBuilder<RecognizeCelebritiesResponse.Builder,RecognizeCelebritiesResponse>
@Generated("software.amazon.awssdk:codegen") public class RecognizeCelebritiesResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<RecognizeCelebritiesResponse.Builder,RecognizeCelebritiesResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
RecognizeCelebritiesResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static RecognizeCelebritiesResponse.Builder |
builder() |
|
List<Celebrity> |
celebrityFaces() |
Details about each celebrity found in the image.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
orientationCorrection() |
The orientation of the input image (counterclockwise direction).
|
static Class<? extends RecognizeCelebritiesResponse.Builder> |
serializableBuilderClass() |
|
RecognizeCelebritiesResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<ComparedFace> |
unrecognizedFaces() |
Details about each unrecognized face in the image.
|
setSdkHttpMetadata, setSdkResponseMetadata
public List<Celebrity> celebrityFaces()
Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 15 celebrities in an image.
public List<ComparedFace> unrecognizedFaces()
Details about each unrecognized face in the image.
public 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.
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 RecognizeCelebritiesResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RecognizeCelebritiesResponse.Builder,RecognizeCelebritiesResponse>
public static RecognizeCelebritiesResponse.Builder builder()
public static Class<? extends RecognizeCelebritiesResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.