FaceDetail class

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.

  • GetCelebrityRecognition
  • GetPersonTracking
  • GetFaceSearch
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.

Constructors

FaceDetail({AgeRange? ageRange, Beard? beard, BoundingBox? boundingBox, double? confidence, List<Emotion>? emotions, Eyeglasses? eyeglasses, EyeOpen? eyesOpen, Gender? gender, List<Landmark>? landmarks, MouthOpen? mouthOpen, Mustache? mustache, Pose? pose, ImageQuality? quality, Smile? smile, Sunglasses? sunglasses})
FaceDetail.fromJson(Map<String, dynamic> json)
factory

Properties

ageRange AgeRange?
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
final
beard Beard?
Indicates whether or not the face has a beard, and the confidence level in the determination.
final
boundingBox BoundingBox?
Bounding box of the face. Default attribute.
final
confidence double?
Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.
final
emotions List<Emotion>?
The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.
final
eyeglasses Eyeglasses?
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
final
eyesOpen EyeOpen?
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
final
gender Gender?
The predicted gender of a detected face.
final
hashCode int
The hash code for this object.
no setterinherited
landmarks List<Landmark>?
Indicates the location of landmarks on the face. Default attribute.
final
mouthOpen MouthOpen?
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
final
mustache Mustache?
Indicates whether or not the face has a mustache, and the confidence level in the determination.
final
pose Pose?
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
final
quality ImageQuality?
Identifies image brightness and sharpness. Default attribute.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smile Smile?
Indicates whether or not the face is smiling, and the confidence level in the determination.
final
sunglasses Sunglasses?
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited