Skip to content

textRecognitionForVideo

Query

Detect text in a video at the specified timestamp

Response

Returns TextRecognitionResponse

Arguments

NameTypeDescription
videoIdID!

The ID of the video

timestampDateTimeOffset!

The time at which text will be detected

optionsTextRecognitionOptionsInput

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