Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LabelDetection = LabelDetection' {}
- newLabelDetection :: LabelDetection
- labelDetection_durationMillis :: Lens' LabelDetection (Maybe Natural)
- labelDetection_endTimestampMillis :: Lens' LabelDetection (Maybe Natural)
- labelDetection_label :: Lens' LabelDetection (Maybe Label)
- labelDetection_startTimestampMillis :: Lens' LabelDetection (Maybe Natural)
- labelDetection_timestamp :: Lens' LabelDetection (Maybe Integer)
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.
LabelDetection' | |
|
Instances
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.