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

Description

 
Synopsis

Documentation

data LabelDetection Source #

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

See: newLabelDetection smart constructor.

Constructors

LabelDetection' 

Fields

  • durationMillis :: Maybe Natural

    The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

  • endTimestampMillis :: Maybe Natural

    The time in milliseconds defining the end of the timeline segment containing a continuously detected label.

  • label :: Maybe Label

    Details about the detected label.

  • startTimestampMillis :: Maybe Natural

    The time in milliseconds defining the start of the timeline segment containing a continuously detected label.

  • timestamp :: Maybe Integer

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

Instances

Instances details
FromJSON LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

Generic LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

Associated Types

type Rep LabelDetection :: Type -> Type #

Read LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

Show LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

NFData LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

Methods

rnf :: LabelDetection -> () #

Eq LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

Hashable LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

type Rep LabelDetection Source # 
Instance details

Defined in Amazonka.Rekognition.Types.LabelDetection

type Rep LabelDetection = D1 ('MetaData "LabelDetection" "Amazonka.Rekognition.Types.LabelDetection" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "LabelDetection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "durationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "endTimestampMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Label)) :*: (S1 ('MetaSel ('Just "startTimestampMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newLabelDetection :: LabelDetection Source #

Create a value of LabelDetection 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:durationMillis:LabelDetection', labelDetection_durationMillis - The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

$sel:endTimestampMillis:LabelDetection', labelDetection_endTimestampMillis - The time in milliseconds defining the end of the timeline segment containing a continuously detected label.

$sel:label:LabelDetection', labelDetection_label - Details about the detected label.

$sel:startTimestampMillis:LabelDetection', labelDetection_startTimestampMillis - The time in milliseconds defining the start of the timeline segment containing a continuously detected label.

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

labelDetection_durationMillis :: Lens' LabelDetection (Maybe Natural) Source #

The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

labelDetection_endTimestampMillis :: Lens' LabelDetection (Maybe Natural) Source #

The time in milliseconds defining the end of the timeline segment containing a continuously detected label.

labelDetection_label :: Lens' LabelDetection (Maybe Label) Source #

Details about the detected label.

labelDetection_startTimestampMillis :: Lens' LabelDetection (Maybe Natural) Source #

The time in milliseconds defining the start of the timeline segment containing a continuously detected label.

labelDetection_timestamp :: Lens' LabelDetection (Maybe Integer) Source #

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