@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectLabelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DetectLabelsResult() |
Modifier and Type | Method and Description |
---|---|
DetectLabelsResult |
clone() |
boolean |
equals(Object obj) |
List<Label> |
getLabels()
An array of labels for the real-world objects detected.
|
String |
getOrientationCorrection()
The orientation of the input image (counter-clockwise direction).
|
int |
hashCode() |
void |
setLabels(Collection<Label> labels)
An array of labels for the real-world objects detected.
|
void |
setOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
void |
setOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetectLabelsResult |
withLabels(Collection<Label> labels)
An array of labels for the real-world objects detected.
|
DetectLabelsResult |
withLabels(Label... labels)
An array of labels for the real-world objects detected.
|
DetectLabelsResult |
withOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
DetectLabelsResult |
withOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Label> getLabels()
An array of labels for the real-world objects detected.
public void setLabels(Collection<Label> labels)
An array of labels for the real-world objects detected.
labels
- An array of labels for the real-world objects detected.public DetectLabelsResult withLabels(Label... labels)
An array of labels for the real-world objects detected.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- An array of labels for the real-world objects detected.public DetectLabelsResult withLabels(Collection<Label> labels)
An array of labels for the real-world objects detected.
labels
- An array of labels for the real-world objects detected.public void setOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
orientationCorrection
- The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was
rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
public String getOrientationCorrection()
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
public DetectLabelsResult withOrientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
orientationCorrection
- The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was
rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
public void setOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
orientationCorrection
- The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was
rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
public DetectLabelsResult withOrientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
orientationCorrection
- The orientation of the input image (counter-clockwise direction). If your application displays the image,
you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was
rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
public String toString()
toString
in class Object
Object.toString()
public DetectLabelsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.