Skip to content

textRecognitionForDataSource

Query

Detect text in a data source’s asset at a specified timestamp

Response

Returns TextRecognitionResponse

Arguments

NameTypeDescription
dataSourceIdID!

The ID of the data source

timestampDateTimeOffset!

The time at which text will be detected

optionsTextRecognitionOptionsInput

Optional text recognition parameters.

Example

query textRecognitionForDataSource(
$dataSourceId: ID!,
$timestamp: DateTimeOffset!,
$options: TextRecognitionOptionsInput
) {
textRecognitionForDataSource(
dataSourceId: $dataSourceId,
timestamp: $timestamp,
options: $options
) {
results {
textDetection {
detectionConfidence
text
textConfidence
}
regionIndex
}
}
}