public class DetectLabelsResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DetectLabelsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLabelModelVersion()
Version number of the label detection model that was used to detect
labels.
|
java.util.List<Label> |
getLabels()
An array of labels for the real-world objects detected.
|
java.lang.String |
getOrientationCorrection()
The value of
OrientationCorrection is always null. |
int |
hashCode() |
void |
setLabelModelVersion(java.lang.String labelModelVersion)
Version number of the label detection model that was used to detect
labels.
|
void |
setLabels(java.util.Collection<Label> labels)
An array of labels for the real-world objects detected.
|
void |
setOrientationCorrection(OrientationCorrection orientationCorrection)
The value of
OrientationCorrection is always null. |
void |
setOrientationCorrection(java.lang.String orientationCorrection)
The value of
OrientationCorrection is always null. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectLabelsResult |
withLabelModelVersion(java.lang.String labelModelVersion)
Version number of the label detection model that was used to detect
labels.
|
DetectLabelsResult |
withLabels(java.util.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 value of
OrientationCorrection is always null. |
DetectLabelsResult |
withOrientationCorrection(java.lang.String orientationCorrection)
The value of
OrientationCorrection is always null. |
public java.util.List<Label> getLabels()
An array of labels for the real-world objects detected.
An array of labels for the real-world objects detected.
public void setLabels(java.util.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.
Returns a reference to this object so that method calls can be chained together.
labels - An array of labels for the real-world objects detected.
public DetectLabelsResult withLabels(java.util.Collection<Label> labels)
An array of labels for the real-world objects detected.
Returns a reference to this object so that method calls can be chained together.
labels - An array of labels for the real-world objects detected.
public java.lang.String getOrientationCorrection()
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.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
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.
OrientationCorrectionpublic void setOrientationCorrection(java.lang.String 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.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
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.
OrientationCorrectionpublic DetectLabelsResult withOrientationCorrection(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
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.
OrientationCorrectionpublic void setOrientationCorrection(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.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
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.
OrientationCorrectionpublic DetectLabelsResult withOrientationCorrection(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270
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.
OrientationCorrectionpublic java.lang.String getLabelModelVersion()
Version number of the label detection model that was used to detect labels.
Version number of the label detection model that was used to detect labels.
public void setLabelModelVersion(java.lang.String labelModelVersion)
Version number of the label detection model that was used to detect labels.
labelModelVersion - Version number of the label detection model that was used to detect labels.
public DetectLabelsResult withLabelModelVersion(java.lang.String labelModelVersion)
Version number of the label detection model that was used to detect labels.
Returns a reference to this object so that method calls can be chained together.
labelModelVersion - Version number of the label detection model that was used to detect labels.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.