Skip to content

Instantly share code, notes, and snippets.

@srishilesh
Created February 28, 2022 17:09
Show Gist options
  • Save srishilesh/b3b5028ba9e1f3ec409806e93a407db4 to your computer and use it in GitHub Desktop.
Save srishilesh/b3b5028ba9e1f3ec409806e93a407db4 to your computer and use it in GitHub Desktop.
Sample COCO dataset
{
"images": [{
"file_name": "10.1.1.1.2006_3.bmp",
"height": 1123,
"width": 793,
"id": "10.1.1.1.2006_3"
}],
"type": "instances",
"annotations": [{
"area": 4560,
"iscrowd": 0,
"bbox": [457, 709, 60, 76],
"category_id": 1,
"ignore": 0,
"segmentation": [
[457, 709, 457, 76, 60, 76, 60, 709]
],
"image_id": "10.1.1.1.2006_3",
"id": 1
}, {
"area": 4560,
"iscrowd": 0,
"bbox": [457, 709, 60, 76],
"category_id": 2,
"ignore": 0,
"segmentation": [
[457, 709, 457, 76, 60, 76, 60, 709]
],
"image_id": "10.1.1.1.2006_3",
"id": 2
}],
"categories": [{
"supercategory": "none",
"id": 1,
"name": "column"
}, {
"supercategory": "none",
"id": 2,
"name": "row"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment