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 ComparedFace = ComparedFace' {}
- newComparedFace :: ComparedFace
- comparedFace_boundingBox :: Lens' ComparedFace (Maybe BoundingBox)
- comparedFace_emotions :: Lens' ComparedFace (Maybe [Emotion])
- comparedFace_pose :: Lens' ComparedFace (Maybe Pose)
- comparedFace_confidence :: Lens' ComparedFace (Maybe Double)
- comparedFace_quality :: Lens' ComparedFace (Maybe ImageQuality)
- comparedFace_smile :: Lens' ComparedFace (Maybe Smile)
- comparedFace_landmarks :: Lens' ComparedFace (Maybe [Landmark])
Documentation
data ComparedFace Source #
Provides face metadata for target image faces that are analyzed by
CompareFaces
and RecognizeCelebrities
.
See: newComparedFace
smart constructor.
ComparedFace' | |
|
Instances
newComparedFace :: ComparedFace Source #
Create a value of ComparedFace
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:boundingBox:ComparedFace'
, comparedFace_boundingBox
- Bounding box of the face.
$sel:emotions:ComparedFace'
, comparedFace_emotions
- The emotions that appear to be expressed on the face, and the confidence
level in the determination. Valid values include "Happy", "Sad",
"Angry", "Confused", "Disgusted", "Surprised", "Calm",
"Unknown", and "Fear".
$sel:pose:ComparedFace'
, comparedFace_pose
- Indicates the pose of the face as determined by its pitch, roll, and
yaw.
$sel:confidence:ComparedFace'
, comparedFace_confidence
- Level of confidence that what the bounding box contains is a face.
$sel:quality:ComparedFace'
, comparedFace_quality
- Identifies face image brightness and sharpness.
$sel:smile:ComparedFace'
, comparedFace_smile
- Indicates whether or not the face is smiling, and the confidence level
in the determination.
$sel:landmarks:ComparedFace'
, comparedFace_landmarks
- An array of facial landmarks.
comparedFace_boundingBox :: Lens' ComparedFace (Maybe BoundingBox) Source #
Bounding box of the face.
comparedFace_emotions :: Lens' ComparedFace (Maybe [Emotion]) Source #
The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".
comparedFace_pose :: Lens' ComparedFace (Maybe Pose) Source #
Indicates the pose of the face as determined by its pitch, roll, and yaw.
comparedFace_confidence :: Lens' ComparedFace (Maybe Double) Source #
Level of confidence that what the bounding box contains is a face.
comparedFace_quality :: Lens' ComparedFace (Maybe ImageQuality) Source #
Identifies face image brightness and sharpness.
comparedFace_smile :: Lens' ComparedFace (Maybe Smile) Source #
Indicates whether or not the face is smiling, and the confidence level in the determination.
comparedFace_landmarks :: Lens' ComparedFace (Maybe [Landmark]) Source #
An array of facial landmarks.