KangLiao commited on
Commit
8526f2d
·
verified ·
1 Parent(s): 386fe16

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - text-to-3d
4
+ - image-to-3d
5
+ - image-text-to-image
6
+ - any-to-any
7
+ tags:
8
+ - Camera
9
+ - 3D Vision
10
+ - Spatial AI
11
+ - Physical AI
12
+ - World Model
13
+ - Camera Parameter
14
+ - AP-10K
15
+ - Generation
16
+
17
+ ---
18
+
19
+ # AP-10K-Camera
20
+
21
+ ![camera map collage](analysis/AP-10K-Camera.png)
22
+
23
+ Per-image camera parameter annotations for the **AP-10K** dataset
24
+ (an animal pose estimation benchmark; 10,015 images across 54 species from 23 families), captioned by the [**Puffin-World**](https://github.com/KangLiao929/Puffin) model. More captioned datasets are provided in our [**Puffin-16M**](https://kangliao929.github.io/projects/puffin-16m/) website.
25
+
26
+ The collage above visualizes the camera maps on sample images — each
27
+ pair shows the **up field** (green arrows: the projected gravity-up direction)
28
+ and the **latitude field** (colored contours: angle above/below the horizon).
29
+
30
+ ## Format
31
+
32
+ One `.tar` per shard (`ap10k_0000.tar` … ), each containing one `.json` per
33
+ image whose name matches the source image stem.
34
+
35
+ Each JSON holds the predicted monocular camera parameters:
36
+
37
+ | Field | Meaning | Unit |
38
+ |-------|---------|------|
39
+ | `roll` | camera roll | radians |
40
+ | `pitch` | camera pitch | radians |
41
+ | `vfov` | vertical field-of-view | radians |
42
+ | `k1` | radial distortion coefficient | – |
43
+ | `parse_ok` | whether the model output parsed within valid ranges | bool |
44
+
45
+ Example:
46
+
47
+ ```json
48
+ {"roll": 0.0123, "pitch": -0.1604, "vfov": 0.4620, "k1": 0.0000, "parse_ok": true}
49
+ ```
50
+
51
+ ## Camera Parameter Distributions
52
+
53
+ Histograms of the predicted roll / pitch / vertical-FoV over the whole dataset
54
+ (proportion of valid samples per 10° bin; `parse_ok=False` excluded).
55
+
56
+ ![ap10k camera stats](analysis/ap10k_camera_stats.png)
57
+
58
+ | split | roll μ / med / σ | pitch μ / med / σ | FoV μ / med / σ |
59
+ |-------|------------------|-------------------|-----------------|
60
+ | all (9,999) | 0.4° / 0.2° / 8.1° | −9.2° / −6.1° / 13.9° | 26.5° / 23.2° / 8.3° |
61
+
62
+ - **Roll** is centered at 0° with a moderate spread (σ ≈ 8°).
63
+ - **Pitch** is markedly negative (median ≈ −6°, long downward tail) — animals are
64
+ often photographed from a slightly elevated, downward-looking viewpoint.
65
+ - **FoV** is fairly narrow (median ≈ 23°) — telephoto lenses for wildlife shots.
66
+
67
+ If you'd like a dataset with a more diverse and uniform distribution of camera parameters, please refer to our [Puffin-4M](https://huggingface.co/datasets/KangLiao/Puffin-4M) and [Puffin-16M](https://huggingface.co/datasets/KangLiao/Puffin-16M) datasets.
68
+
69
+ ### Dataset Download
70
+ You can download the entire dataset using the following command:
71
+ ```bash
72
+ hf download KangLiao/AP-10K-Camera --repo-type dataset
73
+ ```
74
+
75
+ ### Caption Pipeline
76
+ Beyond this captioned dataset, we also release **a complete captioning pipeline** for annotating camera parameters for arbitrary datasets, analyzing camera parameter distributions, and visualizing the corresponding camera maps. The pipeline is available in our [GitHub repository](https://github.com/KangLiao929/Puffin).
77
+
78
+
79
+ ### Citation
80
+ If you find the captioned dataset useful for your research or applications, please cite our paper using the following BibTeX:
81
+
82
+ ```bibtex
83
+ @article{liao2025puffin,
84
+ title={Thinking with Camera: A Unified Multimodal Model for Camera-Centric Understanding and Generation},
85
+ 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},
86
+ journal={arXiv preprint arXiv:2510.08673},
87
+ year={2025}
88
+ }
89
+ ```