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
Documentation
data UnindexedFace Source #
A face that IndexFaces detected, but didn't index. Use the Reasons
response attribute to determine why a face wasn't indexed.
See: newUnindexedFace
smart constructor.
UnindexedFace' | |
|
Instances
newUnindexedFace :: UnindexedFace Source #
Create a value of UnindexedFace
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:reasons:UnindexedFace'
, unindexedFace_reasons
- An array of reasons that specify why a face wasn't indexed.
- EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
- EXCEEDS_MAX_FACES - The number of faces detected is already higher
than that specified by the
MaxFaces
input parameter forIndexFaces
. - LOW_BRIGHTNESS - The image is too dark.
- LOW_SHARPNESS - The image is too blurry.
- LOW_CONFIDENCE - The face was detected with a low confidence.
- SMALL_BOUNDING_BOX - The bounding box around the face is too small.
$sel:faceDetail:UnindexedFace'
, unindexedFace_faceDetail
- The structure that contains attributes of a face that
IndexFaces
detected, but didn't index.
unindexedFace_reasons :: Lens' UnindexedFace (Maybe [Reason]) Source #
An array of reasons that specify why a face wasn't indexed.
- EXTREME_POSE - The face is at a pose that can't be detected. For example, the head is turned too far away from the camera.
- EXCEEDS_MAX_FACES - The number of faces detected is already higher
than that specified by the
MaxFaces
input parameter forIndexFaces
. - LOW_BRIGHTNESS - The image is too dark.
- LOW_SHARPNESS - The image is too blurry.
- LOW_CONFIDENCE - The face was detected with a low confidence.
- SMALL_BOUNDING_BOX - The bounding box around the face is too small.
unindexedFace_faceDetail :: Lens' UnindexedFace (Maybe FaceDetail) Source #
The structure that contains attributes of a face that
IndexFaces
detected, but didn't index.