Callback Format

{
  "response": {
    "annotations": {
        "url": "https://scaleapi-results.s3.amazonaws.com/5e5dc4a0-1d9b-11e8-bce8-41122de76217"
    }
  },
  "task_id": "",
  "task": { ... }
}
[
  {
    "annotations": [
      {
        "uuid": "26201bd9-72ab-4b63-ab7d-df4e671161b9",
        "type": "box",
        "label": "small vehicle",
        "top": 144,
        "left": 845,
        "height": 168,
        "width": 72,
        "attributes": {
          "moving": "no"
        }
      },
      {
        "uuid": "4fa43f3a-81cf-492f-8b6e-3b7b2c824d05",
        "type": "box",
        "label": "small vehicle",
        "top": 190,
        "left": 330,
        "height": 76,
        "width": 109,
        "attributes": {
          "moving": "yes"
        }
      }
    ]
  },
  {
    "annotations": [
      {
        "uuid": "26201bd9-72ab-4b63-ab7d-df4e671161b9",
        "type": "box",
        "label": "large vehicle",
        "top": 146,
        "left": 830,
        "height": 154,
        "width": 62,
        "attributes": {
          "moving": "yes"
        }
      },
      {
        "uuid": "4fa43f3a-81cf-492f-8b6e-3b7b2c824d05",
        "type": "box",
        "label": "small vehicle",
        "top": 192,
        "left": 289,
        "height": 90,
        "width": 129
        "attributes": {
          "moving": "no"
        }
      }
    ]
  }
]

Video Annotation Response Format

The annotations file will be stored on S3 and will be a JSON encoded list of Annotation objects per frame (see below). The index of each annotation list will correspond to the frame defined in the original response.

The order of the annotations lists will correspond directly to the order of the frame attachments that you sent in your original request. That is, the first annotation list will correspond to the first frame in the attachments array, etc.

Once the JSON file is reviewed and uploaded, we will send a response to your callback URL.