segmentationForUrl
Query
Segment the image at the specified URL
Response
Returns SegmentationResponse
Arguments
| Name | Type | Description |
|---|---|---|
url | String! | The URL of the image |
options | SegmentationOptionsInput | Optional segmentation parameters. |
Example
query segmentationForUrl( $url: String!, $options: SegmentationOptionsInput) { segmentationForUrl( url: $url, options: $options ) { results { segment { __typename } regionIndex } }}{ "url": "url-b369"}{ "data": { "segmentationForUrl": { "results": [ { "segment": { "__typename": "Segment" }, "regionIndex": 919 } ] } }}