Download OpenAPI specification:Download
欢迎来到星尘数据,这里是我们的导入导出数据结构文档
[中文版本] [English Version]
请以以下格式给到数据,这将方便我们以最快的速度进行数据适配
适用于单帧以及连续帧, .json 文件为每个相机的独立参数,可配置内容参照 相机参数 部分
-data_root
-Camera1
1620724790.jpg
1620724791.jpg
...
Camera1.json
-Camera2
1620724790.jpg
1620724791.jpg
...
Camera2.json
-Camera3
1620724790.jpg
1620724791.jpg
...
Camera3.json
-Lidar
1620724790.pcd
1620724791.pcd
...
坐标系说明:采用激光雷达坐标系,以自车正前向为x轴正方向的右手系,如果参数坐标系与其不对应则需要进行坐标变换之后给到
外参采用激光雷达坐标系下,相机相对于激光雷达的转换矩阵或者具体参数,如果是雷达相对于相机坐标系的外参矩阵,则需要经过求逆变换处理再给到,以加速数据适配流程
为对应相机文件夹命名的json文件, 内容为 拆解后的具体参数
fov | number |
required | object (CameraHeading) 相机朝向,相对点云文件中的原点 (0, 0, 0) 的朝向,四元数 |
required | object (CameraIntrinsicParameter) 相机内参 |
matrix | Array of numbers[ items ] Bev 映射矩阵 |
maxz | number |
minz | number |
required | object (PointCloudCoordinate) 相机位置,相对点云文件中的原点 (0, 0, 0) 的位置 |
projection | Array of numbers[ items ] |
required | object (CameraRadial) 相机径向畸变参数 |
skew required | number 相机扭曲因子 |
required | object (CameraTangential) 相机切向畸变参数 |
type required | string (CameraType) Enum: "PinHole" "Fisheye" "OmniDirectional" "Bev" 相机类型 |
unProjection | Array of numbers[ items ] |
{- "type": "PinHole",
- "heading": {
- "w": 0.9998965768815161,
- "x": -0.008695232232469284,
- "y": -0.006971205169862502,
- "z": 0.009090147167644433
}, - "position": {
- "x": 0.09735360749789024,
- "y": -0.006173595037573754,
- "z": -0.474067813586117
}, - "intrinsic": {
- "fx": 8333.333333,
- "fy": 8333.33333,
- "cx": 959.5,
- "cy": 539.5
}, - "skew": 0,
- "radial": {
- "k1": 0,
- "k2": 0,
- "k3": 0,
- "k4": 0
}, - "tangential": {
- "p1": 0,
- "p2": 0
}, - "imageWidth": 1080,
- "imageHeight": 960
}
required | object (PointCloudSource) 单帧点云数据源 |
attachmentType required | string 单帧点云输入类型为POINTCLOUD Value: "POINTCLOUD" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (PointCloudDataRecordMetadata) 点云标注可能用到的 metadata 信息 |
{- "attachmentType": "POINTCLOUD",
- "metadata": {
- "uniqueIdentifier": "3c665b98-6594-45a7-8722-ecce0d225589"
}, - "attachment": {
- "coordinate": {
- "camera_height": 2
}, - "scopeLimit": [
- {
- "radius": 100,
- "type": "circle"
}
], - "imageSources": [
- {
- "name": "front_camera",
- "width": 1920,
- "height": 1080,
- "camera": {
- "type": "PinHole",
- "heading": {
- "w": 0.9998965768815161,
- "x": -0.008695232232469284,
- "y": -0.006971205169862502,
- "z": 0.009090147167644433
}, - "position": {
- "x": 0.09735360749789024,
- "y": -0.006173595037573754,
- "z": -0.474067813586117
}, - "intrinsic": {
- "fx": 8333.333333,
- "fy": 8333.33333,
- "cx": 959.5,
- "cy": 539.5
}, - "skew": 0,
- "radial": {
- "k1": 0,
- "k2": 0,
- "k3": 0,
- "k4": 0
}, - "tangential": {
- "p1": 0,
- "p2": 0
}
}
}, - {
- "name": "back_camera",
- "width": 1920,
- "height": 1080,
- "camera": {
- "type": "PinHole",
- "heading": {
- "w": 0.9998965768815161,
- "x": -0.008695232232469284,
- "y": -0.006971205169862502,
- "z": 0.009090147167644433
}, - "position": {
- "x": 0.09735360749789024,
- "y": -0.006173595037573754,
- "z": -0.474067813586117
}, - "intrinsic": {
- "fx": 8333.333333,
- "fy": 8333.33333,
- "cx": 959.5,
- "cy": 539.5
}, - "skew": 0,
- "radial": {
- "k1": 0,
- "k2": 0,
- "k3": 0,
- "k4": 0
}, - "tangential": {
- "p1": 0,
- "p2": 0
}
}
}
]
}
}
required | Array of objects (PointCloudSource) [ items ] 点云序列数据源 |
attachmentType required | string 点云序列输入类型为POINTCLOUD_SEQUENCE Value: "POINTCLOUD_SEQUENCE" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (PointCloudDataRecordMetadata) 点云标注可能用到的 metadata 信息 |
{- "attachmentType": "POINTCLOUD_SEQUENCE",
- "metadata": {
- "uniqueIdentifier": "3c665b98-6594-45a7-8722-ecce0d225589"
}, - "attachment": [
- {
- "coordinate": {
- "camera_height": 2
}, - "scopeLimit": [
- {
- "radius": 100,
- "type": "circle"
}
], - "imageSources": [
- {
- "name": "front_camera",
- "width": 1920,
- "height": 1080,
- "camera": {
- "type": "PinHole",
- "heading": {
- "w": 0.9998965768815161,
- "x": -0.008695232232469284,
- "y": -0.006971205169862502,
- "z": 0.009090147167644433
}, - "position": {
- "x": 0.09735360749789024,
- "y": -0.006173595037573754,
- "z": -0.474067813586117
}, - "intrinsic": {
- "fx": 8333.333333,
- "fy": 8333.33333,
- "cx": 959.5,
- "cy": 539.5
}, - "skew": 0,
- "radial": {
- "k1": 0,
- "k2": 0,
- "k3": 0
}, - "tangential": {
- "p1": 0,
- "p2": 0
}
}
}, - {
- "name": "back_camera",
- "width": 1920,
- "height": 1080,
- "camera": {
- "type": "PinHole",
- "heading": {
- "w": -0.469990267059842,
- "x": 0.5172219537574251,
- "y": 0.5271245940295847,
- "z": -0.4834565769430754
}, - "position": {
- "x": -0.2117782455635122,
- "y": 0.007687532381660913,
- "z": -0.1444383493927902
}, - "intrinsic": {
- "fx": 2028.8960860456893,
- "fy": 2021.943976185738,
- "cx": 975.0867262748408,
- "cy": 542.1191224289227
}, - "skew": 0,
- "radial": {
- "k1": -0.3800943983127283,
- "k2": 0.1714931036510359,
- "k3": -0.001999524932595834
}, - "tangential": {
- "p1": 0.0005520383017090625,
- "p2": 0
}
}
}
]
}, - {
- "coordinate": {
- "camera_height": 2
}, - "scopeLimit": [
- {
- "radius": 100,
- "type": "circle"
}
], - "imageSources": [
- {
- "name": "front_camera",
- "width": 1920,
- "height": 1080,
- "camera": {
- "type": "PinHole",
- "heading": {
- "w": 0.9998965768815161,
- "x": -0.008695232232469284,
- "y": -0.006971205169862502,
- "z": 0.009090147167644433
}, - "position": {
- "x": 0.09735360749789024,
- "y": -0.006173595037573754,
- "z": -0.474067813586117
}, - "intrinsic": {
- "fx": 8333.333333,
- "fy": 8333.33333,
- "cx": 959.5,
- "cy": 539.5
}, - "skew": 0,
- "radial": {
- "k1": 0,
- "k2": 0,
- "k3": 0
}, - "tangential": {
- "p1": 0,
- "p2": 0
}
}
}, - {
- "name": "back_camera",
- "width": 1920,
- "height": 1080,
- "camera": {
- "type": "PinHole",
- "heading": {
- "w": -0.469990267059842,
- "x": 0.5172219537574251,
- "y": 0.5271245940295847,
- "z": -0.4834565769430754
}, - "position": {
- "x": -0.2117782455635122,
- "y": 0.007687532381660913,
- "z": -0.1444383493927902
}, - "intrinsic": {
- "fx": 2028.8960860456893,
- "fy": 2021.943976185738,
- "cx": 975.0867262748408,
- "cy": 542.1191224289227
}, - "skew": 0,
- "radial": {
- "k1": -0.3800943983127283,
- "k2": 0.1714931036510359,
- "k3": -0.001999524932595834
}, - "tangential": {
- "p1": 0.0005520383017090625,
- "p2": 0
}
}
}
]
}
]
}
required | string or ImageSourceEntity (object) or Array of ImageSourceEntity (objects) (ImageSource) 单帧图片输入数据链接 |
attachmentType required | string 单帧图片输入类型为IMAGE Value: "IMAGE" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (ImageDataRecordMetadata) 图片标注可能用到的 metadata 信息 |
{- "attachmentType": "IMAGE",
- "metadata": {
- "uniqueIdentifier": "9ba65dab-4614-4601-8df1-2885178862be",
- "size": {
- "width": 1800,
- "height": 740
}
}
}
required | Array of strings or ImageSourceEntity (object) or Array of ImageSourceEntity (objects) (ImageSource) [ items ] 图片序列输入数据链接,为一个有序的Array |
attachmentType required | string 图片序列输入类型为IMAGE_SEQUENCE Value: "IMAGE_SEQUENCE" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (ImageDataRecordMetadata) 图片标注可能用到的 metadata 信息 |
{- "attachmentType": "IMAGE_SEQUENCE",
- "metadata": {
- "additionalInfo": {
- "key-0": "df81acdb-991f-4938-afdd-b2826a0a7bf0"
}, - "size": {
- "width": 1080,
- "height": 1920
}
}
}
attachment required | string 视频数据链接 |
attachmentType required | string 视频数据类型为VIDEO Value: "VIDEO" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (VideoDataRecordMetadata) 视频标注可能用到的 metadata 信息 |
{- "attachmentType": "VIDEO",
- "metadata": {
- "uniqueIdentifier": "4eee1a1c-e35e-40c9-97f7-a0f309f5b1ca",
- "fps": 1,
- "duration": 100
}
}
attachment required | string 文本数据链接 |
attachmentType required | string 文本数据类型为TEXT Value: "TEXT" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (TextDataRecordMetadata) 文本标注可能用到的 metadata 信息 |
{- "attachmentType": "TEXT",
- "metadata": {
- "uniqueIdentifier": "d600977d-4c0d-401a-9cc6-3577f095e495",
- "title": "实例文章 96450.4808866211"
}
}
attachment required | string 音频数据链接 |
attachmentType required | string 音频数据类型为AUDIO Value: "AUDIO" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (AudioDataRecordMetadata) 音频标注可能用到的 metadata 信息 |
{- "attachmentType": "AUDIO",
- "metadata": {
- "uniqueIdentifier": "d600977d-4c0d-401a-9cc6-3577f095e495",
- "title": "雅俗共赏"
}
}
required | string or ImageSourceEntity (object) or Array of ImageSourceEntity (objects) (ImageSource) 单帧图片输入数据链接 |
attachmentType required | string 单帧图片输入类型为IMAGE Value: "IMAGE" |
extraInfoUrls | Array of strings 额外参考信息,可以为 url 链接或文字,需要是一个Array |
object (ImageDataRecordMetadata) 图片标注可能用到的 metadata 信息 |
{- "attachmentType": "IMAGE",
- "metadata": {
- "uniqueIdentifier": "9ba65dab-4614-4601-8df1-2885178862be",
- "size": {
- "width": 1800,
- "height": 740
}, - "preprocessedData": {
- "annotations": [
- {
- "key": "box2d-[3872a]",
- "label": "梨",
- "type": "slot",
- "slots": [ ]
}, - {
- "key": "box2d-[69de2]",
- "label": "苹果",
- "type": "slot",
- "slots": [ ]
}, - {
- "key": "box2d-[452ed]",
- "label": "香蕉",
- "type": "slot",
- "slots": [ ]
}, - {
- "key": "box2d-[ae65e]",
- "label": "橘子",
- "type": "slot",
- "slots": [
- {
- "id": "0b9fc4a3-4ff1-4bfa-bd2f-4f94d66cc9a8",
- "type": "box2d",
- "label": "橘子",
- "plane": {
- "topLeft": {
- "x": 667.8271812080536,
- "y": 20.385906040268456
}, - "topRight": {
- "x": 989.4714765100671,
- "y": 20.385906040268456
}, - "bottomRight": {
- "x": 989.4714765100671,
- "y": 283.13758389261744
}, - "bottomLeft": {
- "x": 667.8271812080536,
- "y": 283.13758389261744
}
}
}, - {
- "id": "92c67a72-4dc6-44af-bbed-cd6f407d2765",
- "type": "box2d",
- "label": "橘子",
- "plane": {
- "topLeft": {
- "x": 1055.1593959731542,
- "y": 63.42281879194631
}, - "topRight": {
- "x": 1381.3338926174495,
- "y": 63.42281879194631
}, - "bottomRight": {
- "x": 1381.3338926174495,
- "y": 369.21140939597313
}, - "bottomLeft": {
- "x": 1055.1593959731542,
- "y": 369.21140939597313
}
}
}, - {
- "id": "072e526b-7c05-4a7e-a6c1-c582b9d80de5",
- "type": "box2d",
- "label": "橘子",
- "plane":