ToCopyableBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
@Generated("software.amazon.awssdk:codegen") public class IndexFacesResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
IndexFacesResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static IndexFacesResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
List<FaceRecord> |
faceRecords() |
An array of faces detected and added to the collection.
|
int |
hashCode() |
|
String |
orientationCorrection() |
The orientation of the input image (counterclockwise direction).
|
static Class<? extends IndexFacesResponse.Builder> |
serializableBuilderClass() |
|
IndexFacesResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public List<FaceRecord> faceRecords()
An array of faces detected and added to the collection. For more information, see howitworks-index-faces.
public 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.
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
public IndexFacesResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IndexFacesResponse.Builder,IndexFacesResponse>
public static IndexFacesResponse.Builder builder()
public static Class<? extends IndexFacesResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.