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 |
Documentation
data TextDetectionResult Source #
Information about text detected in a video. Incudes the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
See: newTextDetectionResult
smart constructor.
TextDetectionResult' | |
|
Instances
newTextDetectionResult :: TextDetectionResult Source #
Create a value of TextDetectionResult
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:textDetection:TextDetectionResult'
, textDetectionResult_textDetection
- Details about text detected in a video.
$sel:timestamp:TextDetectionResult'
, textDetectionResult_timestamp
- The time, in milliseconds from the start of the video, that the text was
detected. Note that Timestamp
is not guaranteed to be accurate to the
individual frame where the text first appears.
textDetectionResult_textDetection :: Lens' TextDetectionResult (Maybe TextDetection) Source #
Details about text detected in a video.
textDetectionResult_timestamp :: Lens' TextDetectionResult (Maybe Integer) Source #
The time, in milliseconds from the start of the video, that the text was
detected. Note that Timestamp
is not guaranteed to be accurate to the
individual frame where the text first appears.