本文转载自 http://blog.csdn.net/qq_30401249/article/details/72636414
转载,留作笔记
-
{
”
info
”:
{”description”: ”This is stable 1.0 version of the 2014 MS COCO dataset.”,
-
“
url
”:
”http://mscoco.org”,
-
“
version
”:
”1.0”,
-
“
year
”:
2014,
-
“
contributor
”:
”Microsoft COCO group”,
-
“
date_created
”:
”2015-01-27 09:11:52.357475”},
-
”
images
”:
[{”license”: 5,
-
”file_name”: ”COCO_train2014_000000057870.jpg”,
-
”coco_url”: ”http://mscoco.org/images/57870”,
-
”height”: 480,
-
”width”: 640,
-
”date_captured”: ”2013-11-14 16:28:13”,
-
”flickr_url”: ”http://farm4.staticflickr.com/3153/2970773875_164f0c0b83_z.jpg”,
-
”id”: 57870},# image_id
-
{”license”: 5,
-
”file_name”: ”COCO_train2014_000000384029.jpg”,
-
”coco_url”: ”http://mscoco.org/images/384029”,
-
”height”: 429, “width”: 640,
-
”date_captured”: ”2013-11-14 16:29:45”,
-
”flickr_url”: ”http://farm3.staticflickr.com/2422/3577229611_3a3235458a_z.jpg”,
-
”id”: 384029},
-
{”license”: 1,
-
”file_name”: ”COCO_train2014_000000222016.jpg”,
-
”coco_url”: ”http://mscoco.org/images/222016”,
-
”height”: 640,
-
”width”: 480,
-
”date_captured”: ”2013-11-14 16:37:59”,
-
”flickr_url”: ”http://farm2.staticflickr.com/1431/1118526611_09172475e5_z.jpg”,
-
”id”: 222016}
-
{”license”: 4,
-
”file_name”: ”COCO_train2014_000000475546.jpg”,
-
”coco_url”: ”http://mscoco.org/images/475546”,
-
”height”: 375,
-
”width”: 500,
-
”date_captured”: ”2013-11-25 21:20:23”,
-
”flickr_url”: ”http://farm1.staticflickr.com/167/423175046_6cd9d0205a_z.jpg”,
-
”id”: 475546}],
-
”
licenses
”:
[{”url”: ”http://creativecommons.org/licenses/by-nc-sa/2.0/”,
-
”id”: 1,
-
”name”: ”Attribution-NonCommercial-ShareAlike License”},
-
{”url”: ”http://creativecommons.org/licenses/by-nc/2.0/”,
-
”id”: 2,
-
”name”: ”Attribution-NonCommercial License”},
-
{”url”: ”http://creativecommons.org/licenses/by-nc-nd/2.0/”,
-
”id”: 3,
-
”name”: ”Attribution-NonCommercial-NoDerivs License”},
-
{”url”: ”http://creativecommons.org/licenses/by/2.0/”,
-
”id”: 4,
-
”name”: ”Attribution License”},
-
{”url”: ”http://creativecommons.org/licenses/by-sa/2.0/”,
-
”id”: 5,
-
”name”: ”Attribution-ShareAlike License”},
-
{”url”: ”http://creativecommons.org/licenses/by-nd/2.0/”,
-
”id”: 6,
-
”name”: ”Attribution-NoDerivs License”},
-
{”url”: ”http://flickr.com/commons/usage/”,
-
”id”: 7,
-
”name”: ”No known copyright restrictions”},
-
{”url”: ”http://www.usa.gov/copyright.shtml”,
-
”id”: 8,
-
”name”: ”United States Government Work”}],
-
”
annotations
”:
[{”segmentation”: [[312.29, 562.89, 402.25, 232.61, 560.32, 300.72, 571.89]],
-
”area”: 54652.9556,
-
”iscrowd”: 0,
-
”image_id”: 480023,
-
”bbox”: [116.95, 305.86, 285.3, 266.03],
-
”category_id”: 58,
-
”id”: 86}, #这个id表示annotation的id,因为每一个图像有不止一个annotation,所以要对每一个annotation编号
-
{”segmentation”: [[252.46, 208.17, 267.96, 210.11, 208.45]],
-
”area”: 421.47274999999996,
-
”iscrowd”: 0,
-
”image_id”: 50518,
-
”bbox”: [245.54, 208.17, 40.14, 19.1],
-
”category_id”: 58,
-
”id”: 89},
-
{”segmentation”: [[349.66, 143.56, 344.19, 131.38, 352.94, 139.19, 355.13, 139.97, 354.5, 144.34]],
-
”area”: 292.12984999999935,
-
”iscrowd”: 0,
-
”image_id”: 497261,
-
”bbox”: [343.72, 112.63, 17.66, 31.71],
-
”category_id”: 1,
-
”id”: 2232195},
-
{”segmentation”: {”counts”: [69901, 4, 21, 2,470, 12, 468, 13, 467, 12, 468, 12, 468, 12, 469, 10, 471, 8, 474, 4, 73630], “size”: [480, 640]},
-
”area”: 2846,
-
”iscrowd”: 1,
-
”image_id”: 554752,
-
”bbox”: [145, 275, 341, 53],
-
”category_id”: 1,
-
”id”: 900100554752},
-
{”segmentation”: {”counts”: [70375, 8, 415, 12, 411, 391, 34, 391, 34, 391, 35, 149], “size”: [425, 640]},
-
”area”: 7298,
-
”iscrowd”: 1,
-
”image_id”: 350724,
-
”bbox”: [165, 216, 474, 152],
-
”category_id”: 62,
-
”id”: 906200350724},
-
{”segmentation”: {”counts”: [99015, 6, 352, 8, 349, 8, 75781], “size”: [359, 640]},
-
”area”: 6478,
-
”iscrowd”: 1,
-
”image_id”: 554743,
-
”bbox”: [275, 207, 153, 148],
-
”category_id”: 1,
-
”id”: 900100554743},
-
{”segmentation”: {”counts”: [97214, 1, 425, 4, 6531], “size”: [427, 640]},
-
”area”: 3489,
-
”iscrowd”: 1,
-
”image_id”: 95999,
-
”bbox”: [227, 260, 397, 82],
-
”category_id”: 1,
-
”id”: 900100095999}],
-
”
categories
”:
[{”supercategory”: ”person”, “id”: 1, “name”: ”person”}, # 一共80类
-
{”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”}]}
-
{
"
info
":
{"description": "This is stable 1.0 version of the 2014 MS COCO dataset.",
-
"
url
":
"http://mscoco.org",
-
"
version
":
"1.0",
-
"
year
":
2014,
"
contributor
":
"Microsoft COCO group",
-
"
date_created
":
"2015-11-11 02:11:36.777541"},
-
"
images
":
[{"license": 2,
-
"file_name": "COCO_test2014_000000523573.jpg",
-
"coco_url": "http://mscoco.org/images/523573",
-
"height": 500,
-
"width": 423,
-
"date_captured": "2013-11-14 12:21:59",
-
"id": 523573},
-
{"license": 2,
-
"file_name": "COCO_test2014_000000347527.jpg",
-
"coco_url": "http://mscoco.org/images/347527",
-
"height": 480,
-
"width": 640,
-
"date_captured": "2013-11-14 15:12:02",
-
"id": 347527},
-
{"license": 3,
-
"file_name": "COCO_test2014_000000413171.jpg",
-
"coco_url": "http://mscoco.org/images/413171",
-
"height": 333,
-
"width": 500,
-
"date_captured": "2013-11-14 16:40:04",
-
"id": 413171},
-
{"license": 3,
-
"file_name": "COCO_test2014_000000102283.jpg",
-
"coco_url": "http://mscoco.org/images/102283",
-
"height": 640, "width": 425,
-
"date_captured": "2013-11-14 16:45:58",
-
"id": 102283},
-
{"license": 1,
-
"file_name": "COCO_test2014_000000296903.jpg",
-
"coco_url": "http://mscoco.org/images/296903",
-
"height": 480, "width": 640,
-
"date_captured": "2013-11-14 16:52:05",
-
"id": 296903},
-
{"license": 2,
-
"file_name": "COCO_test2014_000000540552.jpg",
-
"coco_url": "http://mscoco.org/images/540552",
-
"height": 500,
-
"width": 333,
-
"date_captured": "2013-11-14 17:01:31",
-
"id": 540552},
-
{"license": 1,
-
"file_name": "COCO_test2014_000000327534.jpg",
-
"coco_url": "http://mscoco.org/images/327534",
-
"height": 480,
-
"width": 640,
-
"date_captured": "2013-11-14 17:38:36",
-
"id": 327534},
-
{"license": 3,
-
"file_name": "COCO_test2014_000000155724.jpg",
-
"coco_url": "http://mscoco.org/images/155724",
-
"height": 640,
-
"width": 480,
-
"date_captured": "2013-11-25 21:24:27",
-
"id": 155724}],
-
"
licenses
":
[{"url": "http://creativecommons.org/licenses/by-nc-sa/2.0/",
-
"id": 1,
-
"name": "Attribution-NonCommercial-ShareAlike License"},
-
{"url": "http://creativecommons.org/licenses/by-nc/2.0/",
-
"id": 2,
-
"name": "Attribution-NonCommercial License"},
-
{"url": "http://creativecommons.org/licenses/by-nc-nd/2.0/",
-
"id": 3,
-
"name": "Attribution-NonCommercial-NoDerivs License"},
-
{"url": "http://creativecommons.org/licenses/by/2.0/",
-
"id": 4,
-
"name": "Attribution License"},
-
{"url": "http://creativecommons.org/licenses/by-sa/2.0/",
-
"id": 5,
-
"name": "Attribution-ShareAlike License"},
-
{"url": "http://creativecommons.org/licenses/by-nd/2.0/",
-
"id": 6,
-
"name": "Attribution-NoDerivs License"},
-
{"url": "http://flickr.com/commons/usage/",
-
"id": 7,
-
"name": "No known copyright restrictions"},
-
{"url": "http://www.usa.gov/copyright.shtml",
-
"id": 8,
-
"name": "United States Government Work"}],
-
"
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"}]}