/segment/from_pointsSegment from points
Use a collection of positive and negative points to segment an image. Used in creating masks for detectors.
Request body
Schema type: object
Fields
| Field | Type | Required | Description | Notes |
|---|---|---|---|---|
file | string (binary) | Required | — | — |
positives | string | Optional | — | default: [] |
negatives | string | Optional | — | default: [] |
Responses
PNG image stream containing the generated mask.
Fields
| Field | Type | Required | Description | Notes |
|---|---|---|---|---|
value | string (binary) | Required | — | — |
