CopyableBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
, SdkBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
public static interface IndexFacesResponse.Builder extends CopyableBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
Modifier and Type | Method | Description |
---|---|---|
IndexFacesResponse.Builder |
faceRecords(Collection<FaceRecord> 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(String orientationCorrection) |
The orientation of the input image (counterclockwise direction).
|
IndexFacesResponse.Builder |
orientationCorrection(OrientationCorrection orientationCorrection) |
The orientation of the input image (counterclockwise direction).
|
copy
apply, build
IndexFacesResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setFaceRecords(java.util.Collection)
or #withFaceRecords(java.util.Collection)
if you want
to override the existing values.
faceRecords
- An array of faces detected and added to the collection. For more information, see
howitworks-index-faces.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
IndexFacesResponse.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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.