Skip to content

textRecognitionForTrack

Query

Detect text within the polygon defined by a track’s detection

Response

Returns TextRecognitionResponse

Arguments

NameTypeDescription
trackIdID!

The ID of the track

timestampDateTimeOffset!

The time of the track’s detection. Will use the nearest detection if there isn’t one at this exact timestamp

optionsTextRecognitionOptionsInput

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
}
}
}