[][src]Struct rusoto_rekognition::FaceDetail

pub struct FaceDetail {
    pub age_range: Option<AgeRange>,
    pub beard: Option<Beard>,
    pub bounding_box: Option<BoundingBox>,
    pub confidence: Option<f32>,
    pub emotions: Option<Vec<Emotion>>,
    pub eyeglasses: Option<Eyeglasses>,
    pub eyes_open: Option<EyeOpen>,
    pub gender: Option<Gender>,
    pub landmarks: Option<Vec<Landmark>>,
    pub mouth_open: Option<MouthOpen>,
    pub mustache: Option<Mustache>,
    pub pose: Option<Pose>,
    pub quality: Option<ImageQuality>,
    pub smile: Option<Smile>,
    pub sunglasses: Option<Sunglasses>,
}

Structure containing attributes of the face that the algorithm detected.

A FaceDetail object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox, Confidence, Landmarks, Pose, and Quality.

GetFaceDetection is the only Amazon Rekognition Video stored video operation that can return a FaceDetail object with all attributes. To specify which attributes to return, use the FaceAttributes input parameter for StartFaceDetection. The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes input parameter.

The Amazon Rekognition Image DetectFaces and IndexFaces operations can return all facial attributes. To specify which attributes to return, use the Attributes input parameter for DetectFaces. For IndexFaces, use the DetectAttributes input parameter.

Fields

age_range: Option<AgeRange>

The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.

beard: Option<Beard>

Indicates whether or not the face has a beard, and the confidence level in the determination.

bounding_box: Option<BoundingBox>

Bounding box of the face. Default attribute.

confidence: Option<f32>

Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.

emotions: Option<Vec<Emotion>>

The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.

eyeglasses: Option<Eyeglasses>

Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

eyes_open: Option<EyeOpen>

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

gender: Option<Gender>

Gender of the face and the confidence level in the determination.

landmarks: Option<Vec<Landmark>>

Indicates the location of landmarks on the face. Default attribute.

mouth_open: Option<MouthOpen>

Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

mustache: Option<Mustache>

Indicates whether or not the face has a mustache, and the confidence level in the determination.

pose: Option<Pose>

Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.

quality: Option<ImageQuality>

Identifies image brightness and sharpness. Default attribute.

smile: Option<Smile>

Indicates whether or not the face is smiling, and the confidence level in the determination.

sunglasses: Option<Sunglasses>

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

Trait Implementations

impl PartialEq<FaceDetail> for FaceDetail[src]

impl Default for FaceDetail[src]

impl Clone for FaceDetail[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FaceDetail[src]

impl<'de> Deserialize<'de> for FaceDetail[src]

Auto Trait Implementations

impl Send for FaceDetail

impl Sync for FaceDetail

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self