# 点云标注数据集文件说明

# OCTOPUS格式文件基本要求(点云标注)

上传的OCTOPUS格式数据集需包含以下文件。

.
├─ 时间戳
    ├─ 时间戳.pcd         #该时间戳对应的已标注点云图像
    ├─ cam0-时间戳.jpg    #该时间戳点云图像对应的已标注图片
    ├─ 时间戳.json        #该时间戳内该标注图像的所有标注信息

# 标注数据.json文件说明

数据集中必含“.json”文件,用以集合该时间戳已标注图片的所有标注数据信息,包括该图片所在的项目id、数据包id、图片上所有标注框信息等。上传数据集前请保证“.json”文件内容正确。您可参考以下样例编写“.json”文件。

{
	"plate_no": "cid-ZED",
#车辆标识
	"project_id": "08229abd258026572f24c01899c784ae",
#资源域ID
	"sample_type": "POINT_CLOUD",
#标注样本类型:点云
	"create_time": 1612160679181,
#标注创建时间
	"range_score": -1.0,
	"des_order": "0cid-ZED",
#标注描述
	"label_counts": [{
#标注对象类型的个数统计
		"label_num": 1,
		"label_meta_color": "#D8E366",
		"label_meta_desc": "环宇",
		"label_meta_shape": "cube_3d",
		"label_meta_attr": "{\"类别\":\"锥桶,水马,三脚架,施工牌,棚栏,垃圾桶可移动\",\"截断\":\"无截断,0-15%,15-30%,30-50%,50%以上\",\"遮挡\":\"无遮挡,0-25%,25-50%,50%以上\",\"位置场景\":\"高速路,城市道路,园区道路,露天停车场,地下停车场,隧道\"}",
		"label_meta_id": 823,
		"label_meta_name": "交通路障"
	}],
	"label_update_time": 1612342965199,
#标注任务更新时间
	"label_mode": "manual",
#标注类型:auto和manual两种
	"calibration_id": "1",
#标定ID
	"label_task_id": "30938",
#标注任务ID
	"status": "labeled",
#标注任务状态:unlabeled、labeled、unconfirmed、confirmed、all五种
	"image_meta_infos": [{
#图片属性信息,包含标定项id、图片名称、传感器类型、图片大小、图片源的obs路径url、时间戳
		"source": "https://octopus-data-upload.obs.cn-north-4.myhuaweicloud.com/ZED/ut-20210130/cid-ZED/zed_data_20210128/stream/zed_data_20210128/camera/zed_front/000040.jpg",
#样本来源
		"size": {
#图片尺寸
			"height": 720,
			"width": 1280,
			"depth": 3
		},
		"calibration_item_id": 272,
#标定项ID
		"name": "zed_front-000040.jpg",
#名称
		"sensor": "zed_front",
#传感器类型
		"timestamp": 40
#时间戳
	}, {
		"source": "https://octopus-data-upload.obs.cn-north-4.myhuaweicloud.com/ZED/ut-20210130/cid-ZED/zed_data_20210128/stream/zed_data_20210128/camera/zed_left/000040.jpg",
		"size": {
			"height": 720,
			"width": 1280,
			"depth": 3
		},
		"calibration_item_id": 273,
		"name": "zed_left-000040.jpg",
		"sensor": "zed_left",
		"timestamp": 40
	}, {
		"source": "https://octopus-data-upload.obs.cn-north-4.myhuaweicloud.com/ZED/ut-20210130/cid-ZED/zed_data_20210128/stream/zed_data_20210128/camera/zed_right/000040.jpg",
		"size": {
			"height": 720,
			"width": 1280,
			"depth": 3
		},
		"calibration_item_id": 274,
		"name": "zed_right-000040.jpg",
		"sensor": "zed_right",
		"timestamp": 40
	}, {
		"source": "https://octopus-data-upload.obs.cn-north-4.myhuaweicloud.com/ZED/ut-20210130/cid-ZED/zed_data_20210128/stream/zed_data_20210128/camera/zed_back/000040.jpg",
		"size": {
			"height": 720,
			"width": 1280,
			"depth": 3
		},
		"calibration_item_id": 275,
		"name": "zed_back-000040.jpg",
		"sensor": "zed_back",
		"timestamp": 40
	}],
	"valid": true,
	"difficult": false,
	"label_user_ids": ["083e18da7e80f4a21f58c018f20d0a78"],
	"labels": [{
		"cube_3d": {
			"orientation": 5.51524043630209,
			"alpha": -0.5698949906405287,
			"serial_number": 9,
			"bndboxs": [{
				"source": "https://octopus-data-upload.obs.cn-north-4.myhuaweicloud.com/ZED/ut-20210130/cid-ZED/zed_data_20210128/stream/zed_data_20210128/camera/zed_left/000040.jpg",
				"attribute": "{\"类别\":\"锥桶\",\"截断\":\"无截断\",\"遮挡\":\"无遮挡\",\"位置场景\":\"园区道路\"}",
				"bndbox": {
					"ymin": 174.36647,
					"ymax": 216.51205,
					"xmax": 1094.769,
					"xmin": 1063.8838
				},
				"label_meta_color": "",
				"serial_number": 9,
				"inspection": {
					"miss_label_error": false,
					"extra_label_error": false,
					"classification_error": false,
					"vehicle_direction_error": false,
					"attribute_error": false,
					"anchor_error": false,
					"correct_label": true,
					"out_range_label_error": false
				},
				"sensor": "zed_left",
				"label_meta_id": 823,
				"label_meta_name": ""
			}],
			"location": {
				"z": -2.0700941289224364,
				"x": 10.01667198665094,
				"y": -6.369554731981091
			},
			"attribute": "{}",
			"dimensions": {
				"width": 0.2506572023444098,
				"length": 0.24090910048195813,
				"height": 0.453033628349924
			}
		},
		"name": "交通路障",
		"serial_number": 0,
		"inspection": {
			"miss_label_error": false,
			"extra_label_error": false,
			"classification_error": false,
			"vehicle_direction_error": false,
			"attribute_error": false,
			"anchor_error": false,
			"correct_label": true,
			"out_range_label_error": false
		},
		"shape_type": "cube_3d",
		"label_meta_id": 823,
		"label_object_id": 0
	}],
	"inspect_user_ids": ["083e18da7e80f4a21f58c018f20d0a78"],
	"point_cloud_meta_info": {
#3D点云的标注属性信息,包含标定项id、图片名称、传感器类型、图片大小、图片源的obs路径url、时间戳
		"source": "https://octopus-data-upload.obs.cn-north-4.myhuaweicloud.com/ZED/ut-20210130/cid-ZED/zed_data_20210128/stream/zed_data_20210128/lidar/lidar_hesai/000040.pcd",
		"size": 57938,
		"calibration_item_id": 276,
#标定项ID
		"name": "000040.pcd",
#名称
		"sensor": "lidar_hesai",
#传感器类型
		"timestamp": 1612160679181
#时间戳
	},
	"tags": [62, 45]
}
上次更新: 4/21/2021, 6:14:46 PM