@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) |
DetectLabelsImageProperties |
getImageProperties()
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant
colors.
|
String |
getLabelModelVersion()
Version number of the label detection model that was used to detect labels.
|
List<Label> |
getLabels()
An array of labels for the real-world objects detected.
|
String |
getOrientationCorrection()
The value of
OrientationCorrection is always null. |
int |
hashCode() |
void |
setImageProperties(DetectLabelsImageProperties imageProperties)
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant
colors.
|
void |
setLabelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
|
void |
setLabels(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(String orientationCorrection)
The value of
OrientationCorrection is always null. |
String |
toString()
Returns a string representation of this object.
|
DetectLabelsResult |
withImageProperties(DetectLabelsImageProperties imageProperties)
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant
colors.
|
DetectLabelsResult |
withLabelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
|
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 value of
OrientationCorrection is always null. |
DetectLabelsResult |
withOrientationCorrection(String orientationCorrection)
The value of
OrientationCorrection is always null. |
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 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.
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.
OrientationCorrection
public 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.
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.
OrientationCorrection
public DetectLabelsResult withOrientationCorrection(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.
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.
OrientationCorrection
public 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.
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.
OrientationCorrection
public 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.
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.
OrientationCorrection
public void setLabelModelVersion(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 String getLabelModelVersion()
Version number of the label detection model that was used to detect labels.
public DetectLabelsResult withLabelModelVersion(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 void setImageProperties(DetectLabelsImageProperties imageProperties)
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.
imageProperties
- Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant
colors.public DetectLabelsImageProperties getImageProperties()
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.
public DetectLabelsResult withImageProperties(DetectLabelsImageProperties imageProperties)
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.
imageProperties
- Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant
colors.public String toString()
toString
in class Object
Object.toString()
public DetectLabelsResult clone()