COCO is a large-scale object detection, segmentation, and captioning dataset.

1. 什么是COCO数据集

  • 官网:http://cocodataset.org/
  • Common Object in COntext (COCO)
  • 分类总数:80
  • 标注类型:3 (object instances,object keypoints,image captions) json 格式

2. 标注文件

使用Python读取出标注文件(json),整个文件实际上是一个dict,如下所示:

{
    "info": info,
    "licenses": [license],
    "images": [image],
    "annotations": [annotation],
    "categories": [category]
}

包含5个字段信息:info, licenses, images, annotationscategories
上面3种标注类型共享的字段信息有:infoimageslicenses
不共享的是annotationscategories这两种字段,他们在不同类型的JSON文件中是不一样的。

3. COCO 类别对照表

index(80)index(90)Category
11person
22bicycle
33car
44motorcycle
55airplane
66bus
77train
88truck
99boat
1010traffic
1111fire
1213stop
1314parking
1415bench
1516bird
1617cat
1718dog
1819horse
1920sheep
2021cow
2122elephant
2223bear
2324zebra
2425giraffe
2527backpack
2628umbrella
2731handbag
2832tie
2933suitcase
3034frisbee
3135skis
3236snowboard
3337sports
3438kite
3539baseball
3640baseball
3741skateboard
3842surfboard
3943tennis
4044bottle
4146wine
4247cup
4348fork
4449knife
4550spoon
4651bowl
4752banana
4853apple
4954sandwich
5055orange
5156broccoli
5257carrot
5358hot
5459pizza
5560donut
5661cake
5762chair
5863couch
5964potted
6065bed
6167dining
6270toilet
6372tv
6473laptop
6574mouse
6675remote
6776keyboard
6877cell
6978microwave
7079oven
7180toaster
7281sink
7382refrigerator
7484book
7585clock
7686vase
7787scissors
7888teddy
7989hair
8090toothbrush
文章目录