ToCopyableBuilder<DetectFacesResponse.Builder,DetectFacesResponse>
@Generated("software.amazon.awssdk:codegen") public class DetectFacesResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<DetectFacesResponse.Builder,DetectFacesResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DetectFacesResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DetectFacesResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
List<FaceDetail> |
faceDetails() |
Details of each face found in the image.
|
int |
hashCode() |
|
String |
orientationCorrection() |
The orientation of the input image (counter-clockwise direction).
|
static Class<? extends DetectFacesResponse.Builder> |
serializableBuilderClass() |
|
DetectFacesResponse.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<FaceDetail> faceDetails()
Details of each face found in the image.
public 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.
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
public DetectFacesResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DetectFacesResponse.Builder,DetectFacesResponse>
public static DetectFacesResponse.Builder builder()
public static Class<? extends DetectFacesResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.