#[non_exhaustive]pub struct DetectFacesOutputBuilder { /* private fields */ }Expand description
A builder for DetectFacesOutput.
Implementations§
source§impl DetectFacesOutputBuilder
impl DetectFacesOutputBuilder
sourcepub fn face_details(self, input: FaceDetail) -> Self
pub fn face_details(self, input: FaceDetail) -> Self
Appends an item to face_details.
To override the contents of this collection use set_face_details.
Details of each face found in the image.
sourcepub fn set_face_details(self, input: Option<Vec<FaceDetail>>) -> Self
pub fn set_face_details(self, input: Option<Vec<FaceDetail>>) -> Self
Details of each face found in the image.
sourcepub fn get_face_details(&self) -> &Option<Vec<FaceDetail>>
pub fn get_face_details(&self) -> &Option<Vec<FaceDetail>>
Details of each face found in the image.
sourcepub fn orientation_correction(self, input: OrientationCorrection) -> Self
pub fn orientation_correction(self, input: OrientationCorrection) -> Self
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 set_orientation_correction(
self,
input: Option<OrientationCorrection>,
) -> Self
pub fn set_orientation_correction( self, input: Option<OrientationCorrection>, ) -> Self
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 get_orientation_correction(&self) -> &Option<OrientationCorrection>
pub fn get_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 build(self) -> DetectFacesOutput
pub fn build(self) -> DetectFacesOutput
Consumes the builder and constructs a DetectFacesOutput.
Trait Implementations§
source§impl Clone for DetectFacesOutputBuilder
impl Clone for DetectFacesOutputBuilder
source§fn clone(&self) -> DetectFacesOutputBuilder
fn clone(&self) -> DetectFacesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DetectFacesOutputBuilder
impl Debug for DetectFacesOutputBuilder
source§impl Default for DetectFacesOutputBuilder
impl Default for DetectFacesOutputBuilder
source§fn default() -> DetectFacesOutputBuilder
fn default() -> DetectFacesOutputBuilder
source§impl PartialEq for DetectFacesOutputBuilder
impl PartialEq for DetectFacesOutputBuilder
source§fn eq(&self, other: &DetectFacesOutputBuilder) -> bool
fn eq(&self, other: &DetectFacesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DetectFacesOutputBuilder
Auto Trait Implementations§
impl Freeze for DetectFacesOutputBuilder
impl RefUnwindSafe for DetectFacesOutputBuilder
impl Send for DetectFacesOutputBuilder
impl Sync for DetectFacesOutputBuilder
impl Unpin for DetectFacesOutputBuilder
impl UnwindSafe for DetectFacesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more