MMDetection
https://github.com/open-mmlab/mmdetection
配置文件运作方式:
两阶段检测器
单阶段检测器
coco数据集:https://cocodataset.org
coco数据集的标注格式
{
"info" : info,
"images" : [image],
"annotations" : [annotation],
"licenses" : [license],
"categories" : [categories],
}
所有图像的信息存储在一个列表中,每个图
像对应一个 JSON 对象,包含以下字段
image {
"id" : int,
"width" : int,
"height" : int,
"file_name" : str,
"license" : int,
"flickr_url" : str,
"coco_url" : str,
"date_captured" : datetime,
}
所有类别的信息存储在一个列表中,每
个类别包含以下字段:
categories [{
"id" : int,
"name" : str,
"supercategory" : str,
}]
所有标注信息存储在一个列表中,每个标注对应
图像上一个物体标注,包含以下字段
annotation {
"id" : int,
"image_id" : int,
"category_id" : int,
"segmentation" : RLE or [polygon],
"area" : float,
"bbox" : [x,y,width,height],
"iscrowd" : 0 or 1,
}