libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Rekognition.Types.UnindexedFace

Description

 
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.

Constructors

UnindexedFace' 

Fields

  • reasons :: Maybe [Reason]

    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 for IndexFaces.
    • 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.
  • faceDetail :: Maybe FaceDetail

    The structure that contains attributes of a face that IndexFacesdetected, but didn't index.

Instances

Instances details
Eq UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

Read UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

Show UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

Generic UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

Associated Types

type Rep UnindexedFace :: Type -> Type #

NFData UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

Methods

rnf :: UnindexedFace -> () #

Hashable UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

FromJSON UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

type Rep UnindexedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.UnindexedFace

type Rep UnindexedFace = D1 ('MetaData "UnindexedFace" "Amazonka.Rekognition.Types.UnindexedFace" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "UnindexedFace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reasons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Reason])) :*: S1 ('MetaSel ('Just "faceDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FaceDetail))))

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 for IndexFaces.
  • 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 IndexFacesdetected, 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 for IndexFaces.
  • 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 IndexFacesdetected, but didn't index.