Image Segmentation Hypothesis

When creating a segmentannotation task, you can provide prelabels in the hypothesis field, so that workers don't have to start from scratch to annotate the image..

The schema of the hypothesis must match that of the task response. The two required components of the response will be the labelMapping and the annotations.combined.indexedImage parameter.

{
  ...
  "attachment": "https://i.imgur.com/iDZcXfS.png",
  "hypothesis": {
    "labelMapping": {
      "person": {
        "index": 1
      }
    },
    "annotations": {
      "combined": {
        "indexedImage": "https://example.com/mask.png"
      }
    }
  },
  ...
}