The labeling config:
<View>
<Image name="image" value="$image" zoom="true" zoomControl="true"/>
<RectangleLabels name="label" toName="image">
<Label value="safe_h" category="0" background="#8ae234"/>
<Label value="n_safe_h" category="1" background="#D4380D"/>
<Label value="safe_b" category="2" background="#729fcf"/>
<Label value="n_safe_b" category="3" background="#fcaf3e"/>
</RectangleLabels>
</View>
Sample tasks
{
"id": 697,
"data": {
"image": "http://192.168.51.22:9000/test_bucket/809c136a-0b0a-4721-9921-c96457dba180.jpg"
},
"annotations": [
{
"id": 593,
"result": [],
"created_username": " , 1",
"created_ago": "5 days, 18 hours",
"completed_by": {
"id": 1,
"first_name": "",
"last_name": "",
"avatar": null,
"email": "",
"initials": "yf"
},
"was_cancelled": false,
"ground_truth": false,
"created_at": "2024-09-17T06:35:00.546917Z",
"updated_at": "2024-09-17T07:05:14.718511Z",
"draft_created_at": null,
"lead_time": 15.008,
"import_id": null,
"last_action": null,
"task": 697,
"project": 2,
"updated_by": 4,
"parent_prediction": null,
"parent_annotation": null,
"last_created_by": null
}
],
"predictions": []
}{
"id": 697,
"data": {
"image": "http://192.168.51.22:9000/test_bucket/809c136a-0b0a-4721-9921-c96457dba180.jpg"
},
"annotations": [
{
"id": 593,
"result": [],
"created_username": ", 1",
"created_ago": "5 days, 18 hours",
"completed_by": {
"id": 1,
"first_name": "",
"last_name": "",
"avatar": null,
"email": "",
"initials": "yf"
},
"was_cancelled": false,
"ground_truth": false,
"created_at": "2024-09-17T06:35:00.546917Z",
"updated_at": "2024-09-17T07:05:14.718511Z",
"draft_created_at": null,
"lead_time": 15.008,
"import_id": null,
"last_action": null,
"task": 697,
"project": 2,
"updated_by": 4,
"parent_prediction": null,
"parent_annotation": null,
"last_created_by": null
}
],
"predictions": []
}
I suspect it is because I added the category tag after I label the project.