textRecognitionForTrack
Query
Detect text within the polygon defined by a track’s detection
Response
Returns TextRecognitionResponse
Arguments
| Name | Type | Description |
|---|---|---|
trackId | ID! | The ID of the track |
timestamp | DateTimeOffset! | The time of the track’s detection. Will use the nearest detection if there isn’t one at this exact timestamp |
options | TextRecognitionOptionsInput | Optional text recognition parameters. |
Example
query textRecognitionForTrack( $trackId: ID!, $timestamp: DateTimeOffset!, $options: TextRecognitionOptionsInput) { textRecognitionForTrack( trackId: $trackId, timestamp: $timestamp, options: $options ) { results { textDetection { detectionConfidence text textConfidence } regionIndex } }}{ "trackId": "b6402279-cbcf-883a-9893-bee71892d7be", "timestamp": "2025-01-01T00:00:00.000Z"}{ "data": { "textRecognitionForTrack": { "results": [ { "textDetection": { "detectionConfidence": 536.22, "text": "text-319c", "textConfidence": 59.83 }, "regionIndex": 489 } ] } }}