Struct aws_sdk_rekognition::types::FaceOccluded
source · #[non_exhaustive]pub struct FaceOccluded {
pub value: bool,
pub confidence: Option<f32>,
}Expand description
FaceOccluded should return "true" with a high confidence score if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. FaceOccluded should return "false" with a high confidence score if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
You can use FaceOccluded to determine if an obstruction on a face negatively impacts using the image for face matching.
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.value: boolTrue if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
confidence: Option<f32>The confidence that the service has detected the presence of a face occlusion.
Implementations§
source§impl FaceOccluded
impl FaceOccluded
sourcepub fn value(&self) -> bool
pub fn value(&self) -> bool
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
sourcepub fn confidence(&self) -> Option<f32>
pub fn confidence(&self) -> Option<f32>
The confidence that the service has detected the presence of a face occlusion.
source§impl FaceOccluded
impl FaceOccluded
sourcepub fn builder() -> FaceOccludedBuilder
pub fn builder() -> FaceOccludedBuilder
Creates a new builder-style object to manufacture FaceOccluded.
Trait Implementations§
source§impl Clone for FaceOccluded
impl Clone for FaceOccluded
source§fn clone(&self) -> FaceOccluded
fn clone(&self) -> FaceOccluded
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FaceOccluded
impl Debug for FaceOccluded
source§impl PartialEq for FaceOccluded
impl PartialEq for FaceOccluded
source§fn eq(&self, other: &FaceOccluded) -> bool
fn eq(&self, other: &FaceOccluded) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FaceOccluded
Auto Trait Implementations§
impl Freeze for FaceOccluded
impl RefUnwindSafe for FaceOccluded
impl Send for FaceOccluded
impl Sync for FaceOccluded
impl Unpin for FaceOccluded
impl UnwindSafe for FaceOccluded
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> 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