Struct aws_sdk_rekognition::output::DetectLabelsOutput
source · [−]#[non_exhaustive]pub struct DetectLabelsOutput { /* private fields */ }Implementations
sourceimpl DetectLabelsOutput
impl DetectLabelsOutput
sourcepub fn labels(&self) -> Option<&[Label]>
pub fn labels(&self) -> Option<&[Label]>
An array of labels for the real-world objects detected.
sourcepub fn orientation_correction(&self) -> Option<&OrientationCorrection>
pub fn orientation_correction(&self) -> Option<&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.
sourcepub fn label_model_version(&self) -> Option<&str>
pub fn label_model_version(&self) -> Option<&str>
Version number of the label detection model that was used to detect labels.
sourceimpl DetectLabelsOutput
impl DetectLabelsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectLabelsOutput.
Trait Implementations
sourceimpl Clone for DetectLabelsOutput
impl Clone for DetectLabelsOutput
sourcefn clone(&self) -> DetectLabelsOutput
fn clone(&self) -> DetectLabelsOutput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more