DocumentationRecipesReferenceGraphQLChangelog
Log In

Object detection job template

"OBJECT_RELATION_JOB": {
      "content": {
        "categories": {
          "C": {
            "children": [],
            "color": "#D33BCE",
            "name": "C",
            "id": "category159",
            "startObjects": [
              "A"
            ],
            "endObjects": [
              "B"
            ]
          }
        },
        "input": "radio"
      },
      "instruction": "<instruction>",
      "mlTask": "OBJECT_RELATION",
      "required": 1,
      "isChild": false,
      "isNew": true
    }

For general information on the JSON structure, refer to Generic JSON template.

For information on how to use object relation in real-life labeling projects, refer to Object/entity relation jobs.

Job-specific settings

ParameterValueDescription
mlTask"OBJECT_RELATION"N/A
input"radio"N/A
startObjects<array of objects>List of FROM categories in a relation
endObjects<list of objects>List of TO categories in a relation

For information on how the object relation jobs look in the exported jsonResponse, refer to The structure of jsonResponse for exported object/entity detection and relation jobs.