Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data FaceDetail = FaceDetail' {
- ageRange :: Maybe AgeRange
- sunglasses :: Maybe Sunglasses
- mouthOpen :: Maybe MouthOpen
- boundingBox :: Maybe BoundingBox
- emotions :: Maybe [Emotion]
- eyesOpen :: Maybe EyeOpen
- pose :: Maybe Pose
- confidence :: Maybe Double
- gender :: Maybe Gender
- quality :: Maybe ImageQuality
- eyeglasses :: Maybe Eyeglasses
- beard :: Maybe Beard
- mustache :: Maybe Mustache
- smile :: Maybe Smile
- landmarks :: Maybe [Landmark]
- newFaceDetail :: FaceDetail
- faceDetail_ageRange :: Lens' FaceDetail (Maybe AgeRange)
- faceDetail_sunglasses :: Lens' FaceDetail (Maybe Sunglasses)
- faceDetail_mouthOpen :: Lens' FaceDetail (Maybe MouthOpen)
- faceDetail_boundingBox :: Lens' FaceDetail (Maybe BoundingBox)
- faceDetail_emotions :: Lens' FaceDetail (Maybe [Emotion])
- faceDetail_eyesOpen :: Lens' FaceDetail (Maybe EyeOpen)
- faceDetail_pose :: Lens' FaceDetail (Maybe Pose)
- faceDetail_confidence :: Lens' FaceDetail (Maybe Double)
- faceDetail_gender :: Lens' FaceDetail (Maybe Gender)
- faceDetail_quality :: Lens' FaceDetail (Maybe ImageQuality)
- faceDetail_eyeglasses :: Lens' FaceDetail (Maybe Eyeglasses)
- faceDetail_beard :: Lens' FaceDetail (Maybe Beard)
- faceDetail_mustache :: Lens' FaceDetail (Maybe Mustache)
- faceDetail_smile :: Lens' FaceDetail (Maybe Smile)
- faceDetail_landmarks :: Lens' FaceDetail (Maybe [Landmark])
Documentation
data FaceDetail Source #
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.
See: newFaceDetail
smart constructor.
FaceDetail' | |
|
Instances
newFaceDetail :: FaceDetail Source #
Create a value of FaceDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ageRange:FaceDetail'
, faceDetail_ageRange
- The estimated age range, in years, for the face. Low represents the
lowest estimated age and High represents the highest estimated age.
$sel:sunglasses:FaceDetail'
, faceDetail_sunglasses
- Indicates whether or not the face is wearing sunglasses, and the
confidence level in the determination.
$sel:mouthOpen:FaceDetail'
, faceDetail_mouthOpen
- Indicates whether or not the mouth on the face is open, and the
confidence level in the determination.
$sel:boundingBox:FaceDetail'
, faceDetail_boundingBox
- Bounding box of the face. Default attribute.
$sel:emotions:FaceDetail'
, faceDetail_emotions
- 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.
$sel:eyesOpen:FaceDetail'
, faceDetail_eyesOpen
- Indicates whether or not the eyes on the face are open, and the
confidence level in the determination.
$sel:pose:FaceDetail'
, faceDetail_pose
- Indicates the pose of the face as determined by its pitch, roll, and
yaw. Default attribute.
$sel:confidence:FaceDetail'
, faceDetail_confidence
- Confidence level that the bounding box contains a face (and not a
different object such as a tree). Default attribute.
$sel:gender:FaceDetail'
, faceDetail_gender
- The predicted gender of a detected face.
$sel:quality:FaceDetail'
, faceDetail_quality
- Identifies image brightness and sharpness. Default attribute.
$sel:eyeglasses:FaceDetail'
, faceDetail_eyeglasses
- Indicates whether or not the face is wearing eye glasses, and the
confidence level in the determination.
$sel:beard:FaceDetail'
, faceDetail_beard
- Indicates whether or not the face has a beard, and the confidence level
in the determination.
$sel:mustache:FaceDetail'
, faceDetail_mustache
- Indicates whether or not the face has a mustache, and the confidence
level in the determination.
$sel:smile:FaceDetail'
, faceDetail_smile
- Indicates whether or not the face is smiling, and the confidence level
in the determination.
$sel:landmarks:FaceDetail'
, faceDetail_landmarks
- Indicates the location of landmarks on the face. Default attribute.
faceDetail_ageRange :: Lens' FaceDetail (Maybe AgeRange) Source #
The estimated age range, in years, for the face. Low represents the lowest estimated age and High represents the highest estimated age.
faceDetail_sunglasses :: Lens' FaceDetail (Maybe Sunglasses) Source #
Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.
faceDetail_mouthOpen :: Lens' FaceDetail (Maybe MouthOpen) Source #
Indicates whether or not the mouth on the face is open, and the confidence level in the determination.
faceDetail_boundingBox :: Lens' FaceDetail (Maybe BoundingBox) Source #
Bounding box of the face. Default attribute.
faceDetail_emotions :: Lens' FaceDetail (Maybe [Emotion]) Source #
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.
faceDetail_eyesOpen :: Lens' FaceDetail (Maybe EyeOpen) Source #
Indicates whether or not the eyes on the face are open, and the confidence level in the determination.
faceDetail_pose :: Lens' FaceDetail (Maybe Pose) Source #
Indicates the pose of the face as determined by its pitch, roll, and yaw. Default attribute.
faceDetail_confidence :: Lens' FaceDetail (Maybe Double) Source #
Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute.
faceDetail_gender :: Lens' FaceDetail (Maybe Gender) Source #
The predicted gender of a detected face.
faceDetail_quality :: Lens' FaceDetail (Maybe ImageQuality) Source #
Identifies image brightness and sharpness. Default attribute.
faceDetail_eyeglasses :: Lens' FaceDetail (Maybe Eyeglasses) Source #
Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.
faceDetail_beard :: Lens' FaceDetail (Maybe Beard) Source #
Indicates whether or not the face has a beard, and the confidence level in the determination.
faceDetail_mustache :: Lens' FaceDetail (Maybe Mustache) Source #
Indicates whether or not the face has a mustache, and the confidence level in the determination.
faceDetail_smile :: Lens' FaceDetail (Maybe Smile) Source #
Indicates whether or not the face is smiling, and the confidence level in the determination.
faceDetail_landmarks :: Lens' FaceDetail (Maybe [Landmark]) Source #
Indicates the location of landmarks on the face. Default attribute.