textRecognitionForUrl
Query
Detect text in the image at the specified URL
Response
Returns TextRecognitionResponse
Arguments
| Name | Type | Description |
|---|---|---|
url | String! | The URL of the image |
options | TextRecognitionOptionsInput | Optional text recognition parameters. |
Example
query textRecognitionForUrl( $url: String!, $options: TextRecognitionOptionsInput) { textRecognitionForUrl( url: $url, options: $options ) { results { textDetection { detectionConfidence text textConfidence } regionIndex } }}{ "url": "url-7434"}{ "data": { "textRecognitionForUrl": { "results": [ { "textDetection": { "detectionConfidence": 536.22, "text": "text-319c", "textConfidence": 59.83 }, "regionIndex": 489 } ] } }}