Last active
September 23, 2020 13:22
-
-
Save dbersan/b376f40feeaada892f63091b366a5fd2 to your computer and use it in GitHub Desktop.
coco format example for object detection and semantic segmentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "description": "COCO 2017 Dataset", | |
| "url": "http://cocodataset.org", | |
| "version": "1.0", | |
| "year": 2017, | |
| "contributor": "COCO Consortium", | |
| "date_created": "2017/09/01" | |
| }, | |
| "images": [ | |
| { | |
| "license": 4, | |
| "file_name": "000000397133.jpg", | |
| "coco_url": "http://images.cocodataset.org/val2017/000000397133.jpg", | |
| "height": 427, | |
| "width": 640, | |
| "date_captured": "2013-11-14 17:02:52", | |
| "flickr_url": "http://farm7.staticflickr.com/6116/6255196340_da26cf2c9e_z.jpg", | |
| "id": 397133 | |
| }, | |
| { | |
| "license": 1, | |
| "file_name": "000000037777.jpg", | |
| "coco_url": "http://images.cocodataset.org/val2017/000000037777.jpg", | |
| "height": 230, | |
| "width": 352, | |
| "date_captured": "2013-11-14 20:55:31", | |
| "flickr_url": "http://farm9.staticflickr.com/8429/7839199426_f6d48aa585_z.jpg", | |
| "id": 37777 | |
| } | |
| ], | |
| "annotations": [ | |
| { | |
| "segmentation": [ | |
| [ | |
| 0.0, | |
| 503.5, | |
| 21.89, | |
| 1.29, | |
| 627.12, | |
| 2.58, | |
| 513.8 | |
| ] | |
| ], | |
| "area": 702.1057499999998, | |
| "iscrowd": 0, | |
| "image_id": 289343, | |
| "bbox": [ | |
| 473.07, | |
| 395.93, | |
| 38.65, | |
| 28.67 | |
| ], | |
| "category_id": 18, | |
| "id": 1768 | |
| }, | |
| { | |
| "segmentation": [ | |
| [ | |
| 289.74, | |
| 443.39, | |
| 302.29, | |
| 445.32, | |
| 308.09, | |
| 427.94, | |
| 310.02, | |
| 416.35, | |
| 304.23, | |
| 405.73, | |
| 300.14, | |
| 385.01, | |
| 298.23 | |
| ] | |
| ], | |
| "area": 27718.476299999995, | |
| "iscrowd": 0, | |
| "image_id": 61471, | |
| "bbox": [ | |
| 272.1, | |
| 200.23, | |
| 151.97, | |
| 279.77 | |
| ], | |
| "category_id": 18, | |
| "id": 1773 | |
| }, | |
| { | |
| "area": 78969.31690000003, | |
| "iscrowd": 0, | |
| "image_id": 472375, | |
| "bbox": [ | |
| 124.71, | |
| 196.18, | |
| 372.85, | |
| 356.81 | |
| ], | |
| "category_id": 18, | |
| "id": 2551 | |
| }, | |
| { | |
| "area": 108316.66515000002, | |
| "iscrowd": 0, | |
| "image_id": 520301, | |
| "bbox": [ | |
| 112.71, | |
| 154.82, | |
| 367.29, | |
| 479.35 | |
| ], | |
| "category_id": 18, | |
| "id": 3186 | |
| } | |
| ], | |
| "categories": [ | |
| { | |
| "supercategory": "person", | |
| "id": 1, | |
| "name": "person" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 2, | |
| "name": "bicycle" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 3, | |
| "name": "car" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 4, | |
| "name": "motorcycle" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 5, | |
| "name": "airplane" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 6, | |
| "name": "bus" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 7, | |
| "name": "train" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 8, | |
| "name": "truck" | |
| }, | |
| { | |
| "supercategory": "vehicle", | |
| "id": 9, | |
| "name": "boat" | |
| }, | |
| { | |
| "supercategory": "outdoor", | |
| "id": 10, | |
| "name": "traffic light" | |
| }, | |
| { | |
| "supercategory": "outdoor", | |
| "id": 11, | |
| "name": "fire hydrant" | |
| }, | |
| { | |
| "supercategory": "outdoor", | |
| "id": 13, | |
| "name": "stop sign" | |
| }, | |
| { | |
| "supercategory": "outdoor", | |
| "id": 14, | |
| "name": "parking meter" | |
| }, | |
| { | |
| "supercategory": "outdoor", | |
| "id": 15, | |
| "name": "bench" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 16, | |
| "name": "bird" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 17, | |
| "name": "cat" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 18, | |
| "name": "dog" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 19, | |
| "name": "horse" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 20, | |
| "name": "sheep" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 21, | |
| "name": "cow" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 22, | |
| "name": "elephant" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 23, | |
| "name": "bear" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 24, | |
| "name": "zebra" | |
| }, | |
| { | |
| "supercategory": "animal", | |
| "id": 25, | |
| "name": "giraffe" | |
| }, | |
| { | |
| "supercategory": "accessory", | |
| "id": 27, | |
| "name": "backpack" | |
| }, | |
| { | |
| "supercategory": "accessory", | |
| "id": 28, | |
| "name": "umbrella" | |
| }, | |
| { | |
| "supercategory": "accessory", | |
| "id": 31, | |
| "name": "handbag" | |
| }, | |
| { | |
| "supercategory": "accessory", | |
| "id": 32, | |
| "name": "tie" | |
| }, | |
| { | |
| "supercategory": "accessory", | |
| "id": 33, | |
| "name": "suitcase" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 34, | |
| "name": "frisbee" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 35, | |
| "name": "skis" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 36, | |
| "name": "snowboard" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 37, | |
| "name": "sports ball" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 38, | |
| "name": "kite" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 39, | |
| "name": "baseball bat" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 40, | |
| "name": "baseball glove" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 41, | |
| "name": "skateboard" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 42, | |
| "name": "surfboard" | |
| }, | |
| { | |
| "supercategory": "sports", | |
| "id": 43, | |
| "name": "tennis racket" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 44, | |
| "name": "bottle" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 46, | |
| "name": "wine glass" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 47, | |
| "name": "cup" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 48, | |
| "name": "fork" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 49, | |
| "name": "knife" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 50, | |
| "name": "spoon" | |
| }, | |
| { | |
| "supercategory": "kitchen", | |
| "id": 51, | |
| "name": "bowl" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 52, | |
| "name": "banana" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 53, | |
| "name": "apple" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 54, | |
| "name": "sandwich" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 55, | |
| "name": "orange" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 56, | |
| "name": "broccoli" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 57, | |
| "name": "carrot" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 58, | |
| "name": "hot dog" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 59, | |
| "name": "pizza" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 60, | |
| "name": "donut" | |
| }, | |
| { | |
| "supercategory": "food", | |
| "id": 61, | |
| "name": "cake" | |
| }, | |
| { | |
| "supercategory": "furniture", | |
| "id": 62, | |
| "name": "chair" | |
| }, | |
| { | |
| "supercategory": "furniture", | |
| "id": 63, | |
| "name": "couch" | |
| }, | |
| { | |
| "supercategory": "furniture", | |
| "id": 64, | |
| "name": "potted plant" | |
| }, | |
| { | |
| "supercategory": "furniture", | |
| "id": 65, | |
| "name": "bed" | |
| }, | |
| { | |
| "supercategory": "furniture", | |
| "id": 67, | |
| "name": "dining table" | |
| }, | |
| { | |
| "supercategory": "furniture", | |
| "id": 70, | |
| "name": "toilet" | |
| }, | |
| { | |
| "supercategory": "electronic", | |
| "id": 72, | |
| "name": "tv" | |
| }, | |
| { | |
| "supercategory": "electronic", | |
| "id": 73, | |
| "name": "laptop" | |
| }, | |
| { | |
| "supercategory": "electronic", | |
| "id": 74, | |
| "name": "mouse" | |
| }, | |
| { | |
| "supercategory": "electronic", | |
| "id": 75, | |
| "name": "remote" | |
| }, | |
| { | |
| "supercategory": "electronic", | |
| "id": 76, | |
| "name": "keyboard" | |
| }, | |
| { | |
| "supercategory": "electronic", | |
| "id": 77, | |
| "name": "cell phone" | |
| }, | |
| { | |
| "supercategory": "appliance", | |
| "id": 78, | |
| "name": "microwave" | |
| }, | |
| { | |
| "supercategory": "appliance", | |
| "id": 79, | |
| "name": "oven" | |
| }, | |
| { | |
| "supercategory": "appliance", | |
| "id": 80, | |
| "name": "toaster" | |
| }, | |
| { | |
| "supercategory": "appliance", | |
| "id": 81, | |
| "name": "sink" | |
| }, | |
| { | |
| "supercategory": "appliance", | |
| "id": 82, | |
| "name": "refrigerator" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 84, | |
| "name": "book" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 85, | |
| "name": "clock" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 86, | |
| "name": "vase" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 87, | |
| "name": "scissors" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 88, | |
| "name": "teddy bear" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 89, | |
| "name": "hair drier" | |
| }, | |
| { | |
| "supercategory": "indoor", | |
| "id": 90, | |
| "name": "toothbrush" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ignored licenses