textRecognitionForFrame
Query
Detect text in a frame
Response
Returns TextRecognitionResponse
Arguments
| Name | Type | Description |
|---|---|---|
frameId | ID! | The ID of the frame |
options | TextRecognitionOptionsInput | Optional text recognition parameters. |
Example
query textRecognitionForFrame( $frameId: ID!, $options: TextRecognitionOptionsInput) { textRecognitionForFrame( frameId: $frameId, options: $options ) { results { textDetection { detectionConfidence text textConfidence } regionIndex } }}{ "frameId": "c77ec723-e7c2-8228-bbe0-4b5b716d9e2a"}{ "data": { "textRecognitionForFrame": { "results": [ { "textDetection": { "detectionConfidence": 536.22, "text": "text-319c", "textConfidence": 59.83 }, "regionIndex": 489 } ] } }}