yhl826459 commited on
Commit
4139386
·
verified ·
1 Parent(s): e1c5d32

Stage RHD shared-v1.1 1071/1071

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_21319.png +3 -0
  2. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23073.png +3 -0
  3. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23469.png +3 -0
  4. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_28259.png +3 -0
  5. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_39758.png +3 -0
  6. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_40491.png +3 -0
  7. RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_41179.png +3 -0
  8. RHD/shared-v1.1/doc/history-v1.0/validation/index.html +1 -0
  9. RHD/shared-v1.1/doc/history-v1.0/validation/training_03306.png +3 -0
  10. RHD/shared-v1.1/doc/history-v1.0/validation/training_07689.png +3 -0
  11. RHD/shared-v1.1/doc/history-v1.0/validation/training_10098.png +3 -0
  12. RHD/shared-v1.1/doc/history-v1.0/validation/training_20189.png +3 -0
  13. RHD/shared-v1.1/doc/history-v1.0/validation/training_23073.png +3 -0
  14. RHD/shared-v1.1/doc/history-v1.0/validation/training_28259.png +3 -0
  15. RHD/shared-v1.1/doc/history-v1.0/validation/training_29103.png +3 -0
  16. RHD/shared-v1.1/doc/history-v1.0/validation/training_39758.png +3 -0
  17. RHD/shared-v1.1/doc/history-v1.0/validation/training_40491.png +3 -0
  18. RHD/shared-v1.1/doc/history-v1.0/validation/training_41179.png +3 -0
  19. RHD/shared-v1.1/doc/history-v1.0/validation/training_41256.png +3 -0
  20. RHD/shared-v1.1/doc/history-v1.0/validation/training_41257.png +3 -0
  21. RHD/shared-v1.1/doc/schema.json +1590 -0
  22. RHD/shared-v1.1/doc/validation/V1_1_VALIDATION.json +0 -0
  23. RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.html +0 -0
  24. RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.report.json +258 -0
  25. RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.html +0 -0
  26. RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.report.json +258 -0
  27. RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.html +0 -0
  28. RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.report.json +258 -0
  29. RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.html +0 -0
  30. RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.report.json +258 -0
  31. RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.html +0 -0
  32. RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.report.json +258 -0
  33. RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.html +0 -0
  34. RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.report.json +258 -0
  35. RHD/shared-v1.1/doc/validation/index.html +1 -0
  36. RHD/shared-v1.1/doc/validation/read_sequence_sweep.json +0 -0
  37. RHD/shared-v1.1/doc/validation/training_00009728_camera.html +0 -0
  38. RHD/shared-v1.1/doc/validation/training_00009728_camera.report.json +258 -0
  39. RHD/shared-v1.1/doc/validation/training_00011264_camera.html +0 -0
  40. RHD/shared-v1.1/doc/validation/training_00011264_camera.report.json +258 -0
  41. RHD/shared-v1.1/doc/validation/training_00031232_camera.html +0 -0
  42. RHD/shared-v1.1/doc/validation/training_00031232_camera.report.json +258 -0
  43. RHD/shared-v1.1/doc/validation/training_00035328_camera.html +0 -0
  44. RHD/shared-v1.1/doc/validation/training_00035328_camera.report.json +258 -0
  45. RHD/shared-v1.1/doc/validation/training_00038400_camera.html +0 -0
  46. RHD/shared-v1.1/doc/validation/training_00038400_camera.report.json +258 -0
  47. RHD/shared-v1.1/doc/validation/training_00040960_camera.html +0 -0
  48. RHD/shared-v1.1/doc/validation/training_00040960_camera.report.json +258 -0
  49. RHD/shared-v1.1/doc/validation/validate_report.json +40 -0
  50. RHD/shared-v1.1/script/provenance/operations/build_rhd_docs.py +247 -0
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_21319.png ADDED

Git LFS Details

  • SHA256: e7c1c463cc812f6a3afd9993a810d4926af709e784f169636d60d9e3182c910e
  • Pointer size: 131 Bytes
  • Size of remote file: 162 kB
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23073.png ADDED

Git LFS Details

  • SHA256: d0ae0b10a0de9f2335f2c0661656692a61fc3b4e0803d386af7fc18a7d47146d
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23469.png ADDED

Git LFS Details

  • SHA256: 35456121f4ac945636696b68fd1db1312ad0f504eeadad7a71838106a8382193
  • Pointer size: 131 Bytes
  • Size of remote file: 132 kB
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_28259.png ADDED

Git LFS Details

  • SHA256: 63e59211ced7d09165af5956ea9f47b184bbb5b8d563c0b59e0cfda972c14599
  • Pointer size: 131 Bytes
  • Size of remote file: 147 kB
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_39758.png ADDED

Git LFS Details

  • SHA256: 0268a8c42bc37585fb4d903afc57a7c1334f1cdc908157daad4defa73163a7ce
  • Pointer size: 131 Bytes
  • Size of remote file: 168 kB
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_40491.png ADDED

Git LFS Details

  • SHA256: b91b2e33454f5c6525b00303569887b38aa1dac022323042bd6232a0440e9a24
  • Pointer size: 131 Bytes
  • Size of remote file: 178 kB
RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_41179.png ADDED

Git LFS Details

  • SHA256: c63f33e1dbc19d89028d70c2251c13a480af86fe41588f8b77a04a4a898bd91a
  • Pointer size: 131 Bytes
  • Size of remote file: 172 kB
RHD/shared-v1.1/doc/history-v1.0/validation/index.html ADDED
@@ -0,0 +1 @@
 
 
1
+ <!doctype html><meta charset="utf-8"><title>RHD 小规模人工核验</title><style>body{font:16px system-ui;margin:30px;background:#f5f6f8}section{background:white;padding:16px;margin:20px 0}img{max-width:100%}</style><h1>RHD:24 张 raw→share 转换核验</h1><p>训练与评估各12张,包含可见性极端和随机样本。独立图片不是视频序列。用户已确认试点通过,即将进行全量处理;全量随机抽查另行确认后才上传。</p><p>从左至右:RGB、左右手分割、原生2D关键点、3D点经相机投影、米制z深度可视化。红=左手,蓝=右手;2D空心点表示源标注不可见,仍保留坐标。深度图逐图拉伸对比度,颜色不能跨图直接比较米数。</p><p>检查双手身份、关键点顺序与UV/XYZ对应、分割边缘和深度轮廓。MANO、物体等源未提供的组件缺省。</p><section><h2>training/07689</h2><p>Source visible joints: 1/42. Depth display range: 0.034–5.000 m.</p><img src="training_07689.png"></section><section><h2>training/29103</h2><p>Source visible joints: 1/42. Depth display range: 0.040–5.000 m.</p><img src="training_29103.png"></section><section><h2>training/41256</h2><p>Source visible joints: 42/42. Depth display range: 0.566–5.000 m.</p><img src="training_41256.png"></section><section><h2>training/41257</h2><p>Source visible joints: 42/42. Depth display range: 0.570–5.000 m.</p><img src="training_41257.png"></section><section><h2>training/20189</h2><p>Source visible joints: 31/42. Depth display range: 0.471–5.000 m.</p><img src="training_20189.png"></section><section><h2>training/10098</h2><p>Source visible joints: 42/42. Depth display range: 0.357–5.000 m.</p><img src="training_10098.png"></section><section><h2>training/40491</h2><p>Source visible joints: 21/42. Depth display range: 0.642–5.000 m.</p><img src="training_40491.png"></section><section><h2>training/03306</h2><p>Source visible joints: 40/42. Depth display range: 0.336–5.000 m.</p><img src="training_03306.png"></section><section><h2>training/39758</h2><p>Source visible joints: 21/42. Depth display range: 0.335–5.000 m.</p><img src="training_39758.png"></section><section><h2>training/28259</h2><p>Source visible joints: 24/42. Depth display range: 0.521–5.000 m.</p><img src="training_28259.png"></section><section><h2>training/23073</h2><p>Source visible joints: 42/42. Depth display range: 0.549–5.000 m.</p><img src="training_23073.png"></section><section><h2>training/41179</h2><p>Source visible joints: 31/42. Depth display range: 0.464–5.000 m.</p><img src="training_41179.png"></section><section><h2>evaluation/02677</h2><p>Source visible joints: 5/42. Depth display range: 0.075–5.000 m.</p><img src="evaluation_02677.png"></section><section><h2>evaluation/00919</h2><p>Source visible joints: 8/42. Depth display range: 0.204–5.000 m.</p><img src="evaluation_00919.png"></section><section><h2>evaluation/02725</h2><p>Source visible joints: 42/42. Depth display range: 0.513–5.000 m.</p><img src="evaluation_02725.png"></section><section><h2>evaluation/02726</h2><p>Source visible joints: 42/42. Depth display range: 0.462–5.000 m.</p><img src="evaluation_02726.png"></section><section><h2>evaluation/02248</h2><p>Source visible joints: 24/42. Depth display range: 0.499–5.000 m.</p><img src="evaluation_02248.png"></section><section><h2>evaluation/02415</h2><p>Source visible joints: 29/42. Depth display range: 0.444–5.000 m.</p><img src="evaluation_02415.png"></section><section><h2>evaluation/01513</h2><p>Source visible joints: 36/42. Depth display range: 0.412–5.000 m.</p><img src="evaluation_01513.png"></section><section><h2>evaluation/00511</h2><p>Source visible joints: 34/42. Depth display range: 0.577–5.000 m.</p><img src="evaluation_00511.png"></section><section><h2>evaluation/00400</h2><p>Source visible joints: 20/42. Depth display range: 0.373–5.000 m.</p><img src="evaluation_00400.png"></section><section><h2>evaluation/00891</h2><p>Source visible joints: 41/42. Depth display range: 0.611–5.000 m.</p><img src="evaluation_00891.png"></section><section><h2>evaluation/00779</h2><p>Source visible joints: 21/42. Depth display range: 0.528–5.000 m.</p><img src="evaluation_00779.png"></section><section><h2>evaluation/00190</h2><p>Source visible joints: 21/42. Depth display range: 0.252–5.000 m.</p><img src="evaluation_00190.png"></section>
RHD/shared-v1.1/doc/history-v1.0/validation/training_03306.png ADDED

Git LFS Details

  • SHA256: e266fdd7f0507875c3ddaaff3d85d01458794840bcca33b48392ef4d5f51ed84
  • Pointer size: 131 Bytes
  • Size of remote file: 151 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_07689.png ADDED

Git LFS Details

  • SHA256: ead60ce93fe00a80cc85079a7bf5488d2d92189b05a5df3799d71db4b915b988
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_10098.png ADDED

Git LFS Details

  • SHA256: 6823ef76180300a5b98d316f7850b86f7f76fe0805cda938025a2dd507d3d74d
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_20189.png ADDED

Git LFS Details

  • SHA256: 0d7a23c157f9b8c21c3880e8d2eb4956f02834bd95063a473cac64a0102dd4c9
  • Pointer size: 131 Bytes
  • Size of remote file: 145 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_23073.png ADDED

Git LFS Details

  • SHA256: d0ae0b10a0de9f2335f2c0661656692a61fc3b4e0803d386af7fc18a7d47146d
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_28259.png ADDED

Git LFS Details

  • SHA256: 63e59211ced7d09165af5956ea9f47b184bbb5b8d563c0b59e0cfda972c14599
  • Pointer size: 131 Bytes
  • Size of remote file: 147 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_29103.png ADDED

Git LFS Details

  • SHA256: d6ad86d8f8dabc28aa9c3b29869dd9f97ed26400293f4b72a4a87c63d065049e
  • Pointer size: 130 Bytes
  • Size of remote file: 94.1 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_39758.png ADDED

Git LFS Details

  • SHA256: 0268a8c42bc37585fb4d903afc57a7c1334f1cdc908157daad4defa73163a7ce
  • Pointer size: 131 Bytes
  • Size of remote file: 168 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_40491.png ADDED

Git LFS Details

  • SHA256: b91b2e33454f5c6525b00303569887b38aa1dac022323042bd6232a0440e9a24
  • Pointer size: 131 Bytes
  • Size of remote file: 178 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_41179.png ADDED

Git LFS Details

  • SHA256: c63f33e1dbc19d89028d70c2251c13a480af86fe41588f8b77a04a4a898bd91a
  • Pointer size: 131 Bytes
  • Size of remote file: 172 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_41256.png ADDED

Git LFS Details

  • SHA256: 09387c4330c08db72bddd2c8f767f9ffaa345a34ca940681d53921680b13a9b0
  • Pointer size: 131 Bytes
  • Size of remote file: 216 kB
RHD/shared-v1.1/doc/history-v1.0/validation/training_41257.png ADDED

Git LFS Details

  • SHA256: 625bbb7bdf8d26ab2ead5552658cafc32f2c8a77deb50e3e5ce18e2298345e5d
  • Pointer size: 131 Bytes
  • Size of remote file: 167 kB
RHD/shared-v1.1/doc/schema.json ADDED
@@ -0,0 +1,1590 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "hand-warehouse/1.1",
3
+ "validity_revision": "usable-annotation-2026-09-20",
4
+ "annotation_validity": {
5
+ "meaning": "annotation usable for supervision, not merely record presence",
6
+ "formula": "source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass AND NOT explicitly_reviewed_local_exclusion",
7
+ "without_official_qa": "omit QA term; declare source rules; do not fabricate QA",
8
+ "policy_field": "components.<name>.valid_policy",
9
+ "visibility_is_independent": true,
10
+ "invalid_float_value": "NaN",
11
+ "hot3d": "broadcast per-camera frame manual QA conservatively to hand/object labels and pose-derived visibility; retain RGB and source calibration; keep native QA in raw and review report",
12
+ "hot3d_visibility": "native visibility_ratio[%] already ranges from 0 to 1; do not divide by 100"
13
+ },
14
+ "hand_slots": [
15
+ "left",
16
+ "right"
17
+ ],
18
+ "view_metadata": {
19
+ "required_fields": [
20
+ "schema_version",
21
+ "dataset_id",
22
+ "release_id",
23
+ "sequence_id",
24
+ "camera_id",
25
+ "sample_type",
26
+ "num_frames",
27
+ "hand_slots",
28
+ "sampling",
29
+ "camera",
30
+ "components",
31
+ "split",
32
+ "view_type"
33
+ ],
34
+ "view_type_values": [
35
+ "ego",
36
+ "exo",
37
+ "unknown"
38
+ ],
39
+ "view_type_policy": "required per camera view; use ego or exo whenever the source data or capture setup establishes the viewpoint; use unknown only when no trustworthy source determines it; never omit or guess",
40
+ "schema_version": "hand-warehouse/1.1",
41
+ "release_id": "shared-v1.1"
42
+ },
43
+ "keypoints": {
44
+ "mano21/v1": {
45
+ "count": 21,
46
+ "names": [
47
+ "wrist",
48
+ "thumb_1",
49
+ "thumb_2",
50
+ "thumb_3",
51
+ "thumb_4",
52
+ "index_1",
53
+ "index_2",
54
+ "index_3",
55
+ "index_4",
56
+ "middle_1",
57
+ "middle_2",
58
+ "middle_3",
59
+ "middle_4",
60
+ "ring_1",
61
+ "ring_2",
62
+ "ring_3",
63
+ "ring_4",
64
+ "little_1",
65
+ "little_2",
66
+ "little_3",
67
+ "little_4"
68
+ ],
69
+ "source_index_map": null,
70
+ "note": "adapter maps official MANO joint and fingertip convention"
71
+ },
72
+ "rhd21/v1": {
73
+ "count": 21,
74
+ "names": [
75
+ "wrist",
76
+ "thumb_1",
77
+ "thumb_2",
78
+ "thumb_3",
79
+ "thumb_4",
80
+ "index_1",
81
+ "index_2",
82
+ "index_3",
83
+ "index_4",
84
+ "middle_1",
85
+ "middle_2",
86
+ "middle_3",
87
+ "middle_4",
88
+ "ring_1",
89
+ "ring_2",
90
+ "ring_3",
91
+ "ring_4",
92
+ "little_1",
93
+ "little_2",
94
+ "little_3",
95
+ "little_4"
96
+ ],
97
+ "source_index_map_per_hand": [
98
+ 0,
99
+ 4,
100
+ 3,
101
+ 2,
102
+ 1,
103
+ 8,
104
+ 7,
105
+ 6,
106
+ 5,
107
+ 12,
108
+ 11,
109
+ 10,
110
+ 9,
111
+ 16,
112
+ 15,
113
+ 14,
114
+ 13,
115
+ 20,
116
+ 19,
117
+ 18,
118
+ 17
119
+ ]
120
+ }
121
+ },
122
+ "camera": {
123
+ "opencv_fisheye4": {
124
+ "K": [
125
+ 3,
126
+ 3
127
+ ],
128
+ "distortion": [
129
+ "k1",
130
+ "k2",
131
+ "k3",
132
+ "k4"
133
+ ],
134
+ "projection": "theta=atan(r); theta_d=theta*(1+k1*theta^2+k2*theta^4+k3*theta^6+k4*theta^8); source ReInterHand"
135
+ },
136
+ "pinhole": {
137
+ "K": [
138
+ 3,
139
+ 3
140
+ ]
141
+ },
142
+ "fisheye624": {
143
+ "parameters": [
144
+ "f",
145
+ "cx",
146
+ "cy",
147
+ "k0",
148
+ "k1",
149
+ "k2",
150
+ "k3",
151
+ "k4",
152
+ "k5",
153
+ "p0",
154
+ "p1",
155
+ "s0",
156
+ "s1",
157
+ "s2",
158
+ "s3"
159
+ ]
160
+ },
161
+ "rational8": {
162
+ "K": [
163
+ 3,
164
+ 3
165
+ ],
166
+ "distortion": [
167
+ "k1",
168
+ "k2",
169
+ "p1",
170
+ "p2",
171
+ "k3",
172
+ "k4",
173
+ "k5",
174
+ "k6"
175
+ ]
176
+ }
177
+ },
178
+ "segmentation": {
179
+ "segment/uint16_labels/v1": {
180
+ "storage": "mask.mkv",
181
+ "dtype": "uint16",
182
+ "mapping": "instances.jsonl",
183
+ "valid_shape": [
184
+ "T"
185
+ ],
186
+ "required_metadata": [
187
+ "segmentation_type",
188
+ "coverage",
189
+ "mapping_ref",
190
+ "storage"
191
+ ],
192
+ "shape": [
193
+ "T",
194
+ "H",
195
+ "W"
196
+ ],
197
+ "reserved_codes": {
198
+ "0": "unassigned",
199
+ "65535": "ignore"
200
+ },
201
+ "region_codes": [
202
+ 1,
203
+ 65534
204
+ ],
205
+ "allowed_storage_profiles": [
206
+ "mkv/uint16_ffv1/v1"
207
+ ]
208
+ },
209
+ "segment/instance_polygons/v1": {
210
+ "storage": "polygons.jsonl",
211
+ "mapping": "instances.jsonl",
212
+ "frame_keys": [
213
+ "frame_index",
214
+ "instances"
215
+ ],
216
+ "instance_keys": [
217
+ "mask_value",
218
+ "polygons"
219
+ ],
220
+ "coordinate_unit": "pixel",
221
+ "overlap_allowed": true,
222
+ "valid_shape": [
223
+ "T"
224
+ ],
225
+ "required_metadata": [
226
+ "segmentation_type",
227
+ "coverage",
228
+ "mapping_ref"
229
+ ],
230
+ "polygon_shape": [
231
+ "N",
232
+ 2
233
+ ],
234
+ "holes_supported": false
235
+ },
236
+ "segment/foreground_intensity/v1": {
237
+ "storage": "mask.mkv",
238
+ "dtype": "uint16",
239
+ "value_range": [
240
+ 0,
241
+ 255
242
+ ],
243
+ "normalization_scale": 0.00392156862745098,
244
+ "axes": [
245
+ "T",
246
+ "height",
247
+ "width"
248
+ ],
249
+ "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability",
250
+ "zero": "background",
251
+ "full_scale": "foreground",
252
+ "mapping": "foreground_category in component metadata",
253
+ "valid_shape": [
254
+ "T"
255
+ ],
256
+ "required_metadata": [
257
+ "segmentation_type",
258
+ "coverage",
259
+ "value_range",
260
+ "normalization_scale",
261
+ "foreground_category",
262
+ "entity_id",
263
+ "storage"
264
+ ],
265
+ "shape": [
266
+ "T",
267
+ "H",
268
+ "W"
269
+ ],
270
+ "allowed_storage_profiles": [
271
+ "mkv/uint16_ffv1/v1"
272
+ ]
273
+ }
274
+ },
275
+ "note": "Registry for hand-warehouse/1.1. Read CONTRACT.md and MIGRATION.md. This is a declarative registry, not a JSON Schema document or executable validator. Runtime readers/converters/validators still require adaptation.",
276
+ "components": {
277
+ "mano/axis_angle61/v1": {
278
+ "storage": "pt",
279
+ "dtype": "float32",
280
+ "shape": [
281
+ "T",
282
+ 2,
283
+ 61
284
+ ],
285
+ "valid_shape": [
286
+ "T",
287
+ 2
288
+ ],
289
+ "unit": "m",
290
+ "angle_unit": "rad",
291
+ "coordinate_frame": "camera",
292
+ "layout": {
293
+ "pose_axis_angle": [
294
+ 0,
295
+ 48
296
+ ],
297
+ "shape": [
298
+ 48,
299
+ 58
300
+ ],
301
+ "translation": [
302
+ 58,
303
+ 61
304
+ ]
305
+ },
306
+ "allowed_storage_profiles": [
307
+ "pt/tensor_bundle/v1"
308
+ ],
309
+ "allowed_valid_storage_profiles": [
310
+ "pt/tensor_bundle/v1"
311
+ ],
312
+ "valid_storage": "pt",
313
+ "tensor_container": "dict",
314
+ "valid_dtype": "bool",
315
+ "required_metadata": [
316
+ "data_ref",
317
+ "data_key",
318
+ "valid_ref",
319
+ "valid_key",
320
+ "storage",
321
+ "valid_storage"
322
+ ]
323
+ },
324
+ "keypoints/uv/v1": {
325
+ "storage": "pt",
326
+ "dtype": "float32",
327
+ "shape": [
328
+ "T",
329
+ 2,
330
+ 21,
331
+ 2
332
+ ],
333
+ "valid_shape": [
334
+ "T",
335
+ 2,
336
+ 21
337
+ ],
338
+ "unit": "pixel",
339
+ "required_metadata": [
340
+ "keypoint_schema",
341
+ "data_ref",
342
+ "data_key",
343
+ "valid_ref",
344
+ "valid_key",
345
+ "storage",
346
+ "valid_storage"
347
+ ],
348
+ "allowed_storage_profiles": [
349
+ "pt/tensor_bundle/v1"
350
+ ],
351
+ "allowed_valid_storage_profiles": [
352
+ "pt/tensor_bundle/v1"
353
+ ],
354
+ "valid_storage": "pt",
355
+ "tensor_container": "dict",
356
+ "valid_dtype": "bool"
357
+ },
358
+ "keypoints/xyz/v1": {
359
+ "storage": "pt",
360
+ "dtype": "float32",
361
+ "shape": [
362
+ "T",
363
+ 2,
364
+ 21,
365
+ 3
366
+ ],
367
+ "valid_shape": [
368
+ "T",
369
+ 2,
370
+ 21
371
+ ],
372
+ "unit": "m",
373
+ "required_metadata": [
374
+ "keypoint_schema",
375
+ "data_ref",
376
+ "data_key",
377
+ "valid_ref",
378
+ "valid_key",
379
+ "storage",
380
+ "valid_storage"
381
+ ],
382
+ "allowed_storage_profiles": [
383
+ "pt/tensor_bundle/v1"
384
+ ],
385
+ "allowed_valid_storage_profiles": [
386
+ "pt/tensor_bundle/v1"
387
+ ],
388
+ "valid_storage": "pt",
389
+ "tensor_container": "dict",
390
+ "valid_dtype": "bool"
391
+ },
392
+ "depth/z_float32/v1": {
393
+ "storage": "mkv",
394
+ "dtype": "float32",
395
+ "shape": [
396
+ "T",
397
+ "H",
398
+ "W"
399
+ ],
400
+ "valid_shape": [
401
+ "T",
402
+ "H",
403
+ "W"
404
+ ],
405
+ "unit": "m",
406
+ "depth_type": "z",
407
+ "pixel_grid": "current_rgb",
408
+ "coordinate_frame": "current_rgb_camera",
409
+ "valid_storage": "mkv",
410
+ "allowed_storage_profiles": [
411
+ "mkv/depth_float32_bits/v1"
412
+ ],
413
+ "allowed_valid_storage_profiles": [
414
+ "mkv/bool_ffv1/v1"
415
+ ],
416
+ "required_metadata": [
417
+ "storage",
418
+ "valid_storage",
419
+ "depth_origin"
420
+ ],
421
+ "depth_origin_values": [
422
+ "measured",
423
+ "rendered",
424
+ "unknown"
425
+ ]
426
+ },
427
+ "transform/se3/v1": {
428
+ "storage": "pt",
429
+ "dtype": "float32",
430
+ "shape": [
431
+ "T",
432
+ 4,
433
+ 4
434
+ ],
435
+ "valid_shape": [
436
+ "T"
437
+ ],
438
+ "unit": "m",
439
+ "required_metadata": [
440
+ "convention",
441
+ "data_ref",
442
+ "data_key",
443
+ "valid_ref",
444
+ "valid_key",
445
+ "storage",
446
+ "valid_storage"
447
+ ],
448
+ "allowed_storage_profiles": [
449
+ "pt/tensor_bundle/v1"
450
+ ],
451
+ "allowed_valid_storage_profiles": [
452
+ "pt/tensor_bundle/v1"
453
+ ],
454
+ "valid_storage": "pt",
455
+ "tensor_container": "dict",
456
+ "valid_dtype": "bool"
457
+ },
458
+ "object/rigid/v1": {
459
+ "storage": "pt",
460
+ "dtype": "float32",
461
+ "shape": [
462
+ "T",
463
+ 4,
464
+ 4
465
+ ],
466
+ "valid_shape": [
467
+ "T"
468
+ ],
469
+ "unit": "m",
470
+ "required_metadata": [
471
+ "convention",
472
+ "data_ref",
473
+ "data_key",
474
+ "valid_ref",
475
+ "valid_key",
476
+ "storage",
477
+ "valid_storage"
478
+ ],
479
+ "allowed_storage_profiles": [
480
+ "pt/tensor_bundle/v1"
481
+ ],
482
+ "allowed_valid_storage_profiles": [
483
+ "pt/tensor_bundle/v1"
484
+ ],
485
+ "valid_storage": "pt",
486
+ "tensor_container": "dict",
487
+ "valid_dtype": "bool"
488
+ },
489
+ "camera/pinhole/v1": {
490
+ "storage": "pt",
491
+ "dtype": "float32",
492
+ "shape": [
493
+ "T",
494
+ 3,
495
+ 3
496
+ ],
497
+ "valid_shape": [
498
+ "T"
499
+ ],
500
+ "allowed_storage_profiles": [
501
+ "pt/tensor_bundle/v1"
502
+ ],
503
+ "allowed_valid_storage_profiles": [
504
+ "pt/tensor_bundle/v1"
505
+ ],
506
+ "valid_storage": "pt",
507
+ "tensor_container": "dict",
508
+ "valid_dtype": "bool",
509
+ "required_metadata": [
510
+ "data_ref",
511
+ "data_key",
512
+ "valid_ref",
513
+ "valid_key",
514
+ "storage",
515
+ "valid_storage"
516
+ ]
517
+ },
518
+ "camera/rational8/v1": {
519
+ "storage": "pt",
520
+ "dtype": "float32",
521
+ "shape": [
522
+ "T",
523
+ 3,
524
+ 3
525
+ ],
526
+ "valid_shape": [
527
+ "T"
528
+ ],
529
+ "allowed_storage_profiles": [
530
+ "pt/tensor_bundle/v1"
531
+ ],
532
+ "allowed_valid_storage_profiles": [
533
+ "pt/tensor_bundle/v1"
534
+ ],
535
+ "valid_storage": "pt",
536
+ "tensor_container": "dict",
537
+ "valid_dtype": "bool",
538
+ "required_metadata": [
539
+ "data_ref",
540
+ "data_key",
541
+ "valid_ref",
542
+ "valid_key",
543
+ "storage",
544
+ "valid_storage",
545
+ "distortion_ref",
546
+ "distortion_key",
547
+ "distortion_valid_ref",
548
+ "distortion_valid_key"
549
+ ]
550
+ },
551
+ "camera/opencv_fisheye4/v1": {
552
+ "storage": "pt",
553
+ "dtype": "float32",
554
+ "shape": [
555
+ "T",
556
+ 3,
557
+ 3
558
+ ],
559
+ "valid_shape": [
560
+ "T"
561
+ ],
562
+ "allowed_storage_profiles": [
563
+ "pt/tensor_bundle/v1"
564
+ ],
565
+ "allowed_valid_storage_profiles": [
566
+ "pt/tensor_bundle/v1"
567
+ ],
568
+ "valid_storage": "pt",
569
+ "tensor_container": "dict",
570
+ "valid_dtype": "bool",
571
+ "required_metadata": [
572
+ "data_ref",
573
+ "data_key",
574
+ "valid_ref",
575
+ "valid_key",
576
+ "storage",
577
+ "valid_storage",
578
+ "distortion_ref",
579
+ "distortion_key",
580
+ "distortion_valid_ref",
581
+ "distortion_valid_key"
582
+ ]
583
+ },
584
+ "camera/fisheye624/v1": {
585
+ "storage": "pt",
586
+ "dtype": "float32",
587
+ "shape": [
588
+ "T",
589
+ 15
590
+ ],
591
+ "valid_shape": [
592
+ "T"
593
+ ],
594
+ "allowed_storage_profiles": [
595
+ "pt/tensor_bundle/v1"
596
+ ],
597
+ "allowed_valid_storage_profiles": [
598
+ "pt/tensor_bundle/v1"
599
+ ],
600
+ "valid_storage": "pt",
601
+ "tensor_container": "dict",
602
+ "valid_dtype": "bool",
603
+ "required_metadata": [
604
+ "data_ref",
605
+ "data_key",
606
+ "valid_ref",
607
+ "valid_key",
608
+ "storage",
609
+ "valid_storage"
610
+ ]
611
+ },
612
+ "camera/distortion8/v1": {
613
+ "storage": "pt",
614
+ "dtype": "float32",
615
+ "shape": [
616
+ "T",
617
+ 8
618
+ ],
619
+ "valid_shape": [
620
+ "T"
621
+ ],
622
+ "allowed_storage_profiles": [
623
+ "pt/tensor_bundle/v1"
624
+ ],
625
+ "allowed_valid_storage_profiles": [
626
+ "pt/tensor_bundle/v1"
627
+ ],
628
+ "valid_storage": "pt",
629
+ "tensor_container": "dict",
630
+ "valid_dtype": "bool",
631
+ "required_metadata": [
632
+ "data_ref",
633
+ "data_key",
634
+ "valid_ref",
635
+ "valid_key",
636
+ "storage",
637
+ "valid_storage"
638
+ ]
639
+ },
640
+ "camera/fisheye4_distortion/v1": {
641
+ "storage": "pt",
642
+ "dtype": "float32",
643
+ "shape": [
644
+ "T",
645
+ 4
646
+ ],
647
+ "valid_shape": [
648
+ "T"
649
+ ],
650
+ "allowed_storage_profiles": [
651
+ "pt/tensor_bundle/v1"
652
+ ],
653
+ "allowed_valid_storage_profiles": [
654
+ "pt/tensor_bundle/v1"
655
+ ],
656
+ "valid_storage": "pt",
657
+ "tensor_container": "dict",
658
+ "valid_dtype": "bool",
659
+ "required_metadata": [
660
+ "data_ref",
661
+ "data_key",
662
+ "valid_ref",
663
+ "valid_key",
664
+ "storage",
665
+ "valid_storage"
666
+ ]
667
+ },
668
+ "object/joint_state/v1": {
669
+ "storage": "pt",
670
+ "dtype": "float32",
671
+ "shape": [
672
+ "T",
673
+ "J"
674
+ ],
675
+ "valid_shape": [
676
+ "T",
677
+ "J"
678
+ ],
679
+ "required_metadata": [
680
+ "joint_order",
681
+ "data_ref",
682
+ "data_key",
683
+ "valid_ref",
684
+ "valid_key",
685
+ "storage",
686
+ "valid_storage"
687
+ ],
688
+ "unit_rule": "revolute radians; prismatic metres; mixed types declared per joint",
689
+ "allowed_storage_profiles": [
690
+ "pt/tensor_bundle/v1"
691
+ ],
692
+ "allowed_valid_storage_profiles": [
693
+ "pt/tensor_bundle/v1"
694
+ ],
695
+ "valid_storage": "pt",
696
+ "tensor_container": "dict",
697
+ "valid_dtype": "bool"
698
+ },
699
+ "object_keypoints/camera/v1": {
700
+ "storage": "pt",
701
+ "dtype": "float32",
702
+ "shape": [
703
+ "T",
704
+ "K",
705
+ 3
706
+ ],
707
+ "valid_shape": [
708
+ "T",
709
+ "K"
710
+ ],
711
+ "unit": "m",
712
+ "coordinate_frame": "camera",
713
+ "required_metadata": [
714
+ "keypoint_schema",
715
+ "data_ref",
716
+ "data_key",
717
+ "valid_ref",
718
+ "valid_key",
719
+ "storage",
720
+ "valid_storage"
721
+ ],
722
+ "allowed_storage_profiles": [
723
+ "pt/tensor_bundle/v1"
724
+ ],
725
+ "allowed_valid_storage_profiles": [
726
+ "pt/tensor_bundle/v1"
727
+ ],
728
+ "valid_storage": "pt",
729
+ "tensor_container": "dict",
730
+ "valid_dtype": "bool"
731
+ },
732
+ "object/dimensions/v1": {
733
+ "storage": "pt",
734
+ "dtype": "float32",
735
+ "shape": [
736
+ "T",
737
+ 3
738
+ ],
739
+ "valid_shape": [
740
+ "T"
741
+ ],
742
+ "unit": "m",
743
+ "required_metadata": [
744
+ "dimensions_semantics",
745
+ "data_ref",
746
+ "data_key",
747
+ "valid_ref",
748
+ "valid_key",
749
+ "storage",
750
+ "valid_storage"
751
+ ],
752
+ "axis_order": [
753
+ "length",
754
+ "width",
755
+ "height"
756
+ ],
757
+ "scale_rule": "do not apply to mesh without source-supported size/scale relation",
758
+ "allowed_storage_profiles": [
759
+ "pt/tensor_bundle/v1"
760
+ ],
761
+ "allowed_valid_storage_profiles": [
762
+ "pt/tensor_bundle/v1"
763
+ ],
764
+ "valid_storage": "pt",
765
+ "tensor_container": "dict",
766
+ "valid_dtype": "bool"
767
+ },
768
+ "object_keypoints/template/v1": {
769
+ "storage": "pt",
770
+ "dtype": "float32",
771
+ "shape": [
772
+ "K",
773
+ 3
774
+ ],
775
+ "valid_shape": [
776
+ "K"
777
+ ],
778
+ "unit": "m",
779
+ "coordinate_frame": "object",
780
+ "static": true,
781
+ "required_metadata": [
782
+ "keypoint_schema",
783
+ "data_ref",
784
+ "data_key",
785
+ "valid_ref",
786
+ "valid_key",
787
+ "storage",
788
+ "valid_storage"
789
+ ],
790
+ "allowed_storage_profiles": [
791
+ "pt/tensor_bundle/v1"
792
+ ],
793
+ "allowed_valid_storage_profiles": [
794
+ "pt/tensor_bundle/v1"
795
+ ],
796
+ "valid_storage": "pt",
797
+ "tensor_container": "dict",
798
+ "valid_dtype": "bool"
799
+ },
800
+ "mesh/obj/v1": {
801
+ "storage": "obj",
802
+ "unit": "m",
803
+ "static": true,
804
+ "valid_shape": [],
805
+ "dependencies": "MTL and textures retained under owning object"
806
+ },
807
+ "rgb/uint8/v1": {
808
+ "storage": "mkv",
809
+ "dtype": "uint8",
810
+ "shape": [
811
+ "T",
812
+ "H",
813
+ "W",
814
+ 3
815
+ ],
816
+ "valid_shape": [
817
+ "T"
818
+ ],
819
+ "color_order": "RGB",
820
+ "allowed_storage_profiles": [
821
+ "mkv/mjpeg_copy/v1",
822
+ "mkv/source_copy/v1",
823
+ "mkv/h264_rgb_lossless/v1",
824
+ "mkv/ffv1_rgb/v1"
825
+ ],
826
+ "required_metadata": [
827
+ "storage"
828
+ ]
829
+ },
830
+ "contact/relations/v1": {
831
+ "storage": "jsonl",
832
+ "valid_shape": [
833
+ "T"
834
+ ],
835
+ "frame_keys": [
836
+ "frame_index",
837
+ "relations"
838
+ ],
839
+ "absence_semantics": "no record is not a negative contact annotation"
840
+ },
841
+ "contact/vertex_region/v1": {
842
+ "storage": "pt",
843
+ "dtype": "bool",
844
+ "shape": [
845
+ "T",
846
+ "V"
847
+ ],
848
+ "valid_shape": [
849
+ "T",
850
+ "V"
851
+ ],
852
+ "required_metadata": [
853
+ "source_geometry_ref",
854
+ "target_geometry_ref",
855
+ "topology_id",
856
+ "data_ref",
857
+ "data_key",
858
+ "valid_ref",
859
+ "valid_key",
860
+ "storage",
861
+ "valid_storage"
862
+ ],
863
+ "pilot_status": "defined_not_empirically_validated",
864
+ "allowed_storage_profiles": [
865
+ "pt/tensor_bundle/v1"
866
+ ],
867
+ "allowed_valid_storage_profiles": [
868
+ "pt/tensor_bundle/v1"
869
+ ],
870
+ "valid_storage": "pt",
871
+ "tensor_container": "dict",
872
+ "valid_dtype": "bool"
873
+ },
874
+ "contact/vertex_distance/v1": {
875
+ "storage": "pt",
876
+ "dtype": "float32",
877
+ "shape": [
878
+ "T",
879
+ "V"
880
+ ],
881
+ "valid_shape": [
882
+ "T",
883
+ "V"
884
+ ],
885
+ "unit": "m",
886
+ "required_metadata": [
887
+ "source_geometry_ref",
888
+ "target_geometry_ref",
889
+ "topology_id",
890
+ "distance_definition",
891
+ "data_ref",
892
+ "data_key",
893
+ "valid_ref",
894
+ "valid_key",
895
+ "storage",
896
+ "valid_storage"
897
+ ],
898
+ "pilot_status": "defined_not_empirically_validated",
899
+ "allowed_storage_profiles": [
900
+ "pt/tensor_bundle/v1"
901
+ ],
902
+ "allowed_valid_storage_profiles": [
903
+ "pt/tensor_bundle/v1"
904
+ ],
905
+ "valid_storage": "pt",
906
+ "tensor_container": "dict",
907
+ "valid_dtype": "bool"
908
+ },
909
+ "object/articulated/v1": {
910
+ "storage": "json",
911
+ "required_keys": [
912
+ "parts",
913
+ "joints"
914
+ ],
915
+ "part_keys": [
916
+ "part_id",
917
+ "parent_id",
918
+ "has_model",
919
+ "mesh_ref"
920
+ ],
921
+ "hierarchy_semantics": "declare mechanical articulation or semantic containment; containment alone does not imply joints",
922
+ "acyclic": true
923
+ },
924
+ "segment/uint16_labels/v1": {
925
+ "storage": "mkv",
926
+ "dtype": "uint16",
927
+ "mapping": "instances.jsonl",
928
+ "valid_shape": [
929
+ "T"
930
+ ],
931
+ "required_metadata": [
932
+ "segmentation_type",
933
+ "coverage",
934
+ "mapping_ref",
935
+ "storage"
936
+ ],
937
+ "shape": [
938
+ "T",
939
+ "H",
940
+ "W"
941
+ ],
942
+ "reserved_codes": {
943
+ "0": "unassigned",
944
+ "65535": "ignore"
945
+ },
946
+ "region_codes": [
947
+ 1,
948
+ 65534
949
+ ],
950
+ "allowed_storage_profiles": [
951
+ "mkv/uint16_ffv1/v1"
952
+ ]
953
+ },
954
+ "segment/instance_polygons/v1": {
955
+ "storage": "jsonl",
956
+ "mapping": "instances.jsonl",
957
+ "frame_keys": [
958
+ "frame_index",
959
+ "instances"
960
+ ],
961
+ "instance_keys": [
962
+ "mask_value",
963
+ "polygons"
964
+ ],
965
+ "coordinate_unit": "pixel",
966
+ "overlap_allowed": true,
967
+ "valid_shape": [
968
+ "T"
969
+ ],
970
+ "required_metadata": [
971
+ "segmentation_type",
972
+ "coverage",
973
+ "mapping_ref"
974
+ ],
975
+ "polygon_shape": [
976
+ "N",
977
+ 2
978
+ ],
979
+ "holes_supported": false
980
+ },
981
+ "segment/foreground_intensity/v1": {
982
+ "storage": "mkv",
983
+ "dtype": "uint16",
984
+ "value_range": [
985
+ 0,
986
+ 255
987
+ ],
988
+ "normalization_scale": 0.00392156862745098,
989
+ "axes": [
990
+ "T",
991
+ "height",
992
+ "width"
993
+ ],
994
+ "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability",
995
+ "zero": "background",
996
+ "full_scale": "foreground",
997
+ "mapping": "foreground_category in component metadata",
998
+ "valid_shape": [
999
+ "T"
1000
+ ],
1001
+ "required_metadata": [
1002
+ "segmentation_type",
1003
+ "coverage",
1004
+ "value_range",
1005
+ "normalization_scale",
1006
+ "foreground_category",
1007
+ "entity_id",
1008
+ "storage"
1009
+ ],
1010
+ "shape": [
1011
+ "T",
1012
+ "H",
1013
+ "W"
1014
+ ],
1015
+ "allowed_storage_profiles": [
1016
+ "mkv/uint16_ffv1/v1"
1017
+ ]
1018
+ },
1019
+ "object/vertex_part_ids/v1": {
1020
+ "storage": "pt",
1021
+ "tensor_container": "dict",
1022
+ "dtype": "int64",
1023
+ "shape": [
1024
+ "V"
1025
+ ],
1026
+ "valid_shape": [
1027
+ "V"
1028
+ ],
1029
+ "valid_dtype": "bool",
1030
+ "static": true,
1031
+ "unknown_value": -1,
1032
+ "valid_rule": "data != -1; every valid integer resolves in part_id_mapping",
1033
+ "required_metadata": [
1034
+ "mesh_ref",
1035
+ "topology_id",
1036
+ "part_id_mapping",
1037
+ "data_ref",
1038
+ "data_key",
1039
+ "valid_ref",
1040
+ "valid_key",
1041
+ "storage",
1042
+ "valid_storage"
1043
+ ],
1044
+ "allowed_storage_profiles": [
1045
+ "pt/tensor_bundle/v1"
1046
+ ],
1047
+ "allowed_valid_storage_profiles": [
1048
+ "pt/tensor_bundle/v1"
1049
+ ],
1050
+ "valid_storage": "pt"
1051
+ }
1052
+ },
1053
+ "storage_revision": "lossless-video-2026-09-18",
1054
+ "sampling": {
1055
+ "image": {
1056
+ "single": {
1057
+ "T": 1
1058
+ },
1059
+ "independent": {
1060
+ "T": ">=2",
1061
+ "required_frame_fields": [
1062
+ "sample_id",
1063
+ "source_locator"
1064
+ ],
1065
+ "temporal_relationship": false
1066
+ },
1067
+ "source_fps": null
1068
+ },
1069
+ "video": {
1070
+ "sampling_types": [
1071
+ "dense",
1072
+ "sparse"
1073
+ ]
1074
+ }
1075
+ },
1076
+ "storage_profiles": {
1077
+ "mkv/mjpeg_copy/v1": {
1078
+ "container": "matroska",
1079
+ "codec": "mjpeg",
1080
+ "method": "stream_copy_from_source_jpeg",
1081
+ "logical_dtype": "uint8",
1082
+ "decoded_pixel_format": "rgb24",
1083
+ "validation": [
1084
+ "source_jpeg_packet_sha256_exact",
1085
+ "all_packet_count_order_and_dimensions_exact",
1086
+ "deterministic_decoded_rgb_sample_exact",
1087
+ "pilot_and_final_selected_whole_sequences_decoded_rgb_exact"
1088
+ ],
1089
+ "validation_policy": {
1090
+ "id": "jpeg-packets-all-rgb-sample16/v1",
1091
+ "sample_count_per_view": 16,
1092
+ "short_views": "all_frames_if_T_less_than_16",
1093
+ "fixed_indices": "0,T-1,T//4,T//2,3*T//4, deduplicated",
1094
+ "remaining_indices": "sample without replacement to min(T,16) using Python random.Random(seed)",
1095
+ "seed": "first 8 bytes of SHA256(sequence_id/camera_id/20260920), big-endian integer",
1096
+ "report": "policy, exact selected frame indices, seed, separate packet and pixel coverage",
1097
+ "legacy_all_frame_pixel_proofs": "still accepted; preserve historical evidence"
1098
+ }
1099
+ },
1100
+ "mkv/source_copy/v1": {
1101
+ "container": "matroska",
1102
+ "codec": "source_codec_declared_in_metadata",
1103
+ "method": "stream_copy_only",
1104
+ "logical_dtype": "uint8",
1105
+ "decoded_pixel_format": "rgb24",
1106
+ "validation": [
1107
+ "no_reencoding",
1108
+ "all_decoded_rgb_frames_exact",
1109
+ "presentation_frame_order_exact"
1110
+ ]
1111
+ },
1112
+ "mkv/h264_rgb_lossless/v1": {
1113
+ "container": "matroska",
1114
+ "codec": "h264",
1115
+ "encoder": "libx264rgb",
1116
+ "crf": 0,
1117
+ "decoded_pixel_format": "rgb24",
1118
+ "logical_dtype": "uint8",
1119
+ "gop": "declared_in_encoder_parameters",
1120
+ "validation": [
1121
+ "all_decoded_rgb_frames_exact"
1122
+ ],
1123
+ "forbidden": [
1124
+ "lossy_rate_control",
1125
+ "rgb_to_yuv420_subsampling"
1126
+ ]
1127
+ },
1128
+ "mkv/ffv1_rgb/v1": {
1129
+ "container": "matroska",
1130
+ "codec": "ffv1",
1131
+ "decoded_pixel_format": "rgb24",
1132
+ "logical_dtype": "uint8",
1133
+ "validation": [
1134
+ "all_decoded_rgb_frames_exact"
1135
+ ]
1136
+ },
1137
+ "mkv/depth_float32_bits/v1": {
1138
+ "container": "matroska",
1139
+ "codec": "ffv1",
1140
+ "pixel_format": "gray16le",
1141
+ "logical_dtype": "float32",
1142
+ "logical_shape": [
1143
+ "T",
1144
+ "H",
1145
+ "W"
1146
+ ],
1147
+ "encoded_shape": [
1148
+ "T",
1149
+ "H",
1150
+ "2*W"
1151
+ ],
1152
+ "packing": "IEEE754 little-endian float32 bits; low uint16 in first W columns, high uint16 in last W columns",
1153
+ "decode": "reinterpret_float32(uint32(low) | (uint32(high) << 16))",
1154
+ "validation": [
1155
+ "all_float32_bits_exact_including_nan"
1156
+ ]
1157
+ },
1158
+ "mkv/bool_ffv1/v1": {
1159
+ "container": "matroska",
1160
+ "codec": "ffv1",
1161
+ "pixel_format": "gray",
1162
+ "logical_dtype": "bool",
1163
+ "stored_values": [
1164
+ 0,
1165
+ 1
1166
+ ],
1167
+ "validation": [
1168
+ "all_bool_values_exact"
1169
+ ]
1170
+ },
1171
+ "mkv/uint16_ffv1/v1": {
1172
+ "container": "matroska",
1173
+ "codec": "ffv1",
1174
+ "pixel_formats": [
1175
+ "gray",
1176
+ "gray16le"
1177
+ ],
1178
+ "logical_dtype": "uint16",
1179
+ "gray_condition": "all values <=255; decode by exact uint8-to-uint16 promotion",
1180
+ "validation": [
1181
+ "all_integer_values_exact"
1182
+ ]
1183
+ },
1184
+ "pt/tensor_bundle/v1": {
1185
+ "container": "pytorch_pt",
1186
+ "root_type": "dict",
1187
+ "dictionary_key_type": "nonempty_string",
1188
+ "allowed_value_types": [
1189
+ "dict",
1190
+ "CPU torch.Tensor"
1191
+ ],
1192
+ "tensor_entry": {
1193
+ "required_keys": [
1194
+ "data",
1195
+ "valid"
1196
+ ],
1197
+ "additional_keys": false,
1198
+ "data_type": "CPU torch.Tensor",
1199
+ "valid_type": "CPU torch.Tensor",
1200
+ "valid_dtype": "bool"
1201
+ },
1202
+ "metadata_location": "metainfo.json; do not duplicate strings, paths or custom objects inside bundles",
1203
+ "missing_entry": "omit entire entry; never fabricate absent modalities",
1204
+ "load": {
1205
+ "map_location": "cpu",
1206
+ "weights_only": true
1207
+ },
1208
+ "valid_shape_rule": "Use the specific component or attribute valid_shape; do not infer broadcasting or share validity across independent fields.",
1209
+ "validation": [
1210
+ "registered layout and key resolution",
1211
+ "CPU tensors only",
1212
+ "schema dtype and shape",
1213
+ "independent bool validity",
1214
+ "frame alignment unchanged",
1215
+ "invalid floating positions NaN",
1216
+ "pure migration exact data bytes and validity equality"
1217
+ ],
1218
+ "not_applicable_to": [
1219
+ "media payloads",
1220
+ "media standalone validity tensors",
1221
+ "JSONL standalone validity tensors"
1222
+ ]
1223
+ }
1224
+ },
1225
+ "video_metadata": {
1226
+ "required": [
1227
+ "profile",
1228
+ "codec",
1229
+ "pixel_format",
1230
+ "encoded_size",
1231
+ "decoder",
1232
+ "encoder_parameters",
1233
+ "source_lossy"
1234
+ ],
1235
+ "source_lossy_values": [
1236
+ true,
1237
+ false,
1238
+ "unknown"
1239
+ ],
1240
+ "timebase_role": "index_only",
1241
+ "lossless_reference": "source compressed packets or fixed-decoder source pixels; depth uses normalized standard float32 bits",
1242
+ "selection": "choose smaller complete candidate only after exact roundtrip validation"
1243
+ },
1244
+ "tensor_storage_revision": "tensor-bundle-2026-10-09",
1245
+ "release_layout": {
1246
+ "directory": "shared-v1.1",
1247
+ "release_id": "shared-v1.1",
1248
+ "migration": "Upgrade each dataset in place under shared-v1.0 during maintenance, validate completely, then rename to shared-v1.1; do not retain duplicate published trees. See MIGRATION.md."
1249
+ },
1250
+ "tensor_attributes": {
1251
+ "visibility": {
1252
+ "storage_profile": "pt/tensor_bundle/v1",
1253
+ "allowed_dtypes": [
1254
+ "bool",
1255
+ "float32"
1256
+ ],
1257
+ "visibility_types": [
1258
+ "boolean",
1259
+ "ratio"
1260
+ ],
1261
+ "ratio_range": [
1262
+ 0,
1263
+ 1
1264
+ ],
1265
+ "scopes": {
1266
+ "whole_hand": {
1267
+ "shape": [
1268
+ "T",
1269
+ 2
1270
+ ],
1271
+ "valid_shape": [
1272
+ "T",
1273
+ 2
1274
+ ]
1275
+ },
1276
+ "hand_keypoint": {
1277
+ "shape": [
1278
+ "T",
1279
+ 2,
1280
+ "K"
1281
+ ],
1282
+ "valid_shape": [
1283
+ "T",
1284
+ 2,
1285
+ "K"
1286
+ ]
1287
+ },
1288
+ "object": {
1289
+ "shape": [
1290
+ "T"
1291
+ ],
1292
+ "valid_shape": [
1293
+ "T"
1294
+ ]
1295
+ }
1296
+ },
1297
+ "required_metadata": [
1298
+ "data_ref",
1299
+ "data_key",
1300
+ "axes",
1301
+ "dtype",
1302
+ "visibility_type",
1303
+ "meaning",
1304
+ "valid_ref",
1305
+ "valid_key",
1306
+ "valid_axes",
1307
+ "storage",
1308
+ "valid_storage",
1309
+ "provenance",
1310
+ "source_locator"
1311
+ ],
1312
+ "valid_dtype": "bool",
1313
+ "unknown": "valid=false; ratio data NaN; boolean data is not interpretable without valid",
1314
+ "all_known": "explicit all-true bool tensor; do not infer from pose validity",
1315
+ "note": "No source visibility means omit. Expand explicitly declared all-known scalar validity during migration without changing semantics."
1316
+ }
1317
+ },
1318
+ "tensor_bundles": {
1319
+ "camera": {
1320
+ "path": "camera/camera.pt",
1321
+ "entries": {
1322
+ "intrinsic": {
1323
+ "schema_ids": [
1324
+ "camera/pinhole/v1",
1325
+ "camera/rational8/v1",
1326
+ "camera/opencv_fisheye4/v1",
1327
+ "camera/fisheye624/v1"
1328
+ ]
1329
+ },
1330
+ "extrinsic": {
1331
+ "schema_ids": [
1332
+ "transform/se3/v1"
1333
+ ]
1334
+ },
1335
+ "distortion": {
1336
+ "schema_ids": [
1337
+ "camera/distortion8/v1",
1338
+ "camera/fisheye4_distortion/v1"
1339
+ ]
1340
+ }
1341
+ }
1342
+ },
1343
+ "mano": {
1344
+ "path": "annotation/mano/mano.pt",
1345
+ "entries": {
1346
+ "motion": {
1347
+ "schema_ids": [
1348
+ "mano/axis_angle61/v1"
1349
+ ]
1350
+ },
1351
+ "visibility": {
1352
+ "attribute_id": "visibility",
1353
+ "scope": "whole_hand"
1354
+ }
1355
+ }
1356
+ },
1357
+ "keypoints": {
1358
+ "path": "annotation/keypoints/keypoints.pt",
1359
+ "entries": {
1360
+ "uv": {
1361
+ "schema_ids": [
1362
+ "keypoints/uv/v1"
1363
+ ]
1364
+ },
1365
+ "xyz": {
1366
+ "schema_ids": [
1367
+ "keypoints/xyz/v1"
1368
+ ]
1369
+ },
1370
+ "visibility": {
1371
+ "attribute_id": "visibility",
1372
+ "scope": "hand_keypoint"
1373
+ },
1374
+ "whole_hand_visibility": {
1375
+ "attribute_id": "visibility",
1376
+ "scope": "whole_hand"
1377
+ }
1378
+ }
1379
+ },
1380
+ "object": {
1381
+ "path": "annotation/object/<object_id>/object.pt",
1382
+ "entries": {
1383
+ "pose": {
1384
+ "schema_ids": [
1385
+ "object/rigid/v1"
1386
+ ]
1387
+ },
1388
+ "visibility": {
1389
+ "attribute_id": "visibility",
1390
+ "scope": "object"
1391
+ },
1392
+ "dimensions": {
1393
+ "schema_ids": [
1394
+ "object/dimensions/v1"
1395
+ ]
1396
+ },
1397
+ "joint_state": {
1398
+ "schema_ids": [
1399
+ "object/joint_state/v1"
1400
+ ]
1401
+ },
1402
+ "keypoints/xyz": {
1403
+ "schema_ids": [
1404
+ "object_keypoints/camera/v1"
1405
+ ]
1406
+ },
1407
+ "keypoints/template_xyz": {
1408
+ "schema_ids": [
1409
+ "object_keypoints/template/v1"
1410
+ ]
1411
+ },
1412
+ "parts/<part_id>/pose": {
1413
+ "schema_ids": [
1414
+ "transform/se3/v1"
1415
+ ],
1416
+ "convention": "T_camera_from_part"
1417
+ },
1418
+ "parts/<part_id>/dimensions": {
1419
+ "schema_ids": [
1420
+ "object/dimensions/v1"
1421
+ ]
1422
+ },
1423
+ "parts/<part_id>/keypoints/xyz": {
1424
+ "schema_ids": [
1425
+ "object_keypoints/camera/v1"
1426
+ ]
1427
+ },
1428
+ "parts/<part_id>/keypoints/template_xyz": {
1429
+ "schema_ids": [
1430
+ "object_keypoints/template/v1"
1431
+ ],
1432
+ "coordinate_frame": "part"
1433
+ },
1434
+ "meshes/<mesh_id>/vertex_part_ids": {
1435
+ "schema_ids": [
1436
+ "object/vertex_part_ids/v1"
1437
+ ]
1438
+ }
1439
+ }
1440
+ },
1441
+ "contact_pair": {
1442
+ "path": "annotation/contact/<subject_id>__<object_id>/contact.pt",
1443
+ "entries": {
1444
+ "vertex_region": {
1445
+ "schema_ids": [
1446
+ "contact/vertex_region/v1"
1447
+ ]
1448
+ },
1449
+ "vertex_distance": {
1450
+ "schema_ids": [
1451
+ "contact/vertex_distance/v1"
1452
+ ]
1453
+ }
1454
+ }
1455
+ }
1456
+ },
1457
+ "bundle_layout_rules": {
1458
+ "entry_path_syntax": "Slash-separated dictionary keys in this registry only; serialize references as string arrays. Angle-bracket placeholders resolve to registered IDs, not literal keys.",
1459
+ "entry_leaves": [
1460
+ "data",
1461
+ "valid"
1462
+ ],
1463
+ "additional_entries": false,
1464
+ "all_entries_optional": true,
1465
+ "omit_empty_bundles": true,
1466
+ "identifiers": "object/part/mesh and contact entity IDs must resolve in metadata; reject empty, dot, dot-dot or slash-containing IDs",
1467
+ "per_view": true,
1468
+ "no_cross_object_or_camera_merge": true,
1469
+ "numeric_field_valid_ref_equals_data_ref": true,
1470
+ "attributes_must_be_registered": true
1471
+ },
1472
+ "reference_rules": {
1473
+ "file_paths": {
1474
+ "base": "current camera view root",
1475
+ "format": "relative POSIX",
1476
+ "reject": [
1477
+ "absolute paths",
1478
+ "parent traversal",
1479
+ "external URLs",
1480
+ "unresolved placeholders"
1481
+ ]
1482
+ },
1483
+ "dictionary_keys": {
1484
+ "type": "array",
1485
+ "item_type": "nonempty_string",
1486
+ "min_items": 1,
1487
+ "traversal": "literal nested dictionary lookup; never eval; no automatic flattening",
1488
+ "data_terminal": "data",
1489
+ "valid_terminal": "valid",
1490
+ "target_type": "CPU torch.Tensor"
1491
+ },
1492
+ "bundle_component": {
1493
+ "required": [
1494
+ "data_ref",
1495
+ "data_key",
1496
+ "valid_ref",
1497
+ "valid_key",
1498
+ "storage",
1499
+ "valid_storage"
1500
+ ],
1501
+ "same_file": true,
1502
+ "same_entry_prefix": true,
1503
+ "storage_profile": "pt/tensor_bundle/v1",
1504
+ "valid_storage_profile": "pt/tensor_bundle/v1"
1505
+ },
1506
+ "media_jsonl": {
1507
+ "forbidden": [
1508
+ "data_key",
1509
+ "valid_key"
1510
+ ],
1511
+ "preserve_original_valid_ref": true,
1512
+ "standalone_valid_pt_root": "CPU bool torch.Tensor; not dict",
1513
+ "do_not_label_standalone_valid_as_bundle": true
1514
+ },
1515
+ "camera_distortion": {
1516
+ "models": {
1517
+ "rational8": "camera/distortion8/v1",
1518
+ "opencv_fisheye4": "camera/fisheye4_distortion/v1"
1519
+ },
1520
+ "required": [
1521
+ "distortion_ref",
1522
+ "distortion_key",
1523
+ "distortion_valid_ref",
1524
+ "distortion_valid_key"
1525
+ ],
1526
+ "distortion_ref": "camera/camera.pt",
1527
+ "distortion_key": [
1528
+ "distortion",
1529
+ "data"
1530
+ ],
1531
+ "distortion_valid_ref": "camera/camera.pt",
1532
+ "distortion_valid_key": [
1533
+ "distortion",
1534
+ "valid"
1535
+ ],
1536
+ "valid_equals_intrinsic_valid": true,
1537
+ "models_without_separate_distortion": [
1538
+ "pinhole",
1539
+ "fisheye624"
1540
+ ]
1541
+ },
1542
+ "reader_cache": "Cache bundle by resolved file path; loading different fields must not repeatedly deserialize the file."
1543
+ },
1544
+ "standalone_validity": {
1545
+ "rgb": {
1546
+ "data_ref": "observation/rgb.mkv",
1547
+ "valid_ref": "observation/rgb_valid.pt",
1548
+ "dtype": "bool",
1549
+ "shape": [
1550
+ "T"
1551
+ ],
1552
+ "container": "pt",
1553
+ "root_type": "CPU Tensor"
1554
+ },
1555
+ "segment": {
1556
+ "data_refs": [
1557
+ "annotation/segment/mask.mkv",
1558
+ "annotation/segment/polygons.jsonl"
1559
+ ],
1560
+ "valid_ref": "preserve source release reference; normally annotation/segment/mask_valid.pt",
1561
+ "dtype": "bool",
1562
+ "shape": [
1563
+ "T"
1564
+ ],
1565
+ "container": "pt",
1566
+ "root_type": "CPU Tensor"
1567
+ },
1568
+ "relations": {
1569
+ "data_ref": "annotation/contact/relations.jsonl",
1570
+ "valid_ref": "annotation/contact/relations_valid.pt",
1571
+ "dtype": "bool",
1572
+ "shape": [
1573
+ "T"
1574
+ ],
1575
+ "container": "pt",
1576
+ "root_type": "CPU Tensor"
1577
+ },
1578
+ "depth": {
1579
+ "data_ref": "observation/depth.mkv",
1580
+ "valid_ref": "observation/depth_valid.mkv",
1581
+ "dtype": "bool",
1582
+ "shape": [
1583
+ "T",
1584
+ "H",
1585
+ "W"
1586
+ ],
1587
+ "profile": "mkv/bool_ffv1/v1"
1588
+ }
1589
+ }
1590
+ }
RHD/shared-v1.1/doc/validation/V1_1_VALIDATION.json ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "evaluation_00000000/camera",
3
+ "sequence_id": "evaluation_00000000",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "test",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 256,
108
+ 384,
109
+ 395,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 148,
124
+ "near_plane_points": 5,
125
+ "comparable_points": 21351,
126
+ "in_frame_points": 14773,
127
+ "outside_frame_points": 6578,
128
+ "median_px": 0.0386,
129
+ "in_frame_max_px": 0.1246,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 6505,
133
+ "outside_frame_max_px": 57.4024,
134
+ "outside_frame_max_px_uv_scale": 140200.0,
135
+ "outside_frame_max_relative": 0.0167,
136
+ "outside_frame_max_relative_px": 0.0448,
137
+ "outside_frame_max_relative_uv_scale": 2.677,
138
+ "worst_frame": 395,
139
+ "worst_frame_in_frame_max_px": 0.1246,
140
+ "visibility_true": 14278,
141
+ "visible_outside_frame": 0,
142
+ "visible_outside_frame_max_px": null,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 495,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 169,
150
+ "off_image": 83,
151
+ "uv_compared": 169,
152
+ "uv_within_1px": 169,
153
+ "uv_within_tolerance": 169,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 21,
161
+ "outside_frame_points": 21,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 21,
164
+ "uv_median_px": 0.0309,
165
+ "uv_max_px": 0.0561,
166
+ "uv_within_1px": 21,
167
+ "uv_within_tolerance": 21,
168
+ "outside_uv_max_px": 0.0619,
169
+ "outside_uv_max_relative": 0.000331
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 22,
177
+ "outside_frame_points": 20,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 22,
180
+ "uv_median_px": 0.036,
181
+ "uv_max_px": 0.0646,
182
+ "uv_within_1px": 22,
183
+ "uv_within_tolerance": 22,
184
+ "outside_uv_max_px": 0.08,
185
+ "outside_uv_max_relative": 0.000341
186
+ },
187
+ "256": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 21,
193
+ "outside_frame_points": 21,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 21,
196
+ "uv_median_px": 0.0359,
197
+ "uv_max_px": 0.0527,
198
+ "uv_within_1px": 21,
199
+ "uv_within_tolerance": 21,
200
+ "outside_uv_max_px": 0.1045,
201
+ "outside_uv_max_relative": 0.00029
202
+ },
203
+ "384": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0417,
213
+ "uv_max_px": 0.0583,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.8179,
217
+ "outside_uv_max_relative": 0.000436
218
+ },
219
+ "395": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 42,
225
+ "outside_frame_points": 0,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 42,
228
+ "uv_median_px": 0.0369,
229
+ "uv_max_px": 0.1246,
230
+ "uv_within_1px": 42,
231
+ "uv_within_tolerance": 42,
232
+ "outside_uv_max_px": null,
233
+ "outside_uv_max_relative": null
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 42,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 42,
244
+ "uv_median_px": 0.0407,
245
+ "uv_max_px": 0.0637,
246
+ "uv_within_1px": 42,
247
+ "uv_within_tolerance": 42,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "evaluation_00000512/camera",
3
+ "sequence_id": "evaluation_00000512",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "test",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 88,
107
+ 128,
108
+ 256,
109
+ 384,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 157,
124
+ "near_plane_points": 1,
125
+ "comparable_points": 21346,
126
+ "in_frame_points": 15291,
127
+ "outside_frame_points": 6055,
128
+ "median_px": 0.0385,
129
+ "in_frame_max_px": 0.1171,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 5983,
133
+ "outside_frame_max_px": 26.241,
134
+ "outside_frame_max_px_uv_scale": 66440.0,
135
+ "outside_frame_max_relative": 0.00374,
136
+ "outside_frame_max_relative_px": 0.0342,
137
+ "outside_frame_max_relative_uv_scale": 9.142,
138
+ "worst_frame": 88,
139
+ "worst_frame_in_frame_max_px": 0.1171,
140
+ "visibility_true": 14836,
141
+ "visible_outside_frame": 1,
142
+ "visible_outside_frame_max_px": 0.0326,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 456,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 144,
150
+ "off_image": 108,
151
+ "uv_compared": 144,
152
+ "uv_within_1px": 144,
153
+ "uv_within_tolerance": 144,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 21,
161
+ "outside_frame_points": 21,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 21,
164
+ "uv_median_px": 0.0401,
165
+ "uv_max_px": 0.0634,
166
+ "uv_within_1px": 21,
167
+ "uv_within_tolerance": 21,
168
+ "outside_uv_max_px": 0.0766,
169
+ "outside_uv_max_relative": 0.000362
170
+ },
171
+ "88": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 39,
177
+ "outside_frame_points": 3,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 39,
180
+ "uv_median_px": 0.0414,
181
+ "uv_max_px": 0.1171,
182
+ "uv_within_1px": 39,
183
+ "uv_within_tolerance": 39,
184
+ "outside_uv_max_px": 0.07,
185
+ "outside_uv_max_relative": 0.000218
186
+ },
187
+ "128": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 21,
193
+ "outside_frame_points": 21,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 21,
196
+ "uv_median_px": 0.0303,
197
+ "uv_max_px": 0.0728,
198
+ "uv_within_1px": 21,
199
+ "uv_within_tolerance": 21,
200
+ "outside_uv_max_px": 0.0803,
201
+ "outside_uv_max_relative": 0.000229
202
+ },
203
+ "256": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0358,
213
+ "uv_max_px": 0.0649,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.0907,
217
+ "outside_uv_max_relative": 0.000183
218
+ },
219
+ "384": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 21,
225
+ "outside_frame_points": 21,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 21,
228
+ "uv_median_px": 0.0373,
229
+ "uv_max_px": 0.0623,
230
+ "uv_within_1px": 21,
231
+ "uv_within_tolerance": 21,
232
+ "outside_uv_max_px": 0.0757,
233
+ "outside_uv_max_relative": 0.000213
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 21,
241
+ "outside_frame_points": 21,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 21,
244
+ "uv_median_px": 0.0397,
245
+ "uv_max_px": 0.056,
246
+ "uv_within_1px": 21,
247
+ "uv_within_tolerance": 21,
248
+ "outside_uv_max_px": 0.1077,
249
+ "outside_uv_max_relative": 0.000555
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "evaluation_00001024/camera",
3
+ "sequence_id": "evaluation_00001024",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "test",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 145,
108
+ 256,
109
+ 384,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 331,
124
+ "near_plane_points": 4,
125
+ "comparable_points": 21169,
126
+ "in_frame_points": 15642,
127
+ "outside_frame_points": 5527,
128
+ "median_px": 0.0382,
129
+ "in_frame_max_px": 0.1224,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 5458,
133
+ "outside_frame_max_px": 41.5559,
134
+ "outside_frame_max_px_uv_scale": 151400.0,
135
+ "outside_frame_max_relative": 0.0031,
136
+ "outside_frame_max_relative_px": 0.0741,
137
+ "outside_frame_max_relative_uv_scale": 23.9,
138
+ "worst_frame": 145,
139
+ "worst_frame_in_frame_max_px": 0.1224,
140
+ "visibility_true": 15181,
141
+ "visible_outside_frame": 0,
142
+ "visible_outside_frame_max_px": null,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 461,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 159,
150
+ "off_image": 93,
151
+ "uv_compared": 159,
152
+ "uv_within_1px": 159,
153
+ "uv_within_tolerance": 159,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 30,
161
+ "outside_frame_points": 12,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 30,
164
+ "uv_median_px": 0.0303,
165
+ "uv_max_px": 0.0614,
166
+ "uv_within_1px": 30,
167
+ "uv_within_tolerance": 30,
168
+ "outside_uv_max_px": 0.028,
169
+ "outside_uv_max_relative": 0.000341
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 21,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0321,
181
+ "uv_max_px": 0.0553,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": 0.0278,
185
+ "outside_uv_max_relative": 0.000424
186
+ },
187
+ "145": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 42,
193
+ "outside_frame_points": 0,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 42,
196
+ "uv_median_px": 0.0412,
197
+ "uv_max_px": 0.1224,
198
+ "uv_within_1px": 42,
199
+ "uv_within_tolerance": 42,
200
+ "outside_uv_max_px": null,
201
+ "outside_uv_max_relative": null
202
+ },
203
+ "256": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0465,
213
+ "uv_max_px": 0.0679,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.0796,
217
+ "outside_uv_max_relative": 0.000264
218
+ },
219
+ "384": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 24,
225
+ "outside_frame_points": 18,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 24,
228
+ "uv_median_px": 0.0345,
229
+ "uv_max_px": 0.0664,
230
+ "uv_within_1px": 24,
231
+ "uv_within_tolerance": 24,
232
+ "outside_uv_max_px": 0.075,
233
+ "outside_uv_max_relative": 0.00021
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 21,
241
+ "outside_frame_points": 21,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 21,
244
+ "uv_median_px": 0.0267,
245
+ "uv_max_px": 0.0643,
246
+ "uv_within_1px": 21,
247
+ "uv_within_tolerance": 21,
248
+ "outside_uv_max_px": 0.0822,
249
+ "outside_uv_max_relative": 0.000218
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "evaluation_00001536/camera",
3
+ "sequence_id": "evaluation_00001536",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "test",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 21,
107
+ 128,
108
+ 256,
109
+ 384,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 106,
124
+ "near_plane_points": 1,
125
+ "comparable_points": 21397,
126
+ "in_frame_points": 15482,
127
+ "outside_frame_points": 5915,
128
+ "median_px": 0.0387,
129
+ "in_frame_max_px": 0.1266,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 5853,
133
+ "outside_frame_max_px": 33.0275,
134
+ "outside_frame_max_px_uv_scale": 101600.0,
135
+ "outside_frame_max_relative": 0.00858,
136
+ "outside_frame_max_relative_px": 0.0342,
137
+ "outside_frame_max_relative_uv_scale": 3.98,
138
+ "worst_frame": 21,
139
+ "worst_frame_in_frame_max_px": 0.1266,
140
+ "visibility_true": 15082,
141
+ "visible_outside_frame": 1,
142
+ "visible_outside_frame_max_px": 0.0201,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 401,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 251,
149
+ "inside": 214,
150
+ "off_image": 37,
151
+ "uv_compared": 214,
152
+ "uv_within_1px": 214,
153
+ "uv_within_tolerance": 214,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 41,
158
+ "behind_plane_points": 1,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 21,
161
+ "outside_frame_points": 20,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 21,
164
+ "uv_median_px": 0.0443,
165
+ "uv_max_px": 0.0586,
166
+ "uv_within_1px": 21,
167
+ "uv_within_tolerance": 21,
168
+ "outside_uv_max_px": 1.7181,
169
+ "outside_uv_max_relative": 0.00046
170
+ },
171
+ "21": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 42,
177
+ "outside_frame_points": 0,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 42,
180
+ "uv_median_px": 0.0411,
181
+ "uv_max_px": 0.1266,
182
+ "uv_within_1px": 42,
183
+ "uv_within_tolerance": 42,
184
+ "outside_uv_max_px": null,
185
+ "outside_uv_max_relative": null
186
+ },
187
+ "128": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 42,
193
+ "outside_frame_points": 0,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 42,
196
+ "uv_median_px": 0.0378,
197
+ "uv_max_px": 0.0601,
198
+ "uv_within_1px": 42,
199
+ "uv_within_tolerance": 42,
200
+ "outside_uv_max_px": null,
201
+ "outside_uv_max_relative": null
202
+ },
203
+ "256": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 42,
209
+ "outside_frame_points": 0,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 42,
212
+ "uv_median_px": 0.0388,
213
+ "uv_max_px": 0.0902,
214
+ "uv_within_1px": 42,
215
+ "uv_within_tolerance": 42,
216
+ "outside_uv_max_px": null,
217
+ "outside_uv_max_relative": null
218
+ },
219
+ "384": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 25,
225
+ "outside_frame_points": 17,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 25,
228
+ "uv_median_px": 0.0386,
229
+ "uv_max_px": 0.0657,
230
+ "uv_within_1px": 25,
231
+ "uv_within_tolerance": 25,
232
+ "outside_uv_max_px": 0.0531,
233
+ "outside_uv_max_relative": 0.000389
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 42,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 42,
244
+ "uv_median_px": 0.0398,
245
+ "uv_max_px": 0.0615,
246
+ "uv_within_1px": 42,
247
+ "uv_within_tolerance": 42,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "evaluation_00002048/camera",
3
+ "sequence_id": "evaluation_00002048",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "test",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 256,
108
+ 384,
109
+ 474,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 114,
124
+ "near_plane_points": 3,
125
+ "comparable_points": 21387,
126
+ "in_frame_points": 15121,
127
+ "outside_frame_points": 6266,
128
+ "median_px": 0.0384,
129
+ "in_frame_max_px": 0.118,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 6213,
133
+ "outside_frame_max_px": 14.3814,
134
+ "outside_frame_max_px_uv_scale": 46020.0,
135
+ "outside_frame_max_relative": 0.00308,
136
+ "outside_frame_max_relative_px": 0.0692,
137
+ "outside_frame_max_relative_uv_scale": 22.49,
138
+ "worst_frame": 474,
139
+ "worst_frame_in_frame_max_px": 0.118,
140
+ "visibility_true": 14692,
141
+ "visible_outside_frame": 2,
142
+ "visible_outside_frame_max_px": 0.0713,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 431,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 198,
150
+ "off_image": 54,
151
+ "uv_compared": 198,
152
+ "uv_within_1px": 198,
153
+ "uv_within_tolerance": 198,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 42,
161
+ "outside_frame_points": 0,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 42,
164
+ "uv_median_px": 0.037,
165
+ "uv_max_px": 0.0824,
166
+ "uv_within_1px": 42,
167
+ "uv_within_tolerance": 42,
168
+ "outside_uv_max_px": null,
169
+ "outside_uv_max_relative": null
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 40,
177
+ "outside_frame_points": 2,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 40,
180
+ "uv_median_px": 0.0355,
181
+ "uv_max_px": 0.0651,
182
+ "uv_within_1px": 40,
183
+ "uv_within_tolerance": 40,
184
+ "outside_uv_max_px": 0.0323,
185
+ "outside_uv_max_relative": 0.000106
186
+ },
187
+ "256": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 21,
193
+ "outside_frame_points": 21,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 21,
196
+ "uv_median_px": 0.0394,
197
+ "uv_max_px": 0.0658,
198
+ "uv_within_1px": 21,
199
+ "uv_within_tolerance": 21,
200
+ "outside_uv_max_px": 0.3098,
201
+ "outside_uv_max_relative": 0.000903
202
+ },
203
+ "384": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 22,
209
+ "outside_frame_points": 20,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 22,
212
+ "uv_median_px": 0.0404,
213
+ "uv_max_px": 0.0542,
214
+ "uv_within_1px": 22,
215
+ "uv_within_tolerance": 22,
216
+ "outside_uv_max_px": 0.0818,
217
+ "outside_uv_max_relative": 0.000281
218
+ },
219
+ "474": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 39,
225
+ "outside_frame_points": 3,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 39,
228
+ "uv_median_px": 0.0429,
229
+ "uv_max_px": 0.118,
230
+ "uv_within_1px": 39,
231
+ "uv_within_tolerance": 39,
232
+ "outside_uv_max_px": 0.0508,
233
+ "outside_uv_max_relative": 0.000156
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 34,
241
+ "outside_frame_points": 8,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 34,
244
+ "uv_median_px": 0.0351,
245
+ "uv_max_px": 0.0671,
246
+ "uv_within_1px": 34,
247
+ "uv_within_tolerance": 34,
248
+ "outside_uv_max_px": 0.0758,
249
+ "outside_uv_max_relative": 0.000214
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "evaluation_00002560/camera",
3
+ "sequence_id": "evaluation_00002560",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "test",
7
+ "num_frames": 168,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 168,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 168,
25
+ "valid_total": 168,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 168,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 7056,
37
+ "valid_total": 7056,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 168,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 7056,
48
+ "valid_total": 7056,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 168,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 7056,
60
+ "valid_total": 7056,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 168,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 7056,
71
+ "valid_total": 7056,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 42,
107
+ 46,
108
+ 84,
109
+ 126,
110
+ 167
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 168,
122
+ "points_scanned": 7056,
123
+ "behind_plane_points": 55,
124
+ "near_plane_points": 1,
125
+ "comparable_points": 7000,
126
+ "in_frame_points": 4718,
127
+ "outside_frame_points": 2282,
128
+ "median_px": 0.0386,
129
+ "in_frame_max_px": 0.0988,
130
+ "frames_with_in_frame_points": 168,
131
+ "frames_all_in_frame_points_within_1px": 168,
132
+ "outside_frame_within_1px": 2255,
133
+ "outside_frame_max_px": 21.5986,
134
+ "outside_frame_max_px_uv_scale": 84390.0,
135
+ "outside_frame_max_relative": 0.00594,
136
+ "outside_frame_max_relative_px": 0.0447,
137
+ "outside_frame_max_relative_uv_scale": 7.525,
138
+ "worst_frame": 46,
139
+ "worst_frame_in_frame_max_px": 0.0988,
140
+ "visibility_true": 4558,
141
+ "visible_outside_frame": 0,
142
+ "visible_outside_frame_max_px": null,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 160,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 180,
150
+ "off_image": 72,
151
+ "uv_compared": 180,
152
+ "uv_within_1px": 180,
153
+ "uv_within_tolerance": 180,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 42,
161
+ "outside_frame_points": 0,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 42,
164
+ "uv_median_px": 0.0358,
165
+ "uv_max_px": 0.059,
166
+ "uv_within_1px": 42,
167
+ "uv_within_tolerance": 42,
168
+ "outside_uv_max_px": null,
169
+ "outside_uv_max_relative": null
170
+ },
171
+ "42": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 21,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0384,
181
+ "uv_max_px": 0.0699,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": 0.162,
185
+ "outside_uv_max_relative": 0.000354
186
+ },
187
+ "46": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 40,
193
+ "outside_frame_points": 2,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 40,
196
+ "uv_median_px": 0.0439,
197
+ "uv_max_px": 0.0988,
198
+ "uv_within_1px": 40,
199
+ "uv_within_tolerance": 40,
200
+ "outside_uv_max_px": 0.0316,
201
+ "outside_uv_max_relative": 9.83e-05
202
+ },
203
+ "84": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 35,
209
+ "outside_frame_points": 7,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 35,
212
+ "uv_median_px": 0.0405,
213
+ "uv_max_px": 0.0746,
214
+ "uv_within_1px": 35,
215
+ "uv_within_tolerance": 35,
216
+ "outside_uv_max_px": 0.0877,
217
+ "outside_uv_max_relative": 0.000261
218
+ },
219
+ "126": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 21,
225
+ "outside_frame_points": 21,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 21,
228
+ "uv_median_px": 0.0387,
229
+ "uv_max_px": 0.0693,
230
+ "uv_within_1px": 21,
231
+ "uv_within_tolerance": 21,
232
+ "outside_uv_max_px": 0.0846,
233
+ "outside_uv_max_relative": 0.000226
234
+ },
235
+ "167": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 21,
241
+ "outside_frame_points": 21,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 21,
244
+ "uv_median_px": 0.0286,
245
+ "uv_max_px": 0.0598,
246
+ "uv_within_1px": 21,
247
+ "uv_within_tolerance": 21,
248
+ "outside_uv_max_px": 0.2054,
249
+ "outside_uv_max_relative": 0.000282
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/index.html ADDED
@@ -0,0 +1 @@
 
 
1
+ <!doctype html><html lang="zh"><meta charset="utf-8"><title>RHD shared-v1.1 review</title><style>body{font:16px sans-serif;max-width:1100px;margin:auto;padding:1rem;background:#f5f7fa;color:#18232f;line-height:1.5}.legend{background:#eef3fa;border-left:3px solid #4a76a8;padding:.6rem;font-size:.9rem;max-width:800px}.swatch{border:1px solid #b9c3d0}table{border-collapse:collapse;width:100%}td,th{border:1px solid #ccd3de;padding:4px 8px;text-align:left;font-size:.9rem}</style><h1>RHD shared-v1.1 全量后抽样人工复查</h1><p>数值按字节一致(CONTRACT §6);媒体不重新编码,与 v1.0 共享 inode。抽样规则与种子见 V1_1_VALIDATION.json,本页所列视图即全部入选视图:12 个视图 / 12 段(评估 split 全 6 片 + 训练 split 抽 6 片)。全量读取器 sweep 的 87/87 结果见 <code>read_sequence_sweep.json</code>,逐字段字节验收见 <code>validate_report.json</code> 与发布树外的 <code>tmp/rhd-tools/acceptance.json</code>。</p><p class="legend">配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 <code>../history-v1.0/validation/</code> 里的 24 张抽查页并排读:<span class="swatch" style="background:rgb(255,90,70)">&nbsp;&nbsp;&nbsp;</span> 左手 · <span class="swatch" style="background:rgb(30,180,255)">&nbsp;&nbsp;&nbsp;</span> 右手<br>手槽取自发布的 <code>hand_slots: [left, right]</code>,21 个关节保持发布的近端→远端顺序(<code>keypoint_schema: rhd21/v1</code>,原生 tip→palm 已按 <code>source_index_map</code> 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。</p><p class="legend"><b>本页能做别人做不到的一件事</b>:RHD 同时发布了原生 2D 关键点(<code>uv</code>)和相机系 3D 关键点(<code>xyz</code>)以及同一套针孔 <code>K</code>,所以第 4 个面板可以把 <code>xyz</code> 经该视图自己的 <code>K</code> 投到像素上,再与发布的 <code>uv</code> 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的<code>projection.frames</code> 里,面板标题上也会写出中位与最大偏离;<b>偏差只被记录,不用来「修正」发布值</b>。</p><p>每页只解码该视图抽样的帧;抽样帧之外的帧不在页面里。但 <b>xyz↔uv 投影比对扫的是每个入选视图的全部帧</b>(纯张量运算,不解码像素),全量结果见 V1_1_VALIDATION.json 的 <code>projection_qc</code>。表里的「画内」是发布的 uv 落在 320×320 内的关节数(RHD 每图标注双手,通常只有一只在画内,故画外关节占多数,属正常形态);「画内最坏点」只统计画内点的最大像素偏差。画外点的 uv 是原始投影、可以任意大,像素阈值对它没有意义,故按其自身量级核验,且两个极值各自带上它自己的坐标量级(见 V1_1_VALIDATION.json 的 <code>outside_frame_max_px_uv_scale</code> 与 <code>outside_frame_max_relative_uv_scale</code>)。深度 ≤0 或 &lt;1 mm 的关节不参与像素比较,只计数。v1.0 的 24 张抽查页见 <code>../history-v1.0/validation/</code>。</p><table><tr><th>视图</th><th>split</th><th>帧数</th><th>本页抽样帧</th><th>画内 / 全部关节</th><th>画内偏差中位</th><th>画内最坏点</th><th>画内点全部≤1px 的帧</th><th>画外点绝对偏差≤1px</th><th>标为可见却在画外</th></tr><tr><td><a href="evaluation_00000000_camera.html">evaluation_00000000/camera</a></td><td>test</td><td>512</td><td>6</td><td>14773 / 21504</td><td>0.0386 px</td><td>0.1246 px</td><td>512 / 512</td><td>6505 / 6578</td><td>0</td></tr><tr><td><a href="evaluation_00000512_camera.html">evaluation_00000512/camera</a></td><td>test</td><td>512</td><td>6</td><td>15291 / 21504</td><td>0.0385 px</td><td>0.1171 px</td><td>512 / 512</td><td>5983 / 6055</td><td>1</td></tr><tr><td><a href="evaluation_00001024_camera.html">evaluation_00001024/camera</a></td><td>test</td><td>512</td><td>6</td><td>15642 / 21504</td><td>0.0382 px</td><td>0.1224 px</td><td>512 / 512</td><td>5458 / 5527</td><td>0</td></tr><tr><td><a href="evaluation_00001536_camera.html">evaluation_00001536/camera</a></td><td>test</td><td>512</td><td>6</td><td>15482 / 21504</td><td>0.0387 px</td><td>0.1266 px</td><td>512 / 512</td><td>5853 / 5915</td><td>1</td></tr><tr><td><a href="evaluation_00002048_camera.html">evaluation_00002048/camera</a></td><td>test</td><td>512</td><td>6</td><td>15121 / 21504</td><td>0.0384 px</td><td>0.118 px</td><td>512 / 512</td><td>6213 / 6266</td><td>2</td></tr><tr><td><a href="evaluation_00002560_camera.html">evaluation_00002560/camera</a></td><td>test</td><td>168</td><td>6</td><td>4718 / 7056</td><td>0.0386 px</td><td>0.0988 px</td><td>168 / 168</td><td>2255 / 2282</td><td>0</td></tr><tr><td><a href="training_00009728_camera.html">training_00009728/camera</a></td><td>train</td><td>512</td><td>6</td><td>15868 / 21504</td><td>0.0388 px</td><td>0.1329 px</td><td>512 / 512</td><td>5074 / 5130</td><td>1</td></tr><tr><td><a href="training_00011264_camera.html">training_00011264/camera</a></td><td>train</td><td>512</td><td>6</td><td>15788 / 21504</td><td>0.0386 px</td><td>0.137 px</td><td>512 / 512</td><td>4989 / 5119</td><td>3</td></tr><tr><td><a href="training_00031232_camera.html">training_00031232/camera</a></td><td>train</td><td>512</td><td>6</td><td>16177 / 21504</td><td>0.0389 px</td><td>0.144 px</td><td>512 / 512</td><td>4364 / 4443</td><td>0</td></tr><tr><td><a href="training_00035328_camera.html">training_00035328/camera</a></td><td>train</td><td>512</td><td>6</td><td>15585 / 21504</td><td>0.039 px</td><td>0.1498 px</td><td>512 / 512</td><td>5171 / 5261</td><td>1</td></tr><tr><td><a href="training_00038400_camera.html">training_00038400/camera</a></td><td>train</td><td>512</td><td>6</td><td>16269 / 21504</td><td>0.0389 px</td><td>0.13 px</td><td>512 / 512</td><td>4568 / 4713</td><td>2</td></tr><tr><td><a href="training_00040960_camera.html">training_00040960/camera</a></td><td>train</td><td>298</td><td>6</td><td>9242 / 12516</td><td>0.0389 px</td><td>0.1248 px</td><td>298 / 298</td><td>2855 / 2898</td><td>0</td></tr></table><ul><li><a href="../CONTRACT.md">CONTRACT.md</a></li><li><a href="../RAW_MAPPING.md">RAW_MAPPING.md</a></li><li><a href="../REPORT.md">REPORT.md</a></li><li><a href="../FULL_MIGRATION_SUMMARY.json">FULL_MIGRATION_SUMMARY.json</a></li><li><a href="V1_1_VALIDATION.json">V1_1_VALIDATION.json</a></li></ul><ul><li><a href="evaluation_00000000_camera.html">evaluation_00000000_camera.html</a></li><li><a href="evaluation_00000512_camera.html">evaluation_00000512_camera.html</a></li><li><a href="evaluation_00001024_camera.html">evaluation_00001024_camera.html</a></li><li><a href="evaluation_00001536_camera.html">evaluation_00001536_camera.html</a></li><li><a href="evaluation_00002048_camera.html">evaluation_00002048_camera.html</a></li><li><a href="evaluation_00002560_camera.html">evaluation_00002560_camera.html</a></li><li><a href="training_00009728_camera.html">training_00009728_camera.html</a></li><li><a href="training_00011264_camera.html">training_00011264_camera.html</a></li><li><a href="training_00031232_camera.html">training_00031232_camera.html</a></li><li><a href="training_00035328_camera.html">training_00035328_camera.html</a></li><li><a href="training_00038400_camera.html">training_00038400_camera.html</a></li><li><a href="training_00040960_camera.html">training_00040960_camera.html</a></li></ul></html>
RHD/shared-v1.1/doc/validation/read_sequence_sweep.json ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00009728_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00009728_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "training_00009728/camera",
3
+ "sequence_id": "training_00009728",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "train",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 133,
108
+ 256,
109
+ 384,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 504,
124
+ "near_plane_points": 2,
125
+ "comparable_points": 20998,
126
+ "in_frame_points": 15868,
127
+ "outside_frame_points": 5130,
128
+ "median_px": 0.0388,
129
+ "in_frame_max_px": 0.1329,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 5074,
133
+ "outside_frame_max_px": 12.1337,
134
+ "outside_frame_max_px_uv_scale": 12900.0,
135
+ "outside_frame_max_relative": 0.00621,
136
+ "outside_frame_max_relative_px": 0.0443,
137
+ "outside_frame_max_relative_uv_scale": 7.132,
138
+ "worst_frame": 133,
139
+ "worst_frame_in_frame_max_px": 0.1329,
140
+ "visibility_true": 15470,
141
+ "visible_outside_frame": 1,
142
+ "visible_outside_frame_max_px": 0.034,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 399,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 231,
149
+ "inside": 183,
150
+ "off_image": 48,
151
+ "uv_compared": 183,
152
+ "uv_within_1px": 183,
153
+ "uv_within_tolerance": 183,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 22,
161
+ "outside_frame_points": 20,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 22,
164
+ "uv_median_px": 0.0371,
165
+ "uv_max_px": 0.0768,
166
+ "uv_within_1px": 22,
167
+ "uv_within_tolerance": 22,
168
+ "outside_uv_max_px": 0.1307,
169
+ "outside_uv_max_relative": 0.000364
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 42,
177
+ "outside_frame_points": 0,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 42,
180
+ "uv_median_px": 0.0438,
181
+ "uv_max_px": 0.0685,
182
+ "uv_within_1px": 42,
183
+ "uv_within_tolerance": 42,
184
+ "outside_uv_max_px": null,
185
+ "outside_uv_max_relative": null
186
+ },
187
+ "133": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 35,
193
+ "outside_frame_points": 7,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 35,
196
+ "uv_median_px": 0.0469,
197
+ "uv_max_px": 0.1329,
198
+ "uv_within_1px": 35,
199
+ "uv_within_tolerance": 35,
200
+ "outside_uv_max_px": 0.0729,
201
+ "outside_uv_max_relative": 0.000228
202
+ },
203
+ "256": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0423,
213
+ "uv_max_px": 0.0645,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.082,
217
+ "outside_uv_max_relative": 0.000216
218
+ },
219
+ "384": {
220
+ "annotated": true,
221
+ "valid_points": 21,
222
+ "behind_plane_points": 21,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 21,
225
+ "outside_frame_points": 0,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 21,
228
+ "uv_median_px": 0.0377,
229
+ "uv_max_px": 0.0549,
230
+ "uv_within_1px": 21,
231
+ "uv_within_tolerance": 21,
232
+ "outside_uv_max_px": null,
233
+ "outside_uv_max_relative": null
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 42,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 42,
244
+ "uv_median_px": 0.0356,
245
+ "uv_max_px": 0.0672,
246
+ "uv_within_1px": 42,
247
+ "uv_within_tolerance": 42,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/training_00011264_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00011264_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "training_00011264/camera",
3
+ "sequence_id": "training_00011264",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "train",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 256,
108
+ 384,
109
+ 453,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 593,
124
+ "near_plane_points": 4,
125
+ "comparable_points": 20907,
126
+ "in_frame_points": 15788,
127
+ "outside_frame_points": 5119,
128
+ "median_px": 0.0386,
129
+ "in_frame_max_px": 0.137,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 4989,
133
+ "outside_frame_max_px": 71.0867,
134
+ "outside_frame_max_px_uv_scale": 133800.0,
135
+ "outside_frame_max_relative": 0.00666,
136
+ "outside_frame_max_relative_px": 0.0441,
137
+ "outside_frame_max_relative_uv_scale": 6.616,
138
+ "worst_frame": 453,
139
+ "worst_frame_in_frame_max_px": 0.137,
140
+ "visibility_true": 15295,
141
+ "visible_outside_frame": 3,
142
+ "visible_outside_frame_max_px": 0.1051,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 496,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 205,
150
+ "off_image": 47,
151
+ "uv_compared": 205,
152
+ "uv_within_1px": 205,
153
+ "uv_within_tolerance": 205,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 42,
161
+ "outside_frame_points": 0,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 42,
164
+ "uv_median_px": 0.0445,
165
+ "uv_max_px": 0.0695,
166
+ "uv_within_1px": 42,
167
+ "uv_within_tolerance": 42,
168
+ "outside_uv_max_px": null,
169
+ "outside_uv_max_relative": null
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 21,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0404,
181
+ "uv_max_px": 0.0541,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": 0.2801,
185
+ "outside_uv_max_relative": 0.000363
186
+ },
187
+ "256": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 39,
193
+ "outside_frame_points": 3,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 39,
196
+ "uv_median_px": 0.037,
197
+ "uv_max_px": 0.0608,
198
+ "uv_within_1px": 39,
199
+ "uv_within_tolerance": 39,
200
+ "outside_uv_max_px": 0.0499,
201
+ "outside_uv_max_relative": 0.000449
202
+ },
203
+ "384": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0409,
213
+ "uv_max_px": 0.0689,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.1325,
217
+ "outside_uv_max_relative": 0.000504
218
+ },
219
+ "453": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 40,
225
+ "outside_frame_points": 2,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 40,
228
+ "uv_median_px": 0.0431,
229
+ "uv_max_px": 0.137,
230
+ "uv_within_1px": 40,
231
+ "uv_within_tolerance": 40,
232
+ "outside_uv_max_px": 0.0727,
233
+ "outside_uv_max_relative": 0.00155
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 42,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 42,
244
+ "uv_median_px": 0.0334,
245
+ "uv_max_px": 0.0571,
246
+ "uv_within_1px": 42,
247
+ "uv_within_tolerance": 42,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/training_00031232_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00031232_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "training_00031232/camera",
3
+ "sequence_id": "training_00031232",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "train",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 256,
108
+ 279,
109
+ 384,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 884,
124
+ "near_plane_points": 0,
125
+ "comparable_points": 20620,
126
+ "in_frame_points": 16177,
127
+ "outside_frame_points": 4443,
128
+ "median_px": 0.0389,
129
+ "in_frame_max_px": 0.144,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 4364,
133
+ "outside_frame_max_px": 12.034,
134
+ "outside_frame_max_px_uv_scale": 39660.0,
135
+ "outside_frame_max_relative": 0.00243,
136
+ "outside_frame_max_relative_px": 0.0988,
137
+ "outside_frame_max_relative_uv_scale": 40.7,
138
+ "worst_frame": 279,
139
+ "worst_frame_in_frame_max_px": 0.144,
140
+ "visibility_true": 15808,
141
+ "visible_outside_frame": 0,
142
+ "visible_outside_frame_max_px": null,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 369,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 231,
149
+ "inside": 184,
150
+ "off_image": 47,
151
+ "uv_compared": 184,
152
+ "uv_within_1px": 184,
153
+ "uv_within_tolerance": 184,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 21,
161
+ "outside_frame_points": 21,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 21,
164
+ "uv_median_px": 0.035,
165
+ "uv_max_px": 0.0555,
166
+ "uv_within_1px": 21,
167
+ "uv_within_tolerance": 21,
168
+ "outside_uv_max_px": 0.1964,
169
+ "outside_uv_max_relative": 0.000425
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 21,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0399,
181
+ "uv_max_px": 0.0737,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": 0.1724,
185
+ "outside_uv_max_relative": 0.000399
186
+ },
187
+ "256": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 42,
193
+ "outside_frame_points": 0,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 42,
196
+ "uv_median_px": 0.0371,
197
+ "uv_max_px": 0.0651,
198
+ "uv_within_1px": 42,
199
+ "uv_within_tolerance": 42,
200
+ "outside_uv_max_px": null,
201
+ "outside_uv_max_relative": null
202
+ },
203
+ "279": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 37,
209
+ "outside_frame_points": 5,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 37,
212
+ "uv_median_px": 0.044,
213
+ "uv_max_px": 0.144,
214
+ "uv_within_1px": 37,
215
+ "uv_within_tolerance": 37,
216
+ "outside_uv_max_px": 0.0988,
217
+ "outside_uv_max_relative": 0.000307
218
+ },
219
+ "384": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 42,
225
+ "outside_frame_points": 0,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 42,
228
+ "uv_median_px": 0.0404,
229
+ "uv_max_px": 0.0585,
230
+ "uv_within_1px": 42,
231
+ "uv_within_tolerance": 42,
232
+ "outside_uv_max_px": null,
233
+ "outside_uv_max_relative": null
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 21,
238
+ "behind_plane_points": 21,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 21,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 21,
244
+ "uv_median_px": 0.05,
245
+ "uv_max_px": 0.0708,
246
+ "uv_within_1px": 21,
247
+ "uv_within_tolerance": 21,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/training_00035328_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00035328_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "training_00035328/camera",
3
+ "sequence_id": "training_00035328",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "train",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 256,
108
+ 384,
109
+ 396,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 655,
124
+ "near_plane_points": 3,
125
+ "comparable_points": 20846,
126
+ "in_frame_points": 15585,
127
+ "outside_frame_points": 5261,
128
+ "median_px": 0.039,
129
+ "in_frame_max_px": 0.1498,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 5171,
133
+ "outside_frame_max_px": 63.2308,
134
+ "outside_frame_max_px_uv_scale": 251500.0,
135
+ "outside_frame_max_relative": 0.00417,
136
+ "outside_frame_max_relative_px": 0.0269,
137
+ "outside_frame_max_relative_uv_scale": 6.445,
138
+ "worst_frame": 396,
139
+ "worst_frame_in_frame_max_px": 0.1498,
140
+ "visibility_true": 15175,
141
+ "visible_outside_frame": 1,
142
+ "visible_outside_frame_max_px": 0.0068,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 411,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 231,
149
+ "inside": 205,
150
+ "off_image": 26,
151
+ "uv_compared": 205,
152
+ "uv_within_1px": 205,
153
+ "uv_within_tolerance": 205,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 42,
161
+ "outside_frame_points": 0,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 42,
164
+ "uv_median_px": 0.0278,
165
+ "uv_max_px": 0.0599,
166
+ "uv_within_1px": 42,
167
+ "uv_within_tolerance": 42,
168
+ "outside_uv_max_px": null,
169
+ "outside_uv_max_relative": null
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 21,
174
+ "behind_plane_points": 21,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 0,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0397,
181
+ "uv_max_px": 0.0561,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": null,
185
+ "outside_uv_max_relative": null
186
+ },
187
+ "256": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 42,
193
+ "outside_frame_points": 0,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 42,
196
+ "uv_median_px": 0.0401,
197
+ "uv_max_px": 0.1065,
198
+ "uv_within_1px": 42,
199
+ "uv_within_tolerance": 42,
200
+ "outside_uv_max_px": null,
201
+ "outside_uv_max_relative": null
202
+ },
203
+ "384": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0403,
213
+ "uv_max_px": 0.0683,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.4073,
217
+ "outside_uv_max_relative": 0.000676
218
+ },
219
+ "396": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 37,
225
+ "outside_frame_points": 5,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 37,
228
+ "uv_median_px": 0.0452,
229
+ "uv_max_px": 0.1498,
230
+ "uv_within_1px": 37,
231
+ "uv_within_tolerance": 37,
232
+ "outside_uv_max_px": 0.1605,
233
+ "outside_uv_max_relative": 0.000501
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 42,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 42,
244
+ "uv_median_px": 0.0354,
245
+ "uv_max_px": 0.0744,
246
+ "uv_within_1px": 42,
247
+ "uv_within_tolerance": 42,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/training_00038400_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00038400_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "training_00038400/camera",
3
+ "sequence_id": "training_00038400",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "train",
7
+ "num_frames": 512,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 512,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 512,
25
+ "valid_total": 512,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 512,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 21504,
37
+ "valid_total": 21504,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 512,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 21504,
48
+ "valid_total": 21504,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 512,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 21504,
60
+ "valid_total": 21504,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 512,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 21504,
71
+ "valid_total": 21504,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 128,
107
+ 256,
108
+ 384,
109
+ 434,
110
+ 511
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 512,
122
+ "points_scanned": 21504,
123
+ "behind_plane_points": 519,
124
+ "near_plane_points": 3,
125
+ "comparable_points": 20982,
126
+ "in_frame_points": 16269,
127
+ "outside_frame_points": 4713,
128
+ "median_px": 0.0389,
129
+ "in_frame_max_px": 0.13,
130
+ "frames_with_in_frame_points": 512,
131
+ "frames_all_in_frame_points_within_1px": 512,
132
+ "outside_frame_within_1px": 4568,
133
+ "outside_frame_max_px": 30.4781,
134
+ "outside_frame_max_px_uv_scale": 156700.0,
135
+ "outside_frame_max_relative": 0.00651,
136
+ "outside_frame_max_relative_px": 0.0499,
137
+ "outside_frame_max_relative_uv_scale": 7.661,
138
+ "worst_frame": 434,
139
+ "worst_frame_in_frame_max_px": 0.13,
140
+ "visibility_true": 15899,
141
+ "visible_outside_frame": 2,
142
+ "visible_outside_frame_max_px": 0.0805,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 372,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 179,
150
+ "off_image": 73,
151
+ "uv_compared": 179,
152
+ "uv_within_1px": 179,
153
+ "uv_within_tolerance": 179,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 21,
161
+ "outside_frame_points": 21,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 21,
164
+ "uv_median_px": 0.0327,
165
+ "uv_max_px": 0.0725,
166
+ "uv_within_1px": 21,
167
+ "uv_within_tolerance": 21,
168
+ "outside_uv_max_px": 0.1002,
169
+ "outside_uv_max_relative": 0.000552
170
+ },
171
+ "128": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 21,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0348,
181
+ "uv_max_px": 0.0603,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": 0.0759,
185
+ "outside_uv_max_relative": 0.000303
186
+ },
187
+ "256": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 42,
193
+ "outside_frame_points": 0,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 42,
196
+ "uv_median_px": 0.0391,
197
+ "uv_max_px": 0.0845,
198
+ "uv_within_1px": 42,
199
+ "uv_within_tolerance": 42,
200
+ "outside_uv_max_px": null,
201
+ "outside_uv_max_relative": null
202
+ },
203
+ "384": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 21,
209
+ "outside_frame_points": 21,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 21,
212
+ "uv_median_px": 0.0394,
213
+ "uv_max_px": 0.0551,
214
+ "uv_within_1px": 21,
215
+ "uv_within_tolerance": 21,
216
+ "outside_uv_max_px": 0.0782,
217
+ "outside_uv_max_relative": 0.000199
218
+ },
219
+ "434": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 42,
225
+ "outside_frame_points": 0,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 42,
228
+ "uv_median_px": 0.0377,
229
+ "uv_max_px": 0.13,
230
+ "uv_within_1px": 42,
231
+ "uv_within_tolerance": 42,
232
+ "outside_uv_max_px": null,
233
+ "outside_uv_max_relative": null
234
+ },
235
+ "511": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 32,
241
+ "outside_frame_points": 10,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 32,
244
+ "uv_median_px": 0.0419,
245
+ "uv_max_px": 0.0676,
246
+ "uv_within_1px": 32,
247
+ "uv_within_tolerance": 32,
248
+ "outside_uv_max_px": 0.0586,
249
+ "outside_uv_max_relative": 0.00044
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/training_00040960_camera.html ADDED
The diff for this file is too large to render. See raw diff
 
RHD/shared-v1.1/doc/validation/training_00040960_camera.report.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "view": "training_00040960/camera",
3
+ "sequence_id": "training_00040960",
4
+ "camera_id": "camera",
5
+ "view_type": "exo",
6
+ "split": "train",
7
+ "num_frames": 298,
8
+ "camera": {
9
+ "model": "pinhole",
10
+ "schema_id": "camera/pinhole/v1",
11
+ "image_size": [
12
+ 320,
13
+ 320
14
+ ]
15
+ },
16
+ "numeric_components": {
17
+ "intrinsic": {
18
+ "shape": [
19
+ 298,
20
+ 3,
21
+ 3
22
+ ],
23
+ "dtype": "torch.float32",
24
+ "valid_true": 298,
25
+ "valid_total": 298,
26
+ "nan_count": 0
27
+ },
28
+ "keypoints_xyz": {
29
+ "shape": [
30
+ 298,
31
+ 2,
32
+ 21,
33
+ 3
34
+ ],
35
+ "dtype": "torch.float32",
36
+ "valid_true": 12516,
37
+ "valid_total": 12516,
38
+ "nan_count": 0
39
+ },
40
+ "keypoints_xyz.visibility": {
41
+ "shape": [
42
+ 298,
43
+ 2,
44
+ 21
45
+ ],
46
+ "dtype": "torch.bool",
47
+ "valid_true": 12516,
48
+ "valid_total": 12516,
49
+ "nan_count": null
50
+ },
51
+ "keypoints_uv": {
52
+ "shape": [
53
+ 298,
54
+ 2,
55
+ 21,
56
+ 2
57
+ ],
58
+ "dtype": "torch.float32",
59
+ "valid_true": 12516,
60
+ "valid_total": 12516,
61
+ "nan_count": 0
62
+ },
63
+ "keypoints_uv.visibility": {
64
+ "shape": [
65
+ 298,
66
+ 2,
67
+ 21
68
+ ],
69
+ "dtype": "torch.bool",
70
+ "valid_true": 12516,
71
+ "valid_total": 12516,
72
+ "nan_count": null
73
+ }
74
+ },
75
+ "bundle_files": 2,
76
+ "bundles": [
77
+ "annotation/keypoints/keypoints.pt",
78
+ "camera/camera.pt"
79
+ ],
80
+ "media": [
81
+ {
82
+ "component": "rgb",
83
+ "ref": "observation/rgb.mkv",
84
+ "frames_decoded": 6
85
+ },
86
+ {
87
+ "component": "depth",
88
+ "ref": "observation/depth.mkv",
89
+ "frames_decoded": 6
90
+ },
91
+ {
92
+ "component": "segment",
93
+ "ref": "annotation/segment/mask.mkv",
94
+ "frames_decoded": 6
95
+ }
96
+ ],
97
+ "consumed_files": [
98
+ "annotation/keypoints/keypoints.pt",
99
+ "annotation/segment/mask.mkv",
100
+ "camera/camera.pt",
101
+ "observation/depth.mkv",
102
+ "observation/rgb.mkv"
103
+ ],
104
+ "selected_frames": [
105
+ 0,
106
+ 74,
107
+ 149,
108
+ 189,
109
+ 223,
110
+ 297
111
+ ],
112
+ "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
113
+ "projection": {
114
+ "model": "pinhole",
115
+ "calibrated": true,
116
+ "coordinate_frame": "camera",
117
+ "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
118
+ "uv_tolerance_px": 1.0,
119
+ "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
120
+ "view_scan": {
121
+ "frames_scanned": 298,
122
+ "points_scanned": 12516,
123
+ "behind_plane_points": 376,
124
+ "near_plane_points": 0,
125
+ "comparable_points": 12140,
126
+ "in_frame_points": 9242,
127
+ "outside_frame_points": 2898,
128
+ "median_px": 0.0389,
129
+ "in_frame_max_px": 0.1248,
130
+ "frames_with_in_frame_points": 298,
131
+ "frames_all_in_frame_points_within_1px": 298,
132
+ "outside_frame_within_1px": 2855,
133
+ "outside_frame_max_px": 14.5704,
134
+ "outside_frame_max_px_uv_scale": 75700.0,
135
+ "outside_frame_max_relative": 0.0216,
136
+ "outside_frame_max_relative_px": 0.057,
137
+ "outside_frame_max_relative_uv_scale": 2.637,
138
+ "worst_frame": 189,
139
+ "worst_frame_in_frame_max_px": 0.1248,
140
+ "visibility_true": 8904,
141
+ "visible_outside_frame": 0,
142
+ "visible_outside_frame_max_px": null,
143
+ "visible_near_plane_points": 0,
144
+ "visible_behind_plane_points": 0,
145
+ "invisible_in_frame": 338,
146
+ "plane_threshold_m": 0.001
147
+ },
148
+ "points": 252,
149
+ "inside": 210,
150
+ "off_image": 42,
151
+ "uv_compared": 210,
152
+ "uv_within_1px": 210,
153
+ "uv_within_tolerance": 210,
154
+ "frames": {
155
+ "0": {
156
+ "annotated": true,
157
+ "valid_points": 42,
158
+ "behind_plane_points": 0,
159
+ "near_plane_points": 0,
160
+ "in_frame_points": 42,
161
+ "outside_frame_points": 0,
162
+ "visible_outside_frame": 0,
163
+ "uv_compared": 42,
164
+ "uv_median_px": 0.037,
165
+ "uv_max_px": 0.0683,
166
+ "uv_within_1px": 42,
167
+ "uv_within_tolerance": 42,
168
+ "outside_uv_max_px": null,
169
+ "outside_uv_max_relative": null
170
+ },
171
+ "74": {
172
+ "annotated": true,
173
+ "valid_points": 42,
174
+ "behind_plane_points": 0,
175
+ "near_plane_points": 0,
176
+ "in_frame_points": 21,
177
+ "outside_frame_points": 21,
178
+ "visible_outside_frame": 0,
179
+ "uv_compared": 21,
180
+ "uv_median_px": 0.0431,
181
+ "uv_max_px": 0.0582,
182
+ "uv_within_1px": 21,
183
+ "uv_within_tolerance": 21,
184
+ "outside_uv_max_px": 0.0518,
185
+ "outside_uv_max_relative": 0.000131
186
+ },
187
+ "149": {
188
+ "annotated": true,
189
+ "valid_points": 42,
190
+ "behind_plane_points": 0,
191
+ "near_plane_points": 0,
192
+ "in_frame_points": 42,
193
+ "outside_frame_points": 0,
194
+ "visible_outside_frame": 0,
195
+ "uv_compared": 42,
196
+ "uv_median_px": 0.0434,
197
+ "uv_max_px": 0.0663,
198
+ "uv_within_1px": 42,
199
+ "uv_within_tolerance": 42,
200
+ "outside_uv_max_px": null,
201
+ "outside_uv_max_relative": null
202
+ },
203
+ "189": {
204
+ "annotated": true,
205
+ "valid_points": 42,
206
+ "behind_plane_points": 0,
207
+ "near_plane_points": 0,
208
+ "in_frame_points": 42,
209
+ "outside_frame_points": 0,
210
+ "visible_outside_frame": 0,
211
+ "uv_compared": 42,
212
+ "uv_median_px": 0.0385,
213
+ "uv_max_px": 0.1248,
214
+ "uv_within_1px": 42,
215
+ "uv_within_tolerance": 42,
216
+ "outside_uv_max_px": null,
217
+ "outside_uv_max_relative": null
218
+ },
219
+ "223": {
220
+ "annotated": true,
221
+ "valid_points": 42,
222
+ "behind_plane_points": 0,
223
+ "near_plane_points": 0,
224
+ "in_frame_points": 21,
225
+ "outside_frame_points": 21,
226
+ "visible_outside_frame": 0,
227
+ "uv_compared": 21,
228
+ "uv_median_px": 0.0362,
229
+ "uv_max_px": 0.064,
230
+ "uv_within_1px": 21,
231
+ "uv_within_tolerance": 21,
232
+ "outside_uv_max_px": 0.0749,
233
+ "outside_uv_max_relative": 0.000222
234
+ },
235
+ "297": {
236
+ "annotated": true,
237
+ "valid_points": 42,
238
+ "behind_plane_points": 0,
239
+ "near_plane_points": 0,
240
+ "in_frame_points": 42,
241
+ "outside_frame_points": 0,
242
+ "visible_outside_frame": 0,
243
+ "uv_compared": 42,
244
+ "uv_median_px": 0.0331,
245
+ "uv_max_px": 0.0679,
246
+ "uv_within_1px": 42,
247
+ "uv_within_tolerance": 42,
248
+ "outside_uv_max_px": null,
249
+ "outside_uv_max_relative": null
250
+ }
251
+ },
252
+ "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
253
+ },
254
+ "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
255
+ "not_drawn": [],
256
+ "visible_outside_frame_frames": [],
257
+ "not_annotated_frames": []
258
+ }
RHD/shared-v1.1/doc/validation/validate_report.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "passed": true,
3
+ "views": 87,
4
+ "counts": {
5
+ "test": 2728,
6
+ "train": 41258
7
+ },
8
+ "frames": 43986,
9
+ "files_per_view": 11,
10
+ "schema_version": "hand-warehouse/1.1",
11
+ "release_id": "shared-v1.1",
12
+ "bundles_per_view": 2,
13
+ "rewrite_check": [
14
+ {
15
+ "sequence_id": "evaluation_00000000",
16
+ "camera_id": "camera",
17
+ "bundles": [
18
+ "annotation/keypoints/keypoints.pt",
19
+ "camera/camera.pt"
20
+ ],
21
+ "tensors_compared": 8
22
+ },
23
+ {
24
+ "sequence_id": "evaluation_00000512",
25
+ "camera_id": "camera",
26
+ "bundles": [
27
+ "annotation/keypoints/keypoints.pt",
28
+ "camera/camera.pt"
29
+ ],
30
+ "tensors_compared": 8
31
+ }
32
+ ],
33
+ "scope": "released content and layout; does not independently prove official source correctness or visual quality",
34
+ "release_manifest": {
35
+ "path": "/data0/yanghonglei/Datasets/hand-warehouse/RHD/tmp/rhd-tools/PUBLISH_MANIFEST.json",
36
+ "in_release_tree": false,
37
+ "files": 1071,
38
+ "note": "rebuilt by this run after this report was written, so it covers the report's final bytes; kept outside the release because a manifest inside it cannot hash itself"
39
+ }
40
+ }
RHD/shared-v1.1/script/provenance/operations/build_rhd_docs.py ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Assemble RHD's ``doc/`` tree from the canonical v1.1 spec and the v1.0 record.
3
+
4
+ Every published v1.1 release carries the same three spec documents, and each
5
+ dataset edits exactly the same three things in ``CONTRACT.md``: a status banner on
6
+ line 1, its own 状态 line, and the v1.0 link retargeted from the shared
7
+ ``../hand-warehouse-1.0/CONTRACT.md`` to the copy kept as ``V1_0_SEMANTICS.md``.
8
+ Doing that by hand is how a release ends up with a banner that overstates what was
9
+ actually verified, so this script derives the banner and the 状态 line from
10
+ ``doc/FULL_MIGRATION_SUMMARY.json`` -- the record of what the run actually did --
11
+ and refuses to write a claim the record does not support.
12
+
13
+ RHD keeps two documents under their v1.0-era names, which is why this differs from
14
+ the ARCTIC/H2O/dex-ycb builder:
15
+
16
+ * ``RAW_MAPPING.md`` is RHD's own record -- it maps raw to shared *and* v1.0 to
17
+ v1.1 in one file -- so it is checked here, not rewritten. Its name is kept
18
+ deliberately: the v1.0 tree called it ``RAW_MAPPING.md``, and RHD's historical
19
+ names were to be left alone.
20
+ * ``REPORT.md`` is RHD's human-readable acceptance report, the 验收报告 CONTRACT 2
21
+ asks ``doc/`` to hold. The other releases carry that content only in
22
+ ``FULL_MIGRATION_SUMMARY.json``.
23
+
24
+ Run: python shared-v1.1/script/provenance/operations/build_rhd_docs.py
25
+
26
+ Idempotent: it rewrites the two transformed files, copies the two verbatim ones
27
+ and refreshes ``doc/history-v1.0/``, so re-running after the migration finishes
28
+ refreshes the banner.
29
+ """
30
+
31
+ from __future__ import annotations
32
+
33
+ import argparse
34
+ import hashlib
35
+ import json
36
+ import re
37
+ import shutil
38
+ import sys
39
+ from pathlib import Path
40
+
41
+ OPERATIONS = Path(__file__).resolve().parent
42
+ SCRIPT_DIR = OPERATIONS.parent.parent # <release>/script
43
+ RELEASE_ROOT = SCRIPT_DIR.parent # <dataset>/shared-v1.1
44
+ DATASET_ROOT = RELEASE_ROOT.parent # <dataset>
45
+ SPEC = SCRIPT_DIR / "rhd_v1_1" / "spec"
46
+ DOC = RELEASE_ROOT / "doc"
47
+ V10 = DATASET_ROOT / "shared-v1.0"
48
+ HISTORY = DOC / "history-v1.0"
49
+
50
+ #: the canonical spec, shared by every dataset. Checked rather than trusted: if
51
+ #: these do not match, the release would ship a spec it did not migrate against.
52
+ CANONICAL = {
53
+ "CONTRACT.md": "502dde9ac0549551237f684472489ddf6372bad3a26b1f6cca96f360c5dff158",
54
+ "MIGRATION.md": "773f5146d49f5060bfc13ef92c143c59b683a6dc633cad44897414d5299088a0",
55
+ "schema.json": "9f3769f950b36f75f3d571c77b5a661ca8e72afae20c9f1ddd1deef140e6cca8",
56
+ }
57
+
58
+ #: ``../hand-warehouse-1.0/CONTRACT.md`` in the canonical text; the release keeps
59
+ #: its own copy of the v1.0 semantics beside it instead of reaching outside the tree
60
+ V10_LINK = "../hand-warehouse-1.0/CONTRACT.md"
61
+ V10_LINK_LOCAL = "V1_0_SEMANTICS.md"
62
+
63
+ STATES = {
64
+ #: no summary yet: the migration has not finished, so claim nothing about it
65
+ "in_progress": {
66
+ "banner": "> RHD shared-v1.1 本地全量迁移进行中;自动验收、人工复查与 HF 发布均未完成。",
67
+ "status": "状态:RHD shared-v1.1 配套注册表与读写工具已适配;本地迁移、自动验收、人工复查与 HF 发布均未完成。",
68
+ },
69
+ #: full acceptance recorded, human review and upload still outstanding
70
+ "accepted_pending_review": {
71
+ "banner": "> RHD shared-v1.1 已完成本地全量迁移与自动验收(逐字段字节级比对);人工复查与 HF 发布尚未完成。",
72
+ "status": "状态:RHD shared-v1.1 配套注册表与读写工具已适配;本地全量数值一致性及结构检查通过,发布清单已在发布树外重建(`tmp/rhd-tools/PUBLISH_MANIFEST.json`,树内不含清单)。人工复查不属于自动验收,尚未完成;HF 发布尚未进行。",
73
+ },
74
+ }
75
+
76
+
77
+ def sha256(path):
78
+ digest = hashlib.sha256()
79
+ with Path(path).open("rb") as stream:
80
+ for chunk in iter(lambda: stream.read(1 << 22), b""):
81
+ digest.update(chunk)
82
+ return digest.hexdigest()
83
+
84
+
85
+ def canonical_bytes(name):
86
+ """The shared spec verbatim, with its canonical digest confirmed."""
87
+ path = SPEC / name
88
+ got = sha256(path)
89
+ if got != CANONICAL[name]:
90
+ raise SystemExit(f"{path} is not the canonical {name}: {got} != {CANONICAL[name]}")
91
+ return path.read_bytes()
92
+
93
+
94
+ def canonical_text(name):
95
+ """The shared spec as LF text, for a file this release transforms.
96
+
97
+ The canonical ``CONTRACT.md`` and ``schema.json`` are CRLF; only the documents
98
+ this release edits are normalised. A file that is *copied* keeps its bytes --
99
+ both published releases ship ``schema.json`` at the canonical 39043 bytes with
100
+ its CRLF intact -- so the two paths are kept apart rather than sharing one
101
+ round-trip through ``str``.
102
+ """
103
+ return canonical_bytes(name).replace(b"\r\n", b"\n").decode("utf-8")
104
+
105
+
106
+ def state_name():
107
+ """Which of STATES the recorded migration summary supports."""
108
+ summary = DOC / "FULL_MIGRATION_SUMMARY.json"
109
+ if not summary.is_file():
110
+ return "in_progress"
111
+ record = json.loads(summary.read_text(encoding="utf-8"))
112
+ if record.get("phase") != "local_finalized_not_uploaded":
113
+ raise SystemExit(f"{summary}: unexpected phase {record.get('phase')!r}")
114
+ if record.get("human_full_approval"):
115
+ raise SystemExit(
116
+ f"{summary}: records a human approval, but no published wording is "
117
+ "defined here; a published release needs its own banner"
118
+ )
119
+ return "accepted_pending_review"
120
+
121
+
122
+ def build_contract(state):
123
+ """The canonical contract with the three dataset-specific edits applied."""
124
+ text = canonical_text("CONTRACT.md")
125
+ lines = text.split("\n")
126
+ status_index = next(
127
+ index for index, line in enumerate(lines) if line.startswith("状态:")
128
+ )
129
+ if lines[status_index].count("状态:") != 1 or not lines[status_index].startswith(
130
+ "状态:合同草案"
131
+ ):
132
+ raise SystemExit(f"line {status_index + 1} is not the canonical 状态 line")
133
+ if text.count(V10_LINK) != 1:
134
+ raise SystemExit(f"the canonical text no longer links {V10_LINK} exactly once")
135
+ lines[status_index] = STATES[state]["status"]
136
+ body = "\n".join(lines).replace(V10_LINK, V10_LINK_LOCAL)
137
+ #: banner, one blank line, then the canonical text; and no trailing newline,
138
+ #: which is how both published releases ship it
139
+ return f"{STATES[state]['banner']}\n\n{body}".rstrip("\n")
140
+
141
+
142
+ def check_mapping_record():
143
+ """RHD's own field mapping, kept under its v1.0-era name and cross-checked.
144
+
145
+ This release does not rewrite the file, so the builder does the next best
146
+ thing: it confirms the mapping record is there and that every ``script/...``
147
+ path it points a reader at actually exists. A restructured ``script/`` that
148
+ left these references stale would send the reviewer to a file that is gone.
149
+ """
150
+ path = DOC / "RAW_MAPPING.md"
151
+ if not path.is_file():
152
+ raise SystemExit(f"{path} is missing; it is the 字段映射 CONTRACT 2 requires")
153
+ text = path.read_text(encoding="utf-8")
154
+ #: the record points a reader at entry points, not only at Python ones: it also
155
+ #: names the tool package's README, which is the file that documents how to run
156
+ #: the chain. Matching only ``.py`` would let that reference go stale unnoticed.
157
+ referenced = sorted(set(re.findall(r"`(script/[A-Za-z0-9_./-]+\.(?:py|md|sh))`", text)))
158
+ if not referenced:
159
+ raise SystemExit(f"{path} names no script/ entry point")
160
+ missing = [rel for rel in referenced if not (RELEASE_ROOT / rel).is_file()]
161
+ if missing:
162
+ raise SystemExit(f"{path} points at {len(missing)} file(s) that are not in "
163
+ f"the release: {missing}")
164
+ return path, referenced
165
+
166
+
167
+ def sync_history():
168
+ """``doc/history-v1.0/`` is the v1.0 document set, reproduced.
169
+
170
+ The published releases keep the previous version's documents here, so a reader
171
+ can compare the two without leaving the release. RHD's v1.0 ``doc/`` is the
172
+ contract, its schema, the raw mapping and the 24-sample review pages; the whole
173
+ set is carried over, and anything under the target that the source no longer
174
+ has is removed so the copy cannot drift.
175
+ """
176
+ source = V10 / "doc"
177
+ if not source.is_dir():
178
+ raise SystemExit(f"{source} is missing; it is what history-v1.0 reproduces")
179
+ wanted = {p.relative_to(source).as_posix() for p in source.rglob("*") if p.is_file()}
180
+ for path in sorted(source.rglob("*")):
181
+ if not path.is_file():
182
+ continue
183
+ target = HISTORY / path.relative_to(source)
184
+ target.parent.mkdir(parents=True, exist_ok=True)
185
+ shutil.copy2(path, target)
186
+ removed = []
187
+ if HISTORY.is_dir():
188
+ for path in sorted(HISTORY.rglob("*")):
189
+ if path.is_file() and path.relative_to(HISTORY).as_posix() not in wanted:
190
+ path.unlink()
191
+ removed.append(path.relative_to(RELEASE_ROOT).as_posix())
192
+ return len(wanted), removed
193
+
194
+
195
+ def main(argv=None):
196
+ parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
197
+ parser.add_argument("--dry-run", action="store_true",
198
+ help="report what would be written and change nothing")
199
+ args = parser.parse_args(argv)
200
+
201
+ state = state_name()
202
+ print(f"banner state: {state}")
203
+ mapping, referenced = check_mapping_record()
204
+ print(f" doc/RAW_MAPPING.md: {sha256(mapping)[:16]} {mapping.stat().st_size} B "
205
+ f"(RHD's own record, name kept; {len(referenced)} script reference(s) resolve)")
206
+ #: transformed documents are authored here and normalised to LF; copied ones
207
+ #: are other artifacts reproduced byte for byte, line endings included
208
+ transformed = {
209
+ "CONTRACT.md": build_contract(state).encode("utf-8"),
210
+ "MIGRATION.md": canonical_bytes("MIGRATION.md"),
211
+ }
212
+ copied = {
213
+ "schema.json": canonical_bytes("schema.json"),
214
+ "V1_0_SEMANTICS.md": (V10 / "doc" / "CONTRACT.md").read_bytes(),
215
+ }
216
+ for name, payload in transformed.items():
217
+ write(DOC / name, payload, "transformed", args.dry_run)
218
+ for name, payload in copied.items():
219
+ write(DOC / name, payload, "copied", args.dry_run)
220
+ if not args.dry_run:
221
+ print(f" doc/CONTRACT.md banner: {STATES[state]['banner']}")
222
+
223
+ if args.dry_run:
224
+ source = V10 / "doc"
225
+ print(f" would sync doc/history-v1.0/ from {source} "
226
+ f"({sum(1 for p in source.rglob('*') if p.is_file())} files)")
227
+ else:
228
+ count, removed = sync_history()
229
+ print(f" doc/history-v1.0/: {count} files synced from {V10 / 'doc'}"
230
+ f"{f', {len(removed)} stale file(s) removed' if removed else ''}")
231
+ return 0
232
+
233
+
234
+ def write(target, payload, kind, dry_run):
235
+ if dry_run:
236
+ print(f" would write doc/{target.name} ({len(payload)} bytes, {kind})")
237
+ return
238
+ before = sha256(target) if target.is_file() else None
239
+ target.write_bytes(payload)
240
+ after = sha256(target)
241
+ print(f" doc/{target.name}: {len(payload)} bytes, {kind}, sha256 {after[:16]}"
242
+ f"{'' if before != after else ' (unchanged)'}")
243
+
244
+
245
+ if __name__ == "__main__":
246
+ sys.dont_write_bytecode = True
247
+ raise SystemExit(main())