#[non_exhaustive]pub struct DetectFacesOutput {
pub face_details: Option<Vec<FaceDetail>>,
pub orientation_correction: Option<OrientationCorrection>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.face_details: Option<Vec<FaceDetail>>Details of each face found in the image.
orientation_correction: 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.
Implementations§
source§impl DetectFacesOutput
impl DetectFacesOutput
sourcepub fn face_details(&self) -> &[FaceDetail]
pub fn face_details(&self) -> &[FaceDetail]
Details of each face found in the image.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .face_details.is_none().
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.
source§impl DetectFacesOutput
impl DetectFacesOutput
sourcepub fn builder() -> DetectFacesOutputBuilder
pub fn builder() -> DetectFacesOutputBuilder
Creates a new builder-style object to manufacture DetectFacesOutput.
Trait Implementations§
source§impl Clone for DetectFacesOutput
impl Clone for DetectFacesOutput
source§fn clone(&self) -> DetectFacesOutput
fn clone(&self) -> DetectFacesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectFacesOutput
impl Debug for DetectFacesOutput
source§impl PartialEq for DetectFacesOutput
impl PartialEq for DetectFacesOutput
source§fn eq(&self, other: &DetectFacesOutput) -> bool
fn eq(&self, other: &DetectFacesOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DetectFacesOutput
impl RequestId for DetectFacesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.