public static interface DetectFacesResponse.Builder extends RekognitionResponse.Builder, CopyableBuilder<DetectFacesResponse.Builder,DetectFacesResponse>
Modifier and Type | Method and Description |
---|---|
DetectFacesResponse.Builder |
faceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
|
DetectFacesResponse.Builder |
faceDetails(Consumer<FaceDetail.Builder>... faceDetails)
Details of each face found in the image.
|
DetectFacesResponse.Builder |
faceDetails(FaceDetail... faceDetails)
Details of each face found in the image.
|
DetectFacesResponse.Builder |
orientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
DetectFacesResponse.Builder |
orientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetectFacesResponse.Builder faceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
faceDetails
- Details of each face found in the image.DetectFacesResponse.Builder faceDetails(FaceDetail... faceDetails)
Details of each face found in the image.
faceDetails
- Details of each face found in the image.DetectFacesResponse.Builder faceDetails(Consumer<FaceDetail.Builder>... faceDetails)
Details of each face found in the image.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #faceDetails(List)
.faceDetails
- a consumer that will call methods on List.Builder
#faceDetails(List)
DetectFacesResponse.Builder orientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you
can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails
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 FaceDetails
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 (counter-clockwise direction). If your application displays the
image, you can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails
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
FaceDetails
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
DetectFacesResponse.Builder orientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you
can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails
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 FaceDetails
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 (counter-clockwise direction). If your application displays the
image, you can use this value to correct image orientation. The bounding box coordinates returned in
FaceDetails
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
FaceDetails
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.