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
.
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 . The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes
input parameter.
-
GetCelebrityRecognition
-
GetPersonTracking
-
GetFaceSearch
The Amazon Rekognition Image and 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.
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
Indicates whether or not the face has a beard, and the confidence level in the determination.
Bounding box of the face. Default attribute.
Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.
The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
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.
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
Indicates whether or not the face has a mustache, and the confidence level in the determination.
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
Identifies image brightness and sharpness. Default attribute.
Indicates whether or not the face is smiling, and the confidence level in the determination.
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static