amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.FaceDetection

Description

 
Synopsis

Documentation

data FaceDetection Source #

Information about a face detected in a video analysis request and the time the face was detected in the video.

See: newFaceDetection smart constructor.

Constructors

FaceDetection' 

Fields

  • face :: Maybe FaceDetail

    The face properties for the detected face.

  • timestamp :: Maybe Integer

    Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the face first appears.

Instances

Instances details
FromJSON FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

Generic FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

Associated Types

type Rep FaceDetection :: Type -> Type #

Read FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

Show FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

NFData FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

Methods

rnf :: FaceDetection -> () #

Eq FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

Hashable FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

type Rep FaceDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.FaceDetection

type Rep FaceDetection = D1 ('MetaData "FaceDetection" "Amazonka.Rekognition.Types.FaceDetection" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "FaceDetection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "face") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FaceDetail)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newFaceDetection :: FaceDetection Source #

Create a value of FaceDetection 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:face:FaceDetection', faceDetection_face - The face properties for the detected face.

$sel:timestamp:FaceDetection', faceDetection_timestamp - Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the face first appears.

faceDetection_face :: Lens' FaceDetection (Maybe FaceDetail) Source #

The face properties for the detected face.

faceDetection_timestamp :: Lens' FaceDetection (Maybe Integer) Source #

Time, in milliseconds from the start of the video, that the face was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the face first appears.