textRecognitionForVideo
Query
Detect text in a video at the specified timestamp
Response
Returns TextRecognitionResponse
Arguments
| Name | Type | Description |
|---|---|---|
videoId | ID! | The ID of the video |
timestamp | DateTimeOffset! | The time at which text will be detected |
options | TextRecognitionOptionsInput | Optional text recognition parameters. |
Example
query textRecognitionForVideo( $videoId: ID!, $timestamp: DateTimeOffset!, $options: TextRecognitionOptionsInput) { textRecognitionForVideo( videoId: $videoId, timestamp: $timestamp, options: $options ) { results { textDetection { detectionConfidence text textConfidence } regionIndex } }}{ "videoId": "70fae0fa-9bb9-8aea-915e-ca1a3329146c", "timestamp": "2025-01-01T00:00:00.000Z"}{ "data": { "textRecognitionForVideo": { "results": [ { "textDetection": { "detectionConfidence": 536.22, "text": "text-319c", "textConfidence": 59.83 }, "regionIndex": 489 } ] } }}