@Generated(value="software.amazon.awssdk:codegen") public final class DetectLabelsResponse extends RekognitionResponse implements ToCopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectLabelsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectLabelsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
labelModelVersion()
Version number of the label detection model that was used to detect labels.
|
List<Label> |
labels()
An array of labels for the real-world objects detected.
|
OrientationCorrection |
orientationCorrection()
The value of
OrientationCorrection is always null. |
String |
orientationCorrectionAsString()
The value of
OrientationCorrection is always null. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectLabelsResponse.Builder> |
serializableBuilderClass() |
DetectLabelsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<Label> labels()
An array of labels for the real-world objects detected.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public OrientationCorrection orientationCorrection()
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
If the service returns an enum value that is not available in the current SDK version,
orientationCorrection will return OrientationCorrection.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from orientationCorrectionAsString().
OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic String orientationCorrectionAsString()
The value of OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
If the service returns an enum value that is not available in the current SDK version,
orientationCorrection will return OrientationCorrection.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from orientationCorrectionAsString().
OrientationCorrection is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrectionpublic String labelModelVersion()
Version number of the label detection model that was used to detect labels.
public DetectLabelsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>toBuilder in class AwsResponsepublic static DetectLabelsResponse.Builder builder()
public static Class<? extends DetectLabelsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.