COCO-Camera
收藏资源简介:
COCO-Camera数据集是COCO数据集(detection-datasets/coco,包含训练集和验证集,约122K张图像,分布在42个分片中)的扩展,为每张图像提供了单目相机参数标注。这些参数由Puffin-World模型预测生成,旨在支持相机中心的理解与生成任务。数据集以.tar文件形式组织,每个分片对应一个.tar文件,内含以COCO 12位图像ID命名的.json文件。每个JSON文件包含五个字段:roll(相机横滚角,单位弧度)、pitch(相机俯仰角,单位弧度)、vfov(垂直视场角,单位弧度)、k1(径向畸变系数,无单位)和parse_ok(指示模型输出是否在有效范围内解析,布尔值)。整个数据集的相机参数分布统计显示:roll集中在0°(表明照片多为水平拍摄),pitch中位数约为-4°(表明COCO场景常向下拍摄物体或人物),垂直视场角中位数约为32°,主要集中在20-45°范围内并带有广角长尾分布。该数据集适用于文本到3D、图像到3D、图像文本到图像、任意到任意等多模态任务,可用于3D视觉、空间AI、物理AI、世界模型等领域的相机参数分析与生成研究。
The COCO-Camera dataset is an extension of the COCO dataset (detection-datasets/coco, which includes training and validation sets with approximately 122K images distributed across 42 chunks). It provides monocular camera parameter annotations for every image. These parameters are predicted and generated by the Puffin-World model, intended to support camera-centric understanding and generation tasks. The dataset is structured in .tar file format, where each chunk corresponds to a .tar file containing JSON files named using the 12-digit COCO image IDs. Each JSON file contains five fields: roll (camera roll angle, unit: radian), pitch (camera pitch angle, unit: radian), vfov (vertical field of view, unit: radian), k1 (radial distortion coefficient, unitless), and parse_ok (a boolean value indicating whether the model's output was parsed within valid ranges). Statistical analysis of the camera parameter distribution across the full dataset reveals that: roll is concentrated around 0°, indicating that most photos are captured horizontally; the median pitch is approximately -4°, meaning COCO scenes are often shot downward towards objects or human subjects; the median vertical field of view is roughly 32°, mainly falling within the 20-45° range with a long-tailed distribution towards wide-angle captures. This dataset is applicable to multimodal tasks including text-to-3D, image-to-3D, image-text-to-image, and arbitrary-to-arbitrary, and can be utilized for camera parameter analysis and generation research in fields such as 3D vision, spatial AI, physical AI, and world models.
数据集名称
COCO-Camera
数据集任务类型
- text-to-3d
- image-to-3d
- image-text-to-image
- any-to-any
数据集标签
- Camera
- 3D Vision
- Spatial AI
- Physical AI
- World Model
- Camera Parameter
- COCO
- Generation
数据集描述
COCO-Camera 为 COCO 数据集(detection-datasets/coco,包含训练集和验证集,约 122K 张图像,分布在 42 个分片中)提供 每张图像的相机参数注释。这些注释由 Puffin-World 模型生成。更多带注释的数据集可访问 Puffin-16M 网站。
数据格式
- 每个源分片对应一个
.tar文件(例如coco_train_00000.tar…coco_train_00039.tar,coco_val_00000.tar,coco_val_00001.tar)。 - 每个
.tar文件内包含按 COCO 12 位图像 ID 命名的.json文件(例如000000000139.json)。 - 每个 JSON 文件包含预测的单目相机参数:
| 字段 | 含义 | 单位 |
|---|---|---|
roll |
相机翻滚角 | 弧度 |
pitch |
相机俯仰角 | 弧度 |
vfov |
垂直视场角 | 弧度 |
k1 |
径向畸变系数 | – |
parse_ok |
模型输出是否在有效范围内解析成功 | bool |
示例 JSON: json {"roll": -0.0104, "pitch": 0.0268, "vfov": 0.9044, "k1": 0.0000, "parse_ok": true}
相机参数分布
- 在全部数据(训练集+验证集,约 122K)上,统计了预测的翻滚角 / 俯仰角 / 垂直视场角的分布(仅包含
parse_ok=True的样本,按每 10° 区间统计比例)。
| 数据划分 | 翻滚角 (roll) 均值 / 中位数 / 标准差 | 俯仰角 (pitch) 均值 / 中位数 / 标准差 | 视场角 (FoV) 均值 / 中位数 / 标准差 |
|---|---|---|---|
| all (122K) | 0.0° / 0.0° / 6.2° | −7.3° / −4.0° / 15.0° | 34.9° / 32.5° / 11.7° |
- 翻滚角 集中在 0°(照片拍摄水平)。
- 俯仰角 明显为负(中位数约 −4°)—— COCO 场景通常以俯视角度拍摄物体/人物。
- 视场角 集中在 20–45°(中位数约 32°),并具有长尾的广角部分。
下载方式
使用以下命令可下载整个数据集: bash hf download KangLiao/COCO-Camera --repo-type dataset
相关资源
- 完整注释流水线:用于为任意数据集注释相机参数、分析分布并可视化相机地图,代码已开源在 GitHub 仓库。
- 其他相关数据集:如需参数分布更均匀多样的数据集,可参考 Puffin-4M 和 Puffin-16M。
引用信息
bibtex @article{liao2025puffin, title={Thinking with Camera: A Unified Multimodal Model for Camera-Centric Understanding and Generation}, author={Liao, Kang and Wu, Size and Wu, Zhonghua and Jin, Linyi and Wang, Chao and Wang, Yikai and Wang, Fei and Li, Wei and Loy, Chen Change}, journal={arXiv preprint arXiv:2510.08673}, year={2025} }




