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.PersonDetection

Description

 
Synopsis

Documentation

data PersonDetection Source #

Details and path tracking information for a single time a person's path is tracked in a video. Amazon Rekognition operations that track people's paths return an array of PersonDetection objects with elements for each time a person's path is tracked in a video.

For more information, see GetPersonTracking in the Amazon Rekognition Developer Guide.

See: newPersonDetection smart constructor.

Constructors

PersonDetection' 

Fields

  • person :: Maybe PersonDetail

    Details about a person whose path was tracked in a video.

  • timestamp :: Maybe Integer

    The time, in milliseconds from the start of the video, that the person's path was tracked. Note that Timestamp is not guaranteed to be accurate to the individual frame where the person's path first appears.

Instances

Instances details
FromJSON PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

Generic PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

Associated Types

type Rep PersonDetection :: Type -> Type #

Read PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

Show PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

NFData PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

Methods

rnf :: PersonDetection -> () #

Eq PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

Hashable PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

type Rep PersonDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.PersonDetection

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

newPersonDetection :: PersonDetection Source #

Create a value of PersonDetection 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:person:PersonDetection', personDetection_person - Details about a person whose path was tracked in a video.

$sel:timestamp:PersonDetection', personDetection_timestamp - The time, in milliseconds from the start of the video, that the person's path was tracked. Note that Timestamp is not guaranteed to be accurate to the individual frame where the person's path first appears.

personDetection_person :: Lens' PersonDetection (Maybe PersonDetail) Source #

Details about a person whose path was tracked in a video.

personDetection_timestamp :: Lens' PersonDetection (Maybe Integer) Source #

The time, in milliseconds from the start of the video, that the person's path was tracked. Note that Timestamp is not guaranteed to be accurate to the individual frame where the person's path first appears.