public static interface RecognizeCelebritiesResponse.Builder extends RekognitionResponse.Builder, CopyableBuilder<RecognizeCelebritiesResponse.Builder,RecognizeCelebritiesResponse>
Modifier and Type | Method and Description |
---|---|
RecognizeCelebritiesResponse.Builder |
celebrityFaces(Celebrity... celebrityFaces)
Details about each celebrity found in the image.
|
RecognizeCelebritiesResponse.Builder |
celebrityFaces(Collection<Celebrity> celebrityFaces)
Details about each celebrity found in the image.
|
RecognizeCelebritiesResponse.Builder |
orientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
RecognizeCelebritiesResponse.Builder |
orientationCorrection(String orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
RecognizeCelebritiesResponse.Builder |
unrecognizedFaces(Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
|
RecognizeCelebritiesResponse.Builder |
unrecognizedFaces(ComparedFace... unrecognizedFaces)
Details about each unrecognized face in the image.
|
build
copy
apply, build
RecognizeCelebritiesResponse.Builder celebrityFaces(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.RecognizeCelebritiesResponse.Builder celebrityFaces(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.RecognizeCelebritiesResponse.Builder unrecognizedFaces(Collection<ComparedFace> unrecognizedFaces)
Details about each unrecognized face in the image.
unrecognizedFaces
- Details about each unrecognized face in the image.RecognizeCelebritiesResponse.Builder unrecognizedFaces(ComparedFace... unrecognizedFaces)
Details about each unrecognized face in the image.
unrecognizedFaces
- Details about each unrecognized face in the image.RecognizeCelebritiesResponse.Builder orientationCorrection(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
,
OrientationCorrection
RecognizeCelebritiesResponse.Builder orientationCorrection(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
,
OrientationCorrection
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.