public static interface IndexFacesResponse.Builder extends RekognitionResponse.Builder, CopyableBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
| Modifier and Type | Method and Description |
|---|---|
IndexFacesResponse.Builder |
faceRecords(Collection<FaceRecord> faceRecords)
An array of faces detected and added to the collection.
|
IndexFacesResponse.Builder |
faceRecords(Consumer<FaceRecord.Builder>... faceRecords)
An array of faces detected and added to the collection.
|
IndexFacesResponse.Builder |
faceRecords(FaceRecord... faceRecords)
An array of faces detected and added to the collection.
|
IndexFacesResponse.Builder |
orientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
IndexFacesResponse.Builder |
orientationCorrection(String orientationCorrection)
The orientation of the input image (counterclockwise direction).
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildIndexFacesResponse.Builder faceRecords(Collection<FaceRecord> faceRecords)
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
faceRecords - An array of faces detected and added to the collection. For more information, see
howitworks-index-faces.IndexFacesResponse.Builder faceRecords(FaceRecord... faceRecords)
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
faceRecords - An array of faces detected and added to the collection. For more information, see
howitworks-index-faces.IndexFacesResponse.Builder faceRecords(Consumer<FaceRecord.Builder>... faceRecords)
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
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 #faceRecords(List) .faceRecords - a consumer that will call methods on List.Builder #faceRecords(List) IndexFacesResponse.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 image orientation. The bounding box coordinates returned in
FaceRecords represent face locations before the image orientation is corrected.
If the input image is in jpeg format, it might contain exchangeable image (Exif) metadata. If so, and the
Exif metadata populates the orientation field, the value of OrientationCorrection is null and
the bounding box coordinates in FaceRecords 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 image orientation. The bounding box coordinates returned in
FaceRecords represent face locations before the image orientation is corrected.
If the input image is in jpeg format, it might contain exchangeable image (Exif) metadata. If so, and
the Exif metadata populates the orientation field, the value of OrientationCorrection is
null and the bounding box coordinates in FaceRecords represent face locations after Exif
metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
OrientationCorrection,
OrientationCorrectionIndexFacesResponse.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 image orientation. The bounding box coordinates returned in
FaceRecords represent face locations before the image orientation is corrected.
If the input image is in jpeg format, it might contain exchangeable image (Exif) metadata. If so, and the
Exif metadata populates the orientation field, the value of OrientationCorrection is null and
the bounding box coordinates in FaceRecords 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 image orientation. The bounding box coordinates returned in
FaceRecords represent face locations before the image orientation is corrected.
If the input image is in jpeg format, it might contain exchangeable image (Exif) metadata. If so, and
the Exif metadata populates the orientation field, the value of OrientationCorrection is
null and the bounding box coordinates in FaceRecords represent face locations after Exif
metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
OrientationCorrection,
OrientationCorrectionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.