diff --git a/.gitattributes b/.gitattributes index 72d359459e8f495885953c79eeabc11721c5c775..e425ad795f7c5d50d92fd1c4e3534e4475de7a58 100644 --- a/.gitattributes +++ b/.gitattributes @@ -26432,3 +26432,4 @@ OakInk-v2/shared-v1.0/data/scene_04__A008++seq__f93352845016c27d0fdc__2023-05-09 OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422070088/observation/rgb.mkv filter=lfs diff=lfs merge=lfs -text OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422070904/observation/rgb.mkv filter=lfs diff=lfs merge=lfs -text OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422070969/observation/rgb.mkv filter=lfs diff=lfs merge=lfs -text +OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb.mkv filter=lfs diff=lfs merge=lfs -text diff --git a/OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb.mkv b/OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb.mkv new file mode 100644 index 0000000000000000000000000000000000000000..47e92bde06380d9a3a25f903c0cef4a1d6917df6 --- /dev/null +++ b/OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb.mkv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5fb8f9be59a6c9554f4da8e6e59e6422c6877c2936fe7d5b5da11aa5ba9d809 +size 94290078 diff --git a/OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb_valid.pt b/OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb_valid.pt new file mode 100644 index 0000000000000000000000000000000000000000..76c688357f36e65738fdf1750d027f3dbbcc1546 --- /dev/null +++ b/OakInk-v2/shared-v1.0/data/scene_04__A008++seq__ff070467cd91f735acab__2023-04-23-11-28-29/104422071041/observation/rgb_valid.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be824479f7f256b4aa30df741c045c7c46f7133767cde1393dde1689e6420c20 +size 1975 diff --git a/OakInk-v2/shared-v1.0/doc/CONTRACT.md b/OakInk-v2/shared-v1.0/doc/CONTRACT.md new file mode 100644 index 0000000000000000000000000000000000000000..e80d21a1c4af1bfaa2f429b3395a4304e6af6eb0 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/CONTRACT.md @@ -0,0 +1,459 @@ +# 手物数据仓库统一约定 v1.0 + +格式版本:`hand-warehouse/1.0`。存储约定:`lossless-video-2026-09-18`。 + +范围限于手物交互重建。按本任务纳入的源模态转换,不要求每个数据集填满所有组件。缺失模态、尚未下载、语义未核实分别报告,不能互相替代。 + +shared 层不是 raw 的完整镜像。处理者只需提取本次任务范围明确要求、语义已经核实且能够按本规范可靠转换的字段和模态。raw 中其余字段可以不纳入 shared,但必须在 `RAW_TO_SHARED.md` 中列出主要未纳入内容及原因。不得为了覆盖全部 raw 字段而猜测语义、虚构模态或保存未经定义的字段。未纳入 shared 不等于源数据不存在,原始信息仍以 raw 为准。 + +本文定义各字段的含义与使用规则,机器可读注册表见 [schema.json](schema.json)。两者互相补充;如有冲突,应先核实并统一定义。 + +## 1. 目录 + +```text +hand-datasets/ + / + raw/ + doc/ # 官方说明、来源与校验记录 + script/ # 官方下载脚本、必要包装脚本 + data/ # 保留原始包,不原地解压或改写 + / + doc/ # 发布说明、schema、来源清单 + script/ # 转换、校验脚本及运行配置 + data/ + / + / + metainfo.json + observation/ + rgb.mkv + rgb_valid.pt + depth.mkv # float32 深度的可逆视频编码 + depth_valid.mkv # 逐像素 bool 的无损视频编码 + camera/ + frames.jsonl + intrinsic.pt + intrinsic_valid.pt + extrinsic.pt + extrinsic_valid.pt + annotation/ + mano/ + motion.pt + motion_valid.pt + visibility.pt + keypoints/ + uv.pt + uv_valid.pt + xyz.pt + xyz_valid.pt + visibility.pt # 源数据有时提供 + object/ + / + assets/ # 该物体的网格、材质、纹理及部件资产 + .obj + pose.pt + pose_valid.pt + visibility.pt + metainfo.json # 物体身份、类别、mesh、尺寸与部件引用 + articulation.json + keypoints/ + vertex_part_ids.pt + joint_state.pt + joint_state_valid.pt + parts//pose.pt + parts//pose_valid.pt + segment/ + mask.mkv + mask_valid.pt + instances.jsonl + contact/ + relations.jsonl + __/ # 对应实体间的距离/接触区域 +``` + +目录展示可能存在的组件,不要求填满。具体文件、字段和缺省规则分别见后续对应小节。原始包的解压发生在临时工作区,raw 内原始包保持不变。 + +## 2. 相机视图的 metainfo.json + +### 2.1 顶层字段与发布信息 + +每个相机视图必须有 `metainfo.json`。以下字段除另行说明外均为必填: + +| 字段 | 填写内容 | +|---|---| +| schema_version | 结构版本,本版为 `hand-warehouse/1.0` | +| dataset_id | 数据集的逻辑标识 | +| release_id | 本次数据发布版本,对应目录中的 dataset_version | +| sequence_id | 所属序列或独立图片样本的标识 | +| camera_id | 当前相机视图标识 | +| sample_type | `image` 或 `video`,规则见 2.2 | +| num_frames | 当前视图帧数 T,所有随帧组件按同一时间轴组织 | +| hand_slots | 固定为 `["left", "right"]`;解剖学左右的使用规则见 5.1 | +| sampling | 采样类型、源 FPS、帧索引引用及选择策略,见 2.2 | +| camera | 当前相机模型与图像尺寸,见 2.3 | +| components | 实际提供的组件及其文件、schema、有效性和来源,见 2.5 | +| split | `train/val/test/unknown`,划分协议见 2.4 | +| view_type | 必填,固定为 `ego/exo/unknown`。源数据或采集设置明确相机视角时必须填写 `ego` 或 `exo`;只有无法从可信来源确定时才填写 `unknown`,不得省略或主观猜测。多相机序列须逐视图分别填写。 | + +`dataset_version` 是数据发布版本;`schema_version` 是结构版本,两者独立。原始包校验摘要、官方来源和转换配置应记录在发布清单中。解压发生在临时工作区,原始包保持不变。 + +### 2.2 图片、视频与 sampling + +`sample_type=image`:允许单图 T=1、`sampling.type=single`,也允许将独立图片批量装入一个视频容器,T>1 时 `sampling.type=independent`、`source_fps=null`。分片大小按数据集选择;FreiHAND 默认每片最多 4096 张,训练与评估分开,尾片不补帧。该数量不是其他数据集的强制要求;同批分辨率、相机模型类型及划分协议一致。每行 frames 必须有稳定且唯一的 `sample_id`、原始文件定位;内参、手形状等仍逐帧保留,不能因打包而共享错误的标定或身份。`sequence_id` 在这里仅是批次标识,不代表真实序列;不得按相邻帧推断跟踪、同步或接触延续。源 camera_id、image_variant、split 等随样本变化时放在 frames 的对应字段中。真实采集时间未知则 timestamp_ns=null。合成背景变体不视为真实多相机。 + +`sample_type=video`:`sampling.type=dense/sparse`;`source_fps` 是真实采集 FPS,未知为 null。非连续取样必须保留源帧号和已知源时间,不可用采样后索引除以 FPS 冒充源时间。可另记采样策略与步长。 + +shared 可以仅存所选 RGB 帧对应的数据。OakInk2 图像/动捕不同采样率时用 annotation_matches 明确映射;不要求将未采样动捕点硬塞进 T。多视角身份和源同步关系要保留;选择了哪些帧/相机及原因写在 sampling 中。 + +`sampling.frames_ref` 指向 `camera/frames.jsonl`。帧号、逐帧时间、同步与标注匹配记录的结构见 4.1;MKV 封装时间的约定见 3.1。 + +### 2.3 camera 模型声明 + +`camera` 至少包含 `model`、`schema_id`、`image_size:[W,H]`。模型未知使用 `unknown` 和 `null`,不猜成针孔。实际内参、畸变及外参数组放在 `camera/`,各模型的固定结构见第 4 节。 + +### 2.4 split 与划分协议 + +保留上游划分,不将同一采集序列的相邻帧随意拆到不同集合。 + +有官方划分时必填 split_scheme 和 split_source_locator,split_scheme 区分如 Dex-YCB s0/s1、ARCTIC P1/P2 等选定协议;不知道时 split=unknown 并给理由,不凭空分配。每发布可选择一种协议;存在逐帧差异时 frames 中的 split 覆盖视图默认值,并登记其来源。 + +### 2.5 components 组件登记 + +组件表的键是本发布内唯一名称,例如 `rgb`、`depth`、`mano`、`keypoints_uv`。每个已提供组件声明以下信息;模态特有参数在第 3–5 节对应小节中定义。 + +| 字段 | 约定 | +|---|---| +| available | 本发布是否提供该组件;缺省也表示未提供 | +| schema_id | 已登记的具体存储与语义类型,不得临时创造未登记名称 | +| data_ref | 数据文件路径,相对当前相机视图根目录,使用 POSIX 路径 | +| axes | 数组各维度的含义 | +| valid_ref / valid_axes | 有效性文件及其维度;语义由所属组件规定 | +| storage / valid_storage | 视频数据/视频有效性的存储配置;包含已登记 profile、实际 codec、pixel_format、encoded_size,见 3.1;非视频组件按原数组规则 | +| provenance | source / format_conversion / derived,以及转换或生成方法 | +| source_locator | 原文件、压缩包成员和记录/帧的定位信息 | + +不存在的组件允许缺省或写作 `{ "available": false, "reason": "..." }`,不用引用不存在的文件。静态网格可声明标量有效性;具体见 5.4。观测的 valid 见第 3 节,标注的 valid 与 visibility 区分见 5.1。 + +`provenance.kind` 使用 source/format_conversion/derived,`method` 说明转换或生成方法;发布清单补充脚本版本、参数、输入摘要。`source_locator` 定位到原始文件/压缩包成员和记录、帧号;允许引用有完整溯源清单的前一发布,但链条最终应能回到 raw。不得仅写一个无法定位记录的数据集名字。 + +`.pt` 仅保存 CPU Tensor,不保存 Python 自定义对象;浮点默认 float32,有效性为 bool,浮点无效位置填 NaN。所有随帧数组保留首维 T,单帧也不 squeeze;静态资产按其 schema 单独声明。单位、坐标及固定形状见各组件小节。 + +机器注册表 `schema.json` 中,`components` 固定解码后的数据类型、形状、单位和语义;`storage_profiles` 固定视频内的编码/还原方式。不得临时创造未登记的 schema_id 或 storage.profile。同一语义允许选择其登记的不同无损存储 profile。 + +## 3. observation 观测数据 + +### 3.1 rgb.mkv 与 rgb_valid.pt + +RGB、深度和栅格 mask 在 shared 中统一使用 MKV 视频容器,不展开为逐帧图片或图像 tar。MANO、关键点、位姿等数值标注仍用数组;分割的重叠多边形仍用 JSONL,不为了视频化而有损栅格化。单图可为一帧视频,独立图批量封装规则见 2.2。 + +**无损指共享层不增加信息损失。** 源 JPEG/H.264 等本身可能已是有损编码,原样保留并不恢复已丢失信息;不得重新以有损 JPEG、H.264、H.265、AV1 参数编码。源视频/图片的色彩、位深、分辨率和几何关系不得被静默改变。RGB schema `rgb/uint8/v1` 的统一读取结果是 `[T,H,W,3] uint8`、RGB 通道,有效性仍为 `rgb_valid.pt [T] bool`。超出该 schema 的高位深或 HDR 源必须报告并扩展定义,不能降到 8 位冒充无损。 + +#### 3.1.1 允许的 RGB 存储 profile + +| storage.profile | 编码方式 | 适用规则 | +|---|---|---| +| mkv/mjpeg_copy/v1 | 源 JPEG 压缩帧直接封装成 MJPEG/MKV | 不解码重编码;保持每张 JPEG 码流字节;普通 8 位 JPEG 且 MKV/解码器支持时使用 | +| mkv/source_copy/v1 | 已有视频的 RGB 对应码流直接封装为 MKV | 仅源编码能被 MKV 和选定解码器支持时使用,不伪造帧;需维持正确的呈现顺序与依赖帧 | +| mkv/h264_rgb_lossless/v1 | libx264rgb 的真正无损模式 | 必须 RGB 路径、CRF=0,并通过全帧 RGB 字节比较;不能替换成默认 libx264 YUV420 路径 | +| mkv/ffv1_rgb/v1 | FFV1 的 RGB 可逆编码路径 | 作为通用候选;解码回 RGB 后必须逐字节相同,不做色度降采样 | + +优先尝试源码流直接封装;不能封装或需要选择稀疏帧时,比较 FFV1 与无损 RGB H.264。对完整待发布片段,只在通过无损验收的候选中选择文件较小者,不假设某个编码器总最小;编码时间和随机读取代价记入构建记录。中间候选不作为 shared 多份常驻。H.264 跨帧压缩允许较长 GOP,必须记录 GOP/关键帧间隔,随机取帧需从前一关键帧正确解码,不能把 seek 返回的近似帧当目标帧。 + +普通源视频可以保留它已有的有损码流,但不允许新增有损重编码。源是 VRS 等记录容器时,先查明图像流实际编码:已有兼容 JPEG/视频包可直接提取封装,否则解码后使用真正无损编码;不把整个 VRS 改后缀当 MKV。PNG 不要求直接塞进 MKV,可选上表两种无损重编码方式。 + +#### 3.1.2 视频配置与校验 + +每个视频组件在 metainfo 中登记 `storage`,至少包含: + +| 字段 | 内容 | +|---|---| +| profile | 上述登记的存储 profile;语义仍由组件 schema_id 指定 | +| codec | 文件中实际 codec,例如 mjpeg、h264、ffv1;source_copy 必须写实际 codec | +| pixel_format | 实际编码像素格式;不得仅凭编码器参数猜测 | +| encoded_size | 视频物理像素尺寸 `[width,height]`;深度可能不同于逻辑尺寸,见 3.2 | +| decoder | 解码器名称、版本,以及颜色矩阵/范围/旋转处理等实际像素解释配置;未知的源色彩声明 unknown,不擅自称为 sRGB | +| encoder_parameters | 重编码时的编码器、版本、无损模式和 GOP 等参数;直接封装时记录 stream_copy | +| source_lossy | 源是否已有损:true / false / unknown;不是共享层再有损编码的许可 | + +无损重新编码的 RGB 必须使用同一固定解码配置,比较**全部帧**的统一 RGB 字节、数量及顺序。MJPEG-copy 不重新编码,生产校验采用 `jpeg-packets-all-rgb-sample16/v1`:从 MKV 逐包取回,对全部源 JPEG 的 SHA256、数量、顺序和图像尺寸进行精确核对;每视图另用同一固定解码配置比较最多 16 帧的源与目标 RGB 字节(含首尾与四分位位置,其余由固定种子抽取)。记录策略、实际索引、种子与结果;不足 16 帧时全查。试点与最终完整序列随机抽查,对选中视图的全部帧复核解码 RGB。历史已做全帧像素检查的证明继续保留。 + +逐包一致与像素抽查的范围必须分别声明,不能将抽查写成全量像素检查。不能用 PSNR 高、视觉相似、编码器参数称为 lossless 等替代精确检查。同时保留源编码的色彩标记和必要元数据;原图有 EXIF/色彩/方向等元数据时保留 raw 和必要来源信息;不能静默自动旋转图像而不更新像素对应与标定。以上加速策略仅适用于原 JPEG 码流直接封装,不适用于深度、标签或重新编码的 RGB。 + +所有共享视频的呈现帧顺序与统一 frame_index 一一对应,每个栅格组件恰好 T 帧。MKV 的 `storage_fps` 只服务封装,声明 `timebase_role=index_only`;source_copy 可以保留源 PTS 以避免改坏码流,但真实时间与标注对齐仍以 frames 为准。未知真实时间保留 null。缺失某帧组件时保留索引位置并使用该组件的无效占位/valid 标识,不删帧;不能以重复相邻图像冒充已知观测。 + +### 3.2 depth.mkv 与 depth_valid.mkv + +深度语义仍是 `depth/z_float32/v1`:统一读取结果 `[T,H,W] float32`,米制相机 Z 分量,`depth_type=z`。有效深度有限且大于 0,无效位置为 NaN。`depth_origin=measured/rendered/unknown` 必填,来源不明时 unknown。默认与 RGB 共用像素网格及相机参考系,不处理未注册 RGB-D。射线距离必须依据源定义转换成 z,不能只改声明。 + +#### 3.2.1 float32 的可逆视频编码 + +采用 `mkv/depth_float32_bits/v1`:**不是把深度量化成 uint16**,而是将规范化后每个 IEEE-754 float32 的完整 32 位拆成两个 uint16,使用 FFV1 gray16le 保存。视频物理尺寸为 `[2W,H]`:每行前 W 列存原 float32 位串的低 16 位,后 W 列存高 16 位。读取时先合并为 uint32 位串,再按 float32 重新解释,不能数值 cast 成 float32。 + +```text +u = reinterpret_uint32(depth_float32) +encoded[:, :, :W] = uint16(u & 65535) +encoded[:, :, W:] = uint16(u >> 16) +u_restored = uint32(low) | (uint32(high) << 16) +depth_float32 = reinterpret_float32(u_restored) +``` + +统一采用 little-endian 原始字节接口。`camera.image_size` 始终是逻辑 RGB 尺寸 `[W,H]`,不能改成编码视频的 2W;`storage.encoded_size=[2W,H]`。包括 NaN 在内的 float32 位串必须全帧完全恢复,不允许改成 float16、整数毫米、归一化灰度或 RGB 伪彩色。这里的无损验收基准是完成既定米制/坐标转换后的标准 float32 数组,不声称消除 float64→float32 等原约定转换本身的舍入。 + +#### 3.2.2 逐像素有效性 + +`depth_valid.mkv` 使用 `mkv/bool_ffv1/v1`,FFV1 gray8(FFmpeg pixel_format=`gray`),物理尺寸 `[W,H]`。像素只能为 0 或 1,统一解码为 `[T,H,W] bool`,逐像素含义不变。这样不再把庞大的 bool 数组保存为未压缩 `.pt`;标注的帧级/手级 valid 仍保留原有小数组。 + +登记示例(W、H 以下取 640、480;decoder/encoder_parameters 的实际版本由转换器填写): + +```json +{ + "available": true, + "schema_id": "depth/z_float32/v1", + "data_ref": "observation/depth.mkv", + "axes": ["T", "height", "width"], + "valid_ref": "observation/depth_valid.mkv", + "valid_axes": ["T", "height", "width"], + "unit": "m", + "depth_type": "z", + "depth_origin": "measured", + "invalid_value": "NaN", + "storage": { + "profile": "mkv/depth_float32_bits/v1", + "codec": "ffv1", + "pixel_format": "gray16le", + "encoded_size": [1280, 480], + "source_lossy": false, + "decoder": {"name": "ffmpeg", "version": "填写实际版本"}, + "encoder_parameters": {"name": "ffv1", "level": 3, "version": "填写实际版本"} + }, + "valid_storage": { + "profile": "mkv/bool_ffv1/v1", + "codec": "ffv1", + "pixel_format": "gray", + "encoded_size": [640, 480], + "source_lossy": false, + "decoder": {"name": "ffmpeg", "version": "填写实际版本"}, + "encoder_parameters": {"name": "ffv1", "version": "填写实际版本"} + }, + "provenance": {"kind": "format_conversion", "method": "源深度转米制 z float32;逐位打包为 FFV1"}, + "source_locator": {"file": "raw/data/depth.zip", "member": "depth/0001.png"} +} +``` + +深度和有效性视频都必须逐帧解码验收:float32 位串相同、bool 相同、T 相同,并检查 valid=true 的正有限值和 valid=false 的 NaN。读取器必须按 profile 还原,不能把 depth.mkv 的编码像素直接当深度值。 + +## 4. camera 相机、帧索引与标定 + +### 4.1 frames.jsonl:索引、时间与对应关系 + +`camera/frames.jsonl` 每行对应统一帧号 `frame_index=0..T-1`,是所有组件的唯一行索引。至少包含 `frame_index`、`timestamp_ns`、`clock_domain`、`source_locator`;原始帧号/文件名保存在 `source_frame_id`,不能被新帧号替代。每行还可有 `annotation_matches`,按组件键保存 `source_frame_id`、`source_timestamp_ns`、`clock_domain`、`match_method` 和 `delta_ns`;方法为 exact/index_map/nearest/interpolated,索引映射无时间依据时 delta_ns=null。nearest 必须记录允许误差;interpolated 必须记录两端源标识和权重。delta_ns 仅在同一时间域中计算为源标注时间减图像时间。多相机共享 `sequence_id`;已知同步关系必须用 `sync_id` 或明确的源帧/时间映射表达,不能仅凭相同数组索引认定同步。 + +每个视图必须提供此文件。源时间使用整数纳秒及 `clock_domain`,未知写 JSON `null`;不同时间域不能直接比较。逐帧 split 可以覆盖 metainfo 的视图默认划分,并保留来源,见 2.4。 + +### 4.2 坐标系与标定通则 + +| 项目 | 统一约定 | +|---|---| +| 相机坐标 | 右手系,X 向右、Y 向下、Z 向前,长度单位米 | +| 齐次变换 | 列向量,`p_target = T_target_from_source @ p_source` | +| 图像坐标 | `(u,v)`;左上像素中心为 `(0,0)`,u 向右、v 向下,单位 pixel | +| 固定标定 | 本版展开为 T 份,同一 schema 不混用静态与动态形状 | +| 分辨率或模型变化 | 分开存储为视图/片段,不在同一组件中混装 | +| 未知标定 | 相机内外参允许缺省,不填单位阵冒充已知标定 | + +### 4.3 intrinsic.pt 与畸变参数 + +| model / schema_id | intrinsic.pt 的固定结构 | +|---|---| +| pinhole / camera/pinhole/v1 | `[T,3,3]`,标准 K,最后一行为 `[0,0,1]`;限无畸变或已校正图像 | +| fisheye624 / camera/fisheye624/v1 | `[T,15]`,`[f,cx,cy,k0,k1,k2,k3,k4,k5,p0,p1,s0,s1,s2,s3]`,采用 Project Aria Fisheye624 投影定义 | +| opencv_fisheye4 / camera/opencv_fisheye4/v1 | `intrinsic.pt [T,3,3]` 保存 K;同组件 `distortion_ref` 指向 `[T,4]`,顺序 `[k1,k2,k3,k4]`,使用 OpenCV fisheye 等距角度多项式;已由 ReInterHand 实际原始相机参数验证 | +| rational8 / camera/rational8/v1 | `intrinsic.pt [T,3,3]` 保存 K;同组件必需 `distortion_ref` 指向 `[T,8]`,顺序 `[k1,k2,p1,p2,k3,k4,k5,k6]` | +| unknown / null | 不提供可用 intrinsic,不声称可以投影 | + +有畸变的其他模型必须注册新 schema,固定参数名、顺序和投影公式;不能塞进针孔 K 后遗失畸变项。`metainfo.camera.schema_id` 必须与 intrinsic 组件一致。同一模型的别名不可隐式改变参数布局。 + +`opencv_fisheye4`:对前方点令 `x=X/Z, y=Y/Z, r=sqrt(x²+y²), theta=atan(r)`,`theta_d=theta*(1+k1*theta²+k2*theta⁴+k3*theta⁶+k4*theta⁸)`;`u=fx*x*theta_d/r+cx, v=fy*y*theta_d/r+cy`。光轴 r=0 时使用连续极限 `theta_d/r=1`。四系数不能按普通径向畸变解释,也不能补零冒充 Fisheye624。 + +rational8 对归一化坐标 x=X/Z、y=Y/Z,令 r²=x²+y²,径向项为 `(1+k1*r²+k2*r⁴+k3*r⁶)/(1+k4*r²+k5*r⁴+k6*r⁶)`;再加 p1/p2 切向项并经 K 得到像素。`distortion_ref` 与 intrinsic 共用 `[T]` valid,保存到 camera/distortion.pt。不得把这种畸变三维坐标当作真实相机系 xyz 保存。 + +内参有效性为 `intrinsic_valid.pt [T] bool`;有畸变时使用对应 `distortion_ref`。同一模型的参数名和顺序固定。 + +### 4.4 extrinsic.pt 与 extrinsic_valid.pt + +`extrinsic.pt` 为 `[T,4,4]`,schema `transform/se3/v1`,方向固定 `T_camera_from_world`,有效性 `[T]`。世界坐标含义及源坐标转换记录在 provenance 中;只有相机坐标标注不要求虚构世界坐标。旋转块须正交且 determinant≈1。 + +## 5. annotation 标注数据 + +### 5.1 标注通则:手槽、valid 与 visibility + +手槽固定为 0=left、1=right,指解剖学左右,不按画面位置或可见性重排。本阶段只处理左右手两槽,不处理更多手。实体引用使用 `hand_left`、`hand_right`;手槽不证明跨采集片段的个人身份。 + +#### 5.1.1 valid:标注是否可用于监督 + +标注的 `valid=true` 表示:有对应实际标注、通过本 schema 数值检查,且通过来源明确提供并适用于该组件的有效性/QA 条件。`valid=false` 可由缺标注、无法建立帧对应、源无效占位或官方 QA 不通过导致;不等于画面没有手或手不可见。各组件独立判断,MANO 按 `[T,2]` 标记左右手,关键点按 `[T,2,K]` 标记。 + +**2026-09-20 将标注 valid 从“仅表示存在”修订为“可用于监督”,字段形状不变。** 公式为 `source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass`。没有官方 QA 时省略最后一项,不伪造 QA;不能把未知当成已通过已存在的 QA。适配器在组件 `valid_policy` 中记录具体规则、来源、聚合/广播作用域。缺失官方必需 QA 的记录须明确处理为未知或暂停验收,不能静默通过。无效浮点项仍填 NaN,原始数据保留在 raw;被排除原值可用于 doc 中明确标识的诊断渲染,不能冒充 shared 有效监督。 + +本地筛选须依据明确的规则,并在 `valid_policy.local_excluded_frame_indices`、排除原因和正式报告中记录。单个可疑投影作为问题记录,不直接硬编码排除该帧。已确认的曝光异常须明确作用范围,不能把一个序列的“前两帧有问题”套到所有序列。RGB 编码完好与几何监督可用是两件事,允许保留原图及帧索引而屏蔽对应标注;未发现问题不等于完成全部人工审核,试点待确认时不能作为已验收发布使用。 + +源字段必须按官方语义映射,不能直接按名字复制: + +| 来源 | 官方含义 | 映射原则 | +|---|---|---| +| [H2O](https://github.com/taeinkwon/h2odataset) 的手标注首位 | 0 未标注、1 已标注 | 可作为对应手标注存在性的依据,不推断未标注原因 | +| [HOT3D](https://github.com/facebookresearch/hot3d#using-mask-files) 的 pose_available、visible、mask_qa_pass | 分别表达姿态存在、可见性、对画面中可见手物位姿的人工 QA | 逐手/物体记录决定存在性,再 AND 当前相机当前帧 QA;QA 是整帧聚合判定,保守排除该帧全部手物几何监督,不声称每个实体均有错误;源可见性基于位姿推导时,其自身 valid 同样受 QA 约束 | +| [Dex-YCB](https://github.com/NVlabs/dex-ycb-toolkit#loading-dataset-and-visualizing-samples) 的全零 pose_m、全 -1 joints | 不可见的手或缺标注共用占位表示 | 对应组件 valid=false;不能从该值判定 visibility=false,也不能声称原因是动捕缺失 | +| [ARCTIC](https://github.com/zc-alexfan/arctic/blob/master/docs/data/data_doc.md) 的 is_valid/left_valid/right_valid | 是否有效用于官方评估 | 核实每项筛选依据;不把可见性/评估选择直接等同 QA。本次原始 mano.npy 不含这些派生评估标记,按原记录与数值检查生成 valid,并声明没有额外官方 QA 输入 | + +源 valid=false 若代表评估筛选或其他条件,应检查实际标注和源约定后映射;不能一律清空坐标。反之,占位零或 -1 只有在源官方明确规定时才判为缺失,不泛化成所有数据的判断规则。 + +`valid=true` 的标注应通过其 schema 的数值与形状检查;检查失败必须报告或修复,不能静默隐藏。QA 不通过应报告排除数量与原因,并保留可追溯信息;不能把这类无效称为缺标注。RGB、深度等观测有效性仍按各自 schema;手物 QA 不自动否定 RGB、静态相机内参或物体资产。相机外参是否过滤须依据其自身来源规则;HOT3D 本次保留源外参用于溯源和诊断,不能用其存在性证明 QA 失败帧的几何监督正确。 + +#### 5.1.2 visibility:可见性属性 + +附加质量属性只保留 `visibility`,存放在对应模态或标注集内,不设 quality 目录。同一份可见性仅存一次;uv 与 xyz 共用时引用同一个文件。 + +visibility 通过所属组件 attributes 登记 data_ref、axes、dtype、visibility_type、meaning、provenance、source_locator;未知值通过属性 valid_ref 标识,全已知可声明 valid=true。比例与布尔值不相互强转,也不按任意阈值二值化。没有 MANO 时,整手可见性挂在 keypoints 组件,使用独立的 whole_hand_visibility.pt,明确 meaning=whole_hand,不与逐关键点可见性混用。 + +`valid` 回答“这项标注能否用于监督”,`visibility` 回答“在当前图像中是否可见(或可见多少)”。不可见的手或关键点仍可有有效标注;不能因 visibility=0 就清空坐标。源没有 visibility 时缺省或标为未知,不由 valid 推断。 + +| 情况 | 手标注 valid | visibility | +|---|---|---| +| RGB 已开始录制,动捕尚未开始,没有其他对应手标注 | false | 以独立源可见性标注为准;没有则未知 | +| 手被遮挡,但源有标注且通过适用有效性检查 | true | 若源声明不可见,则 false 或源可见比例 | +| 手可见且有对应标注,通过适用 QA | true | 若源有此信息,则 true 或源可见比例 | +| 手可见,但该帧漏标或动捕中断 | false | 可以为 true,但必须有独立来源依据 | +| 有手部参数,但官方 QA 明确不通过 | false | 不据此断言不可见;源可见比例若基于不可靠位姿,其属性 valid 也为 false | + +visibility 自己的 valid_ref 表示该可见性标注是否可用,不复用 MANO 或关键点坐标的 valid_ref;明确记录源存在性及适用的 QA 条件。上述例子不要求凭图像自动生成可见性。 + +不设 quality 组件或目录,不另存拟合误差、曝光、截断比例等通用质量数组。适用的官方 QA 合并进对应 valid,在 `valid_policy` 记录来源与规则;正式校验报告保留原始 QA 时间区间及排除统计。原始 QA 文件仍在 raw,官方 split 保留。 + +### 5.2 mano:参数与整手可见性 + +MANO schema `mano/axis_angle61/v1`:`motion.pt [T,2,61]`,顺序为完整 16 关节 axis-angle 48、shape betas 10、全局平移 3。姿态使用弧度,平移米,位于当前相机系。有效性 `[T,2]`;缺少一侧整槽 NaN。PCA 必须先按对应模型展开,不能将 PCA 系数直接填入 axis-angle。 + +`model_profile` 必须固定 MANO 版本、`flat_hand_mean=true`、左手 shapedirs 修正状态。平移表示模型输出顶点所加的全局平移,不是某个腕关节的坐标;源语义不同须转换。shape 无量纲。模型权重不作为共享数据附带上传。 + +`mano/visibility.pt [T,2]` 保存源整手可见比例时使用 float32 [0,1],`visibility_type=ratio`;只有实际采用 0–100 的百分比才除以100,不能只凭表头判断。HOT3D 的 `visibility_ratio[%]` 实值已经是0–1,官方读取器原样读取,必须保留原值。通过 MANO 组件 attributes 登记,使用独立有效性,不复用 motion_valid。 + +手部共享表示仅保留 MANO 参数与选定关键点,不发布独立手表面几何。需要渲染或接触计算时由 MANO 参数生成,几何引用使用固定 MANO 模型配置与顶点顺序;不影响 object 下的物体模型和材质资产。 + +### 5.3 keypoints:二维点、三维点与逐点可见性 + +关键点独立于 MANO 参数存在;没有 motion 也可有关键点。`uv.pt [T,2,K,2]` 与 `xyz.pt [T,2,K,3]`,有效性 `[T,2,K]`,分别采用 `keypoints/uv/v1` 和 `keypoints/xyz/v1`。K 由 `keypoint_schema` 固定,不能在同一数组中逐帧变化;同体系统一顺序。数值使用像素坐标或米制相机系。 + +| keypoint_schema | K 与固定索引 | +|---|---| +| mano21/v1 | 21;wrist 后依次 thumb/index/middle/ring/little,每指由近端至指尖 | +| rhd21/v1 | 21;保持 wrist,然后五指由近端至指尖;原始每指 tip→palm 反序。只统一顺序,不宣称解剖学位置等价于 MANO | + +具体名称与源索引映射见 `schema.json`。当前只登记 MANO21 与 RHD21;不登记 MediaPipe、ReInterHand capture21 或 fit24 中间关键点。 + +每个发布中的每个视图只提供一套标准手关键点,直接放在 keypoints 下,不设 annotation_set_id 字段或目录。uv 与 xyz 是这套关键点的二维与三维表示,不是两套标注。provenance 分别记录二者来自原始标注还是计算结果;不要求已有 2D 必须由当前 xyz 重新投影覆盖。 + +ReInterHand 的 Original keypoints、Original fits keypoints 及带前臂关键点不纳入 shared;如需手关键点,从选定 MANO 参数生成 MANO21 并记录模型/指尖回归约定。其他数据集默认使用选定的官方关键点,不额外生成平行的 MANO 派生集合。后续主动更换生成方法或结果时发布新的 dataset_version,不在同一版本内增设方法分支。 + +manual/projection/fitting 只记录在 provenance,不作为目录或类型分支。不得通过坐标为零、是否出画或 visibility 判断标注是否存在。派生标注仅在实际生成并通过数值检查后声明 valid=true;没有生成的项为 false,不伪造坐标。 + +`keypoints/visibility.pt [T,2,K]` 保存源逐点可见性,布尔表示使用 `visibility_type=boolean`。uv 与 xyz 共用时引用同一份文件。整手比例属性没有 MANO 可挂载时使用 `whole_hand_visibility.pt [T,2]`,`meaning=whole_hand`;它与逐点可见性分开,通用登记规则见 5.1。 + +不使用 annotation_set_id;ReInterHand 中间关键点集合不进入 shared,raw 保留来源文件。 + +### 5.4 object:身份、资产、位姿与几何 + +#### 5.4.1 metainfo.json:物体身份与跟踪作用域 + +手用 `hand_left`、`hand_right` 及槽位 0、1 表示,不再另存 entities.json。物体身份登记在 `annotation/object//metainfo.json`,必填 `object_id`、`identity_scope`、`scope_id`、`source_locator`;可含 `category_id`、`source_object_id`、`mesh_ref`、`has_model`、部件引用。即使只有分割、没有 pose/mesh,也可只有这份物体元信息。 + +`identity_scope` 为 frame/subsequence/sequence,`scope_id` 指定具体作用域;跨相机共享身份只在已有源对应证据时使用。VISOR 按官方 subsequence 与实体名关联时记录 `association_basis=official_subsequence_entity_name`,不能声称这是全视频物理实例跟踪。无需与 object_id 一一对应的标准 track_id;官方独立轨迹标识存在时保留为 source_track_id,并声明作用域。手槽不证明跨采集片段的个人身份。 + +#### 5.4.2 assets:网格、材质与纹理 + +资产属于物体,统一存放在 `annotation/object//` 内,可用 `assets/` 子目录组织网格、材质、纹理和部件资产。序列层不设共享 assets。所有引用采用视图根目录为基准;其中物体资产组件的 `data_ref` 与部件的 `mesh_ref` 采用相对于当前视图目录的 POSIX 路径,例如 `annotation/object/cup_01/assets/cup.obj`,且必须指向所属物体目录内的资产。OBJ 内部的材质、纹理引用遵循文件格式自身的相对路径规则,依赖文件一并保留。不同相机视图允许各自保存物体资产,不要求跨视图去重;下载物体时包含其资产依赖。 + +网格 schema 为 `mesh/obj/v1`,顶点米制,静态有效性可直接声明标量 `valid`,或通过 `valid_ref` 指向标量 bool Tensor;不按 T 重复静态资产。由物体/部件通过引用关联,不仅凭文件名猜测。 + +#### 5.4.3 pose.pt、pose_valid.pt 与 visibility.pt + +刚体 schema 为 `object/rigid/v1`,`pose.pt [T,4,4]` 固定为 `T_camera_from_object`,平移米制,有效性 `[T]`。物体坐标原点、轴向必须与 mesh 一致;旋转块为正交矩阵且 determinant≈1。 + +`object//visibility.pt [T]` 保存源物体可见比例,float32 [0,1],`visibility_type=ratio`。通过所属物体组件 attributes 登记,独立表达其有效性。 + +#### 5.4.4 articulation.json、部件位姿与 joint_state.pt + +关节物体:schema `object/articulated/v1`,`articulation.json` 登记 `parts` 与 `joints`。每个 part 有 `part_id`、`parent_id`(根为 null)、`has_model`、`mesh_ref`;has_model=false 时 mesh_ref=null,结构节点允许没有网格。父链不得成环。每个 joint 有唯一 `joint_id`、`parent_part`、`child_part`、`type`;fixed 单位 null、revolute 弧度、prismatic 米。有源限位时保存 `limits:[lower,upper]`;没有时 null,不伪造上下限。部件姿态统一为 `T_camera_from_part [T,4,4]`,不与父局部变换混装。 + +若提供 `joint_state.pt [T,J]`,必须登记固定 joint_order、轴在父部件系的表达、零位变换与正方向,valid 为 `[T,J]`;缺少这些运动学定义时只发布部件位姿与已有来源信息,不伪造可驱动的关节模型。关节值与部件位姿同时存在时需验证一致性。 + +部件层级应声明语义:纯语义包含树允许 `joints=[]`,不将包含关系推断为机械关节。关节状态 schema 为 `object/joint_state/v1`;转动用弧度、移动用米,混合类型按 joint_order 对应的关节定义解释。 + +#### 5.4.5 dimensions、几何关键点与顶点部件标签 + +`dimensions.pt [T,3]` 采用 `object/dimensions/v1`,有效性为 `[T]`。 + +物体/部件 `dimensions` 为 `[length,width,height]` 米,轴顺序与该 mesh 的局部坐标关联,登记 `dimensions_semantics` 和来源。HOI4D dimensions 与 mesh 的具体尺度关系未验证前标为 source_unspecified,保留源值并暂停依赖该关系的几何验收,不能默认为待施加缩放。需要施加缩放时明确 scale_applied_to_mesh,禁止重复应用。 + +源物体关键点放 `object//keypoints/xyz.pt [T,K,3]`(相机系)或 `template_xyz.pt [K,3]`(物体系),schema 分别为 object_keypoints/camera/v1 和 object_keypoints/template/v1。明确 keypoint_schema、keypoint_names、单位及有效性;模板点配合 pose 可投影,无须重复生成全部帧。H2O 中心/角点/棱中点,以及 ARCTIC 部件点分别登记具体源顺序,不套用手的 21 点 schema。每个发布选择一套源几何点并记录选择,不另建方法分支。 + +`vertex_part_ids.pt [V] int64` 绑定 `mesh_ref` 与 topology_id,登记整数到 part_id 的映射;未知用 -1。ARCTIC 不同拓扑的资产分别绑定,不能共用未经转换的顶点标签。部件层级中 is_instance/has_model 等源属性保留,几何文件仍全部归 object。 + +### 5.5 segment:分割类别、编码与覆盖范围 + +每个发布选择一套任务使用的分割表示,不建立方法/标注集分支。没有分割就不创建 segment 目录,不为其他模态创建空的实体表。 + +| schema_id | 文件与数值语义 | +|---|---| +| segment/uint16_labels/v1 | mask.mkv;整数区域编号,通过 instances.jsonl 解释 | +| segment/instance_polygons/v1 | polygons.jsonl;实例多边形,可重叠;当前不支持孔洞拓扑 | +| segment/foreground_intensity/v1 | mask.mkv;0–255 前景强度,不是区域编号或经过校准的概率 | + +#### 5.5.1 uint16 标签图与 instances.jsonl + +组件声明 `segmentation_type=semantic/instance/part`;同一组件固定一种类型。`mask.mkv` 解码为 `[T,H,W] uint16`,schema `segment/uint16_labels/v1`,使用 `mkv/uint16_ffv1/v1`,FFV1 gray16le 无损;只有所有区域编码均 ≤255 时允许 gray8(pixel_format=gray),读取后转 uint16,数值不变。禁止调色板和有损编码。有效性 `[T]`,表示该帧有可用分割标注。数值 0 固定为 unassigned,65535 固定为 ignore,1–65534 为区域编码,不能直接等同 entity_id。 + +`instances.jsonl` 每帧一行,包含 `frame_index` 与 `labels`。每条标签包含 `mask_value`、`category_id`、`entity_id`、`part_id`;无意义或未知字段为 null。semantic 允许 entity_id=null;instance 必须引用 hand_left/hand_right 或登记的 object_id;part 还须关联登记部件。源实例 ID 和其他属性分别保存在 `source_instance_id`、`source_attributes`。mask 中每个非保留编码必须有且仅有一个映射。 + +FreiHAND 的试点按本任务需要,统一到手/背景类别,保留每个原生区域编码;不要求给原生细分区域猜测手指名称。需要细部件监督时,尚未核实的部件名称必须保持未知,不能因粗粒度手类别已核实便声称部件语义也已统一。 + +#### 5.5.2 重叠实例多边形 + +每发布选择一套任务使用的分割表示,不建立方法/标注集分支。VISOR 的实际试点存在重叠实例多边形,单层标签图不能无损表达。对此补充 `segment/instance_polygons/v1`:`segment/polygons.jsonl` 每帧包含 `frame_index` 和 `instances`,每实例包含 `mask_value` 与 `polygons`(列表,每个多边形为源图像像素坐标顶点序列,保留原始精度)。身份和类别仍由同一 `instances.jsonl` 映射,有效性仍为 `[T]`,通过 schema 区分物理编码。允许多实例重叠,不采用后画覆盖前画。消费者按需栅格化为独立实例二值 mask;不能声称合并的单层 mask 无损。 + +#### 5.5.3 灰度前景强度 + +ReInterHand 的官方渲染 mask 为双手合并的灰度前景掩码,实测存在 0–255 的中间值,不是左右手实例编号。登记 `segment/foreground_intensity/v1`:仍存 `segment/mask.mkv`,解码为 `[T,H,W] uint16`,使用 `mkv/uint16_ffv1/v1`,此类数据优先编码为 FFV1 gray8(pixel_format=gray),读取后转 uint16。有效值范围 0–255,归一化值为 `float32(value)/255`;0 为背景端点、255 为前景端点。组件声明 `foreground_category=hand`、`entity_id=null` 和双手合并语义,不使用区域编号映射。这里保留原始渲染 mask 强度,不把它称为经过校准的概率。若任务需要二值 mask,阈值化属于任务层派生操作,记录阈值;共享层不丢弃中间灰度。不同 schema 的数值含义不同,不能将该文件按整数类别图解码。 + +FreiHAND 训练集的 JPEG mask 使用 `segment/foreground_intensity/v1`,逐像素保留 JPEG 解码后的灰度,`entity_id=hand_right`。该 schema 不限定双手合并:单手或合并范围由 `entity_id` 与 `coverage` 明确声明。评估集整数区域图仍用 `segment/uint16_labels/v1`,两者不能仅凭文件名使用同一种解码语义。 + +#### 5.5.4 coverage 与有效性 + +`coverage.kind=full/selected_entities/partial/unknown`。full 指声明的标注范围完整;selected_entities 还应列出目标范围。无论哪种,0 本身不自动成为背景;背景要有明确类别映射,未标注区域不能用于构造负样本。保留源逐类/逐实例 exhaustive 信息,未知不可改写为完整。 + +三种表示的帧级有效性均为 `[T]`,表示该帧是否提供此分割标注;对应 valid_ref 在组件中登记,仍用小型 bool `.pt` 数组。栅格 mask 必须登记 storage,格式见 3.1.2,所有帧的整数编码或强度逐值完全相同。编码语义由 schema_id 决定,读取器不能仅依据 mask.mkv 文件名选择解码方式。 + +### 5.6 contact:接触、抓取、区域与距离 + +#### 5.6.1 relations.jsonl 与 relations_valid.pt + +`annotation/contact/relations.jsonl`,schema contact/relations/v1,每帧一行含 frame_index、relations。每条记录含 relation_type(contact/grasp)、subject_id(手槽或登记实体)、object_id、status、source_locator、provenance。status 固定为 positive/negative/unknown/target_unannotated:positive 必须有可解析目标,negative 表示源明确否定该关系,unknown 为不确定,target_unannotated 为确有接触但目标未标注。非 positive 的 object_id 可 null,不能用 null 冒充“不接触”。稀疏源无记录的帧不自动补 negative。 + +VISOR 的对象 mask ID 必须先按同帧 source_instance_id 解析成 object_id;hand-not-in-contact、none-of-the-above、inconclusive 分别映射 negative、target_unannotated、unknown,保留原始字符串。Dex ycb_grasp_ind 通过 ycb_ids 映射到登记物体,以 relation_type=grasp 保存;不得当作逐顶点接触。 + +relations 组件的 valid_ref 指向 `relations_valid.pt [T] bool`,表示该帧是否有可用源关系标注。有效帧中可以存在 status=unknown 的明确不确定标注;无源标注的帧为 valid=false、relations=[]。组件仍声明 available/provenance/source_locator。 + +#### 5.6.2 实体对的顶点区域与距离 + +已发布的接触区域/距离按参与关系的 subject_id 与 object_id 组织,每对实体保留选定的一套结果,以精确 geometry_ref/topology_id 关联到手或物体/部件;不要求每套数据都有。顶点区域 schema contact/vertex_region/v1:bool `[T,V]` 加同形 valid;顶点距离 schema contact/vertex_distance/v1:float32 `[T,V]`、米、同形 valid,声明 source/target geometry_ref、distance_definition(signed/unsigned、测量到点集或表面等明确源定义)。geometry_ref 必须指向已登记 mesh 或由固定 MANO 模型配置确定的拓扑;拓扑/顶点数变化时按拓扑拆分片段。其他源区域表示只有在实际接入并登记 schema 后才可转换,不能随意栅格化宣称等价。 + +顶点区域/距离已有存储定义,但尚未完成真实输入试点;接入时必须提供源语义与几何验收证据,不因已经登记 schema 就视为通过。 + +## 附录:任务范围 + +不强制收录 2D bbox、完整高频动捕、动作程序、身体 SMPL-X、点云或网络特征。范围内的接触、visibility、选定手关键点、物体几何不能因不便处理而静默丢弃。分割采用的物理编码由第 5.5 节决定,存在重叠时不能以单层标签图声称无损。 + +不设置 entities_ref/segment/entities.json,不要求与 object_id 重复的 track_id。MediaPipe 不在当前关键点定义中;旧版本迁移必须保留可追溯关系,不能直接删表。手部共享表示不含独立 hand_mesh。 + +schema.json 是普通注册表,不是 JSON Schema 文档或可执行验收器;定义存在不代表真实数据已验证。验收须保留实测范围与未决项。 + +本存储约定只更新标准,不代表既有 FFV1/depth.pt 试点已迁移。新发布必须显式写 storage 配置;旧产物按其旧定义读取,不能只改文件后缀或版本标识伪装为合规。 diff --git a/OakInk-v2/shared-v1.0/doc/RAW_MAPPING.md b/OakInk-v2/shared-v1.0/doc/RAW_MAPPING.md new file mode 100644 index 0000000000000000000000000000000000000000..83474472915f039dc35fece9c6e04c9072c3d52a --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/RAW_MAPPING.md @@ -0,0 +1,62 @@ +# OakInk2 raw → shared-v1.0 mapping + +This document records the selected OakInk2 fields that are published under +`OakInk-v2/shared-v1.0`. The shared release is a normalized training view, not +a complete copy of every raw field. Original archives remain under +`OakInk-v2/raw`. + +## Sequence and time axis + +- One shared sequence corresponds to one official RGB sequence archive and its + annotation pickle. +- `frame_id_list` is the authoritative RGB row order. Every camera view stores + the source ID and exact camera/MANO/object annotation match in + `camera/frames.jsonl`. +- OakInk2 records four synchronized RGB views at 30 FPS. `source_fps=30.0` is + semantic source timing. The lossless MKV uses `storage_fps=1` with + `timebase_role=index_only`; readers must use `source_fps` and frame mapping for + timing. +- Official train/val/test labels use the pinned OakInk2-TaMF sequence split. + +## Selected fields + +| Raw source | Raw field/member | Shared output | Conversion | +| --- | --- | --- | --- | +| `data/.tar` | `//.png` | `observation/rgb.mkv`, `rgb_valid.pt` | All selected frames, lossless FFV1; decoded RGB is round-trip checked. | +| `anno_preview/.pkl` | `frame_id_list`, `mocap_frame_id_list` | `camera/frames.jsonl` | Exact source IDs and annotation row mapping; no FPS-derived matching. | +| same pickle | `cam_intr` | `camera/intrinsic.pt`, `intrinsic_valid.pt` | Per-frame pinhole intrinsics, unchanged numeric convention. | +| same pickle | `cam_extr` | `camera/extrinsic.pt`, `extrinsic_valid.pt` | Per-frame `T_camera_from_world`, metres. | +| same pickle | `raw_mano` | `annotation/mano/motion.pt`, `motion_valid.pt` | Left/right source quaternion MANO is converted to camera-coordinate axis-angle61 with the official `center_idx=0` wrist convention. | +| same pickle | `obj_list`, `obj_transf` | `annotation/object//pose.pt`, `pose_valid.pt` | Per-frame `T_camera_from_object`; association remains keyed by the official object ID. | +| `object_repair.tar` | repaired OBJ/MTL/texture assets | `annotation/object//assets/` and `metainfo.json` | Selected official repair geometry is copied without inferred geometry or scale. | +| `cam_def`, `cam_selection` | official camera names and selected serials | directory `` plus `metainfo.json:view_type` | `egocentric → ego`; selected allocentric cameras → `exo`. | + +All frame-dependent RGB, camera, MANO and object-pose arrays use the same `T` +and the mapping recorded in `camera/frames.jsonl`. + +## Present in raw but not promoted to shared components + +| Raw source/field | Status and reason | +| --- | --- | +| `object_affordance.tar` | Contains object/part affordance labels, semantic part trees and optional part assets. It is retained in raw but is not currently an explicit shared training component. Shared object IDs allow a future versioned join; object identity or geometry must not be treated as an affordance label. | +| `program.tar`, `program_extension.tar` | Task-language/program annotations are outside this geometric hand-object release. | +| full-body SMPL-X fields | Outside the selected hand-object reconstruction scope. | +| contact supervision | Not selected for this release; no contact component is published. | +| depth | The downloaded official release contains no source depth selected for conversion. | +| pixel mask/segmentation | The downloaded official release contains no official pixel mask selected for conversion. | +| unused raw object variants | `object_repair.tar` is the registered geometry source; preview/raw alternatives are retained only in raw. | + +Omission means that the field is absent from this shared release, not that it +does not exist anywhere in the official raw material. + +## Provenance and reproducibility + +- Converter: `script/preprocess_oakink2.py` +- Review renderer: `script/render_oakink2_report.py` +- Full-random renderer: `script/render_oakink2_full_random.py` +- Runtime versions: `script/requirements-lock.txt` +- Per-view source locators, component schemas, validity tensors, coordinate + conventions and official split evidence are recorded in `metainfo.json`. +- The content-fingerprint audit fixes the current bytes for future comparison; + SHA256 alone does not prove independent official correctness, semantic + correctness or visual quality. diff --git a/OakInk-v2/shared-v1.0/doc/schema.json b/OakInk-v2/shared-v1.0/doc/schema.json new file mode 100644 index 0000000000000000000000000000000000000000..edb7cf7ce8e8e282d1fbfb5b39ef02a60321d2fb --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/schema.json @@ -0,0 +1,880 @@ +{ + "schema_version": "hand-warehouse/1.0", + "validity_revision": "usable-annotation-2026-09-20", + "annotation_validity": { + "meaning": "annotation usable for supervision, not merely record presence", + "formula": "source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass AND NOT explicitly_reviewed_local_exclusion", + "without_official_qa": "omit QA term; declare source rules; do not fabricate QA", + "policy_field": "components..valid_policy", + "visibility_is_independent": true, + "invalid_float_value": "NaN", + "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", + "hot3d_visibility": "native visibility_ratio[%] already ranges from 0 to 1; do not divide by 100" + }, + "hand_slots": [ + "left", + "right" + ], + "view_metadata": { + "required_fields": [ + "view_type" + ], + "view_type_values": [ + "ego", + "exo", + "unknown" + ], + "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" + }, + "keypoints": { + "mano21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map": null, + "note": "adapter maps official MANO joint and fingertip convention" + }, + "rhd21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map_per_hand": [ + 0, + 4, + 3, + 2, + 1, + 8, + 7, + 6, + 5, + 12, + 11, + 10, + 9, + 16, + 15, + 14, + 13, + 20, + 19, + 18, + 17 + ] + } + }, + "camera": { + "opencv_fisheye4": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "k3", + "k4" + ], + "projection": "theta=atan(r); theta_d=theta*(1+k1*theta^2+k2*theta^4+k3*theta^6+k4*theta^8); source ReInterHand" + }, + "pinhole": { + "K": [ + 3, + 3 + ] + }, + "fisheye624": { + "parameters": [ + "f", + "cx", + "cy", + "k0", + "k1", + "k2", + "k3", + "k4", + "k5", + "p0", + "p1", + "s0", + "s1", + "s2", + "s3" + ] + }, + "rational8": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "p1", + "p2", + "k3", + "k4", + "k5", + "k6" + ] + } + }, + "segmentation": { + "segment/uint16_labels/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "polygons.jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + } + }, + "note": "Registry for hand-warehouse/1.0. Read CONTRACT.md for field semantics. This is not a JSON Schema document or executable validator.", + "components": { + "mano/axis_angle61/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 61 + ], + "valid_shape": [ + "T", + 2 + ], + "unit": "m", + "angle_unit": "rad", + "coordinate_frame": "camera", + "layout": { + "pose_axis_angle": [ + 0, + 48 + ], + "shape": [ + 48, + 58 + ], + "translation": [ + 58, + 61 + ] + } + }, + "keypoints/uv/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 2 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "pixel", + "required_metadata": [ + "keypoint_schema" + ] + }, + "keypoints/xyz/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 3 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "m", + "required_metadata": [ + "keypoint_schema" + ] + }, + "depth/z_float32/v1": { + "storage": "mkv", + "dtype": "float32", + "shape": [ + "T", + "H", + "W" + ], + "valid_shape": [ + "T", + "H", + "W" + ], + "unit": "m", + "depth_type": "z", + "pixel_grid": "current_rgb", + "coordinate_frame": "current_rgb_camera", + "valid_storage": "mkv", + "allowed_storage_profiles": [ + "mkv/depth_float32_bits/v1" + ], + "allowed_valid_storage_profiles": [ + "mkv/bool_ffv1/v1" + ], + "required_metadata": [ + "storage", + "valid_storage", + "depth_origin" + ], + "depth_origin_values": [ + "measured", + "rendered", + "unknown" + ] + }, + "transform/se3/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention" + ] + }, + "object/rigid/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention" + ] + }, + "camera/pinhole/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ] + }, + "camera/rational8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ] + }, + "camera/opencv_fisheye4/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ] + }, + "camera/fisheye624/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 15 + ], + "valid_shape": [ + "T" + ] + }, + "camera/distortion8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 8 + ], + "valid_shape": [ + "T" + ] + }, + "camera/fisheye4_distortion/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4 + ], + "valid_shape": [ + "T" + ] + }, + "object/joint_state/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "J" + ], + "valid_shape": [ + "T", + "J" + ], + "required_metadata": [ + "joint_order" + ], + "unit_rule": "revolute radians; prismatic metres; mixed types declared per joint" + }, + "object_keypoints/camera/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "K", + 3 + ], + "valid_shape": [ + "T", + "K" + ], + "unit": "m", + "coordinate_frame": "camera", + "required_metadata": [ + "keypoint_schema" + ] + }, + "object/dimensions/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "dimensions_semantics" + ], + "axis_order": [ + "length", + "width", + "height" + ], + "scale_rule": "do not apply to mesh without source-supported size/scale relation" + }, + "object_keypoints/template/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "K", + 3 + ], + "valid_shape": [ + "K" + ], + "unit": "m", + "coordinate_frame": "object", + "static": true, + "required_metadata": [ + "keypoint_schema" + ] + }, + "mesh/obj/v1": { + "storage": "obj", + "unit": "m", + "static": true, + "valid_shape": [], + "dependencies": "MTL and textures retained under owning object" + }, + "rgb/uint8/v1": { + "storage": "mkv", + "dtype": "uint8", + "shape": [ + "T", + "H", + "W", + 3 + ], + "valid_shape": [ + "T" + ], + "color_order": "RGB", + "allowed_storage_profiles": [ + "mkv/mjpeg_copy/v1", + "mkv/source_copy/v1", + "mkv/h264_rgb_lossless/v1", + "mkv/ffv1_rgb/v1" + ], + "required_metadata": [ + "storage" + ] + }, + "contact/relations/v1": { + "storage": "jsonl", + "valid_shape": [ + "T" + ], + "frame_keys": [ + "frame_index", + "relations" + ], + "absence_semantics": "no record is not a negative contact annotation" + }, + "contact/vertex_region/v1": { + "storage": "pt", + "dtype": "bool", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id" + ], + "pilot_status": "defined_not_empirically_validated" + }, + "contact/vertex_distance/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "unit": "m", + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id", + "distance_definition" + ], + "pilot_status": "defined_not_empirically_validated" + }, + "object/articulated/v1": { + "storage": "json", + "required_keys": [ + "parts", + "joints" + ], + "part_keys": [ + "part_id", + "parent_id", + "has_model", + "mesh_ref" + ], + "hierarchy_semantics": "declare mechanical articulation or semantic containment; containment alone does not imply joints", + "acyclic": true + }, + "segment/uint16_labels/v1": { + "storage": "mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + } + }, + "storage_revision": "lossless-video-2026-09-18", + "sampling": { + "image": { + "single": { + "T": 1 + }, + "independent": { + "T": ">=2", + "required_frame_fields": [ + "sample_id", + "source_locator" + ], + "temporal_relationship": false + }, + "source_fps": null + }, + "video": { + "sampling_types": [ + "dense", + "sparse" + ] + } + }, + "storage_profiles": { + "mkv/mjpeg_copy/v1": { + "container": "matroska", + "codec": "mjpeg", + "method": "stream_copy_from_source_jpeg", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "source_jpeg_packet_sha256_exact", + "all_packet_count_order_and_dimensions_exact", + "deterministic_decoded_rgb_sample_exact", + "pilot_and_final_selected_whole_sequences_decoded_rgb_exact" + ], + "validation_policy": { + "id": "jpeg-packets-all-rgb-sample16/v1", + "sample_count_per_view": 16, + "short_views": "all_frames_if_T_less_than_16", + "fixed_indices": "0,T-1,T//4,T//2,3*T//4, deduplicated", + "remaining_indices": "sample without replacement to min(T,16) using Python random.Random(seed)", + "seed": "first 8 bytes of SHA256(sequence_id/camera_id/20260920), big-endian integer", + "report": "policy, exact selected frame indices, seed, separate packet and pixel coverage", + "legacy_all_frame_pixel_proofs": "still accepted; preserve historical evidence" + } + }, + "mkv/source_copy/v1": { + "container": "matroska", + "codec": "source_codec_declared_in_metadata", + "method": "stream_copy_only", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "no_reencoding", + "all_decoded_rgb_frames_exact", + "presentation_frame_order_exact" + ] + }, + "mkv/h264_rgb_lossless/v1": { + "container": "matroska", + "codec": "h264", + "encoder": "libx264rgb", + "crf": 0, + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "gop": "declared_in_encoder_parameters", + "validation": [ + "all_decoded_rgb_frames_exact" + ], + "forbidden": [ + "lossy_rate_control", + "rgb_to_yuv420_subsampling" + ] + }, + "mkv/ffv1_rgb/v1": { + "container": "matroska", + "codec": "ffv1", + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "validation": [ + "all_decoded_rgb_frames_exact" + ] + }, + "mkv/depth_float32_bits/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray16le", + "logical_dtype": "float32", + "logical_shape": [ + "T", + "H", + "W" + ], + "encoded_shape": [ + "T", + "H", + "2*W" + ], + "packing": "IEEE754 little-endian float32 bits; low uint16 in first W columns, high uint16 in last W columns", + "decode": "reinterpret_float32(uint32(low) | (uint32(high) << 16))", + "validation": [ + "all_float32_bits_exact_including_nan" + ] + }, + "mkv/bool_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray", + "logical_dtype": "bool", + "stored_values": [ + 0, + 1 + ], + "validation": [ + "all_bool_values_exact" + ] + }, + "mkv/uint16_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_formats": [ + "gray", + "gray16le" + ], + "logical_dtype": "uint16", + "gray_condition": "all values <=255; decode by exact uint8-to-uint16 promotion", + "validation": [ + "all_integer_values_exact" + ] + } + }, + "video_metadata": { + "required": [ + "profile", + "codec", + "pixel_format", + "encoded_size", + "decoder", + "encoder_parameters", + "source_lossy" + ], + "source_lossy_values": [ + true, + false, + "unknown" + ], + "timebase_role": "index_only", + "lossless_reference": "source compressed packets or fixed-decoder source pixels; depth uses normalized standard float32 bits", + "selection": "choose smaller complete candidate only after exact roundtrip validation" + } +} diff --git a/OakInk-v2/shared-v1.0/doc/validation/fps-correction/README.md b/OakInk-v2/shared-v1.0/doc/validation/fps-correction/README.md new file mode 100644 index 0000000000000000000000000000000000000000..45dfde09455d0075df43af5683018dcd1790d1e4 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/fps-correction/README.md @@ -0,0 +1,7 @@ +# OakInk2 FPS correction + +The official CVPR 2024 paper states that the four synchronized RGB views were captured at **30 FPS**. All view metadata now records `source_fps=30.0`. The shared FFV1 MKVs remain unchanged at `storage_fps=1` with `timebase_role=index_only`; this container rate is not capture time. + +Review MP4s formerly authored at 20 FPS were retimed to 30 FPS by container stream copy. The encoded H.264 stream SHA256 was checked before and after each retime, so no video frames were re-encoded. The release provides frame IDs but no per-frame timestamps, so `timestamp_ns` remains null. + +Evidence: https://openaccess.thecvf.com/content/CVPR2024/papers/Zhan_OAKINK2_A_Dataset_of_Bimanual_Hands-Object_Manipulation_in_Complex_Task_CVPR_2024_paper.pdf diff --git a/OakInk-v2/shared-v1.0/doc/validation/fps-correction/result.json b/OakInk-v2/shared-v1.0/doc/validation/fps-correction/result.json new file mode 100644 index 0000000000000000000000000000000000000000..e8782abd4dfd81e95f8e9196a00cea545ca6273a --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/fps-correction/result.json @@ -0,0 +1,195 @@ +{ + "schema": "oakink2-fps-correction/v1", + "completed_at": "2026-09-27T22:18:51.108641+08:00", + "source_fps": 30.0, + "evidence": "OakInk2 CVPR 2024 paper section 4.1: four synchronized RGB views at 30 fps", + "evidence_url": "https://openaccess.thecvf.com/content/CVPR2024/papers/Zhan_OAKINK2_A_Dataset_of_Bimanual_Hands-Object_Manipulation_in_Complex_Task_CVPR_2024_paper.pdf", + "metainfo_files_changed": 2508, + "report_json_files_changed": 5, + "html_files_changed": 6, + "review_videos": [ + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070088.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.98, + "before_duration": 47.45, + "after_duration": 31.65, + "encoded_video_sha256": "d6ce8f1c9b7b8ce13caceac1b68810d7d39e976cac089477b94ac8644ef36adb" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070904.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.98, + "before_duration": 47.45, + "after_duration": 31.65, + "encoded_video_sha256": "9700c2bab1b98423be9c4b973ba2cf952f93eb77eeb2b70787859b2afdde721c" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070969.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.98, + "before_duration": 47.45, + "after_duration": 31.65, + "encoded_video_sha256": "84fc24f46051b84445d882ea1a7b59df928ea290c2173b9a20d6cd1c67b1a2f6" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422071041.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.98, + "before_duration": 47.45, + "after_duration": 31.65, + "encoded_video_sha256": "577709729b32d1d51e75787fc375cb7daad7eecc08abae9af6e0875e8aeff93b" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070088.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.99, + "before_duration": 57.2, + "after_duration": 38.15, + "encoded_video_sha256": "8d1a8bf3e778fe409aa698526f089b71a65f85097e2d9b82a097667ffda18206" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070904.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.99, + "before_duration": 57.2, + "after_duration": 38.15, + "encoded_video_sha256": "a9077d7a39125a19cd727903df3edddce24a8ac6d4601724dce66071c4785dff" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070969.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.99, + "before_duration": 57.2, + "after_duration": 38.15, + "encoded_video_sha256": "6d7fdf931135dacd59f255e6710da2c196cc296963ce52547af974b8629f7b92" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422071041.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.99, + "before_duration": 57.2, + "after_duration": 38.15, + "encoded_video_sha256": "b6ac6bd824d17274d271baa7f0f47d969276abf98a51782e8baa48d6966a2d4f" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070088.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 30.0, + "before_duration": 214.95, + "after_duration": 143.32, + "encoded_video_sha256": "fb436105289e1cff2d78dd9871a21d40bd305ac78f69f2c079066a82c3c35e29" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070904.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 30.0, + "before_duration": 214.95, + "after_duration": 143.32, + "encoded_video_sha256": "dda9ed960c9a124e7313994416108456a3a9111d2ecf7b306268d7f29fe80a55" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070969.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 30.0, + "before_duration": 214.95, + "after_duration": 143.32, + "encoded_video_sha256": "c7e2981402484b669680b1b348f9fb883eb1a6e619e0fecf5240fec5bcc3788a" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422071041.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 30.0, + "before_duration": 214.95, + "after_duration": 143.32, + "encoded_video_sha256": "8f8f466fae45766b5135cb1e0bf191d9f64b05fe7f0a3105f0406719a30d7f75" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070088.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.97, + "before_duration": 25.55, + "after_duration": 17.05, + "encoded_video_sha256": "d4bac906a0ca35ba7e798e0ec80a3ff6cb2768e2fec858ae4bc1c6d52f2923d5" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070904.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.97, + "before_duration": 25.55, + "after_duration": 17.05, + "encoded_video_sha256": "103f15cb72adf2afbd1cec5ff446e9959994ed1b5906098dd7b629ff35fc9739" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070969.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.97, + "before_duration": 25.55, + "after_duration": 17.05, + "encoded_video_sha256": "dd3eb49ac9ad4898c766b8535f5eea6cf6ae088644029bba05f63831b11a76eb" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422071041.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.97, + "before_duration": 25.55, + "after_duration": 17.05, + "encoded_video_sha256": "4e62446da539bee7e6b3147e92e43cc37c46f6d692f0f39925e0c1e29d3de741" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070088.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.95, + "before_duration": 14.35, + "after_duration": 9.58, + "encoded_video_sha256": "53c46e9523ed88ec83ffcad0e52746a6176f2d5ceb9d67045859732075f59c5a" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070904.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.95, + "before_duration": 14.35, + "after_duration": 9.58, + "encoded_video_sha256": "54e67a67779101594cd747387a9a764c789ddad0a47c54439602eb258bf41fce" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070969.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.95, + "before_duration": 14.35, + "after_duration": 9.58, + "encoded_video_sha256": "5dbd4d06d404c5a7f286fd3df83c8496889c0c78c44f0df7492a089c89a90446" + }, + { + "path": "/data1/shaoyunzhe/hand-datasets/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422071041.mp4", + "status": "retimed_stream_copy", + "before_fps": 20.0, + "after_fps": 29.95, + "before_duration": 14.35, + "after_duration": 9.58, + "encoded_video_sha256": "6aea1c450175362912607e324dcbfb87573ba939e1da26761bb412c0e1ddc0f5" + } + ], + "shared_mkv_policy": "unchanged: storage_fps=1, timebase_role=index_only", + "frame_timestamp_policy": "released annotations contain frame IDs but no per-frame timestamps; timestamp_ns remains null", + "script_sha256": "cf15c6103821f3c7ab0109a5a8733ea65f549399f6e5bd090ff78d4cd22072f7" +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/human-review.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/human-review.json new file mode 100644 index 0000000000000000000000000000000000000000..cc10b504a754dfbff5cd45e880d23d16243a666d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/human-review.json @@ -0,0 +1,9 @@ +{ + "dataset_id": "OakInk2", + "stage": "full_random", + "status": "approved", + "reviewed_report": "index.html", + "confirmed_at": "2026-09-28T01:50:00+08:00", + "confirmed_by": "user", + "notes": "User authorized publication after full-random review, FPS correction, official/shared MANO chain comparison, documentation completion, and cache cleanup. Approval covers reviewed samples, not exhaustive manual inspection." +} diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/index.html b/OakInk-v2/shared-v1.0/doc/validation/full_random/index.html new file mode 100644 index 0000000000000000000000000000000000000000..047333a3016046f75e7356b87fac357714eb5854 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/index.html @@ -0,0 +1,5 @@ + +OakInk2 full random review +

OakInk2 全量随机抽查

人工审核:待确认

+

固定随机种子 20260927;按 scene 分层,每层等概率抽取一个完整序列,展示全部相机和全部帧。可视化包含 RGB、相机布局、MANO 与物体网格投影。源数据没有 depth 或 pixel mask。

+

SHA256 仅作为当前字节指纹和未来传输比对,不证明源一致性、转换语义或视觉质量。

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39

104422070088 (exo, 949 frames), 104422070904 (exo, 949 frames), 104422070969 (ego, 949 frames), 104422071041 (exo, 949 frames)

Open complete-sequence review

scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52

104422070088 (exo, 1144 frames), 104422070904 (exo, 1144 frames), 104422070969 (ego, 1144 frames), 104422071041 (exo, 1144 frames)

Open complete-sequence review

scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39

104422070088 (exo, 4299 frames), 104422070904 (exo, 4299 frames), 104422070969 (ego, 4299 frames), 104422071041 (exo, 4299 frames)

Open complete-sequence review

scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33

104422070088 (exo, 511 frames), 104422070904 (exo, 511 frames), 104422070969 (ego, 511 frames), 104422071041 (exo, 511 frames)

Open complete-sequence review

\ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/sampling.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/sampling.json new file mode 100644 index 0000000000000000000000000000000000000000..8d103d99fb06b349c5ea0cdc63ddd6791c583e26 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/sampling.json @@ -0,0 +1,21 @@ +{ + "schema": "hand-warehouse-full-random-sampling/v1", + "dataset_id": "OakInk2", + "seed": 20260927, + "method": "one sequence uniformly sampled per scene stratum", + "population_sequences": 627, + "strata": { + "scene_01": 252, + "scene_02": 214, + "scene_03": 142, + "scene_04": 19 + }, + "selected_sequences": [ + "scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39", + "scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52", + "scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39", + "scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33" + ], + "all_cameras": true, + "all_frames": true +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/camera-layout.png b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/camera-layout.png new file mode 100644 index 0000000000000000000000000000000000000000..fb45f3e6d24bbe203c6f693a9f4abcda9a0b8502 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/camera-layout.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:223f5ed35d7d2f9eea3e33502df2828959fd5cfb587dc3b23c785d4419a0be58 +size 19166 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/human-review.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/human-review.json new file mode 100644 index 0000000000000000000000000000000000000000..1298f0da1db4a2e40bbcb0eccf5586021b9ee00d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/human-review.json @@ -0,0 +1,12 @@ +{ + "dataset_id": "OakInk2", + "release_id": "shared-v1.0", + "stage": "full_random", + "status": "pending", + "review_scope": "complete selected sequence, all cameras, all frames and available geometric modalities", + "reviewed_report": "index.html", + "reviewed_report_sha256": null, + "confirmed_at": null, + "confirmed_by": null, + "notes": "Automatic checks do not constitute human approval." +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/index.html b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/index.html new file mode 100644 index 0000000000000000000000000000000000000000..ca9418e70535b5f816c50661228d5854c7f50435 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/index.html @@ -0,0 +1,10 @@ + +OakInk2 scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39 校验 +

OakInk2 · scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39

自动校验完成;人工审核待确认。

+

所有选中相机和全部帧均已渲染。源中没有 depth 或像素 mask,因此报告不展示这些模态;物体模型来自官方 object_repair。

+

右栏手部使用完整 MANO 三角网格;物体使用 OBJ 全部三角面,而非稀疏顶点。颜色仅用于区分几何实体。

+

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

+

多相机相对位置

camera layout

由首个源帧的 T_camera_from_world 反算相机中心和朝向;坐标为世界坐标,距离单位为米。

+
baseline (m)104422070088104422070904104422070969104422071041
1044220700880.0001.6751.2441.241
1044220709041.6750.0001.1140.758
1044220709691.2441.1140.0001.201
1044220710411.2410.7581.2010.000
+

序列内相机中心最大位移

cameraviewmax drift (m)
104422070088exo0.000
104422070904exo0.000
104422070969ego0.243
104422071041exo0.000
+

外部固定相机的数值误差接近零;ego 相机会随头部运动,因此首帧布局不能代表整段中的唯一位置。

104422070088 · exo

全部 949 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[949, 949];物体=O02@0010@00003, O02@0017@00002, O02@0032@00001, O02@0032@00002。

104422070904 · exo

全部 949 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[949, 949];物体=O02@0010@00003, O02@0017@00002, O02@0032@00001, O02@0032@00002。

104422070969 · ego

全部 949 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[949, 949];物体=O02@0010@00003, O02@0017@00002, O02@0032@00001, O02@0032@00002。

104422071041 · exo

全部 949 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[949, 949];物体=O02@0010@00003, O02@0017@00002, O02@0032@00001, O02@0032@00002。

\ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070088.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070088.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..1bc14b8390a82c778a5db916994c50194f18e42f --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070088.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e58ea980abd223330cca3ba3112a0ce2fe70430b1ea3289722c086856877ccf9 +size 10056095 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070904.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070904.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..2671190f0fdc52f59ac357ced3f03a67532b0972 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070904.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f8aa235e017164328d63e267413d1b6f9e69195df66236e88172f795686dd2b +size 11046523 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070969.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070969.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..e50fa5a473540a0281f48673b3e6575a3a94879a --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422070969.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76ba52cb96677db38ccfb412fbc9211745d23515547c57701279047ec2b95e14 +size 34724584 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422071041.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422071041.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..cfc45416d1f02685709c39bf884f4fa2c69c28be --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/media/104422071041.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69f4da722d85321182c8d94e0c319e370e9c49975a5bd420734377c4ee60625a +size 9898365 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/report.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/report.json new file mode 100644 index 0000000000000000000000000000000000000000..238ac6ad4367cc351d7ee7ed6499ca602d706e53 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/report.json @@ -0,0 +1,168 @@ +{ + "dataset_id": "OakInk2", + "sequence": "scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39", + "views": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "frames": 949, + "video": "media/104422070088.mp4", + "mano_valid": [ + 949, + 949 + ], + "objects": [ + "O02@0010@00003", + "O02@0017@00002", + "O02@0032@00001", + "O02@0032@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "frames": 949, + "video": "media/104422070904.mp4", + "mano_valid": [ + 949, + 949 + ], + "objects": [ + "O02@0010@00003", + "O02@0017@00002", + "O02@0032@00001", + "O02@0032@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "frames": 949, + "video": "media/104422070969.mp4", + "mano_valid": [ + 949, + 949 + ], + "objects": [ + "O02@0010@00003", + "O02@0017@00002", + "O02@0032@00001", + "O02@0032@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "frames": 949, + "video": "media/104422071041.mp4", + "mano_valid": [ + 949, + 949 + ], + "objects": [ + "O02@0010@00003", + "O02@0017@00002", + "O02@0032@00001", + "O02@0032@00002" + ], + "source_fps": 30.0 + } + ], + "camera_layout": { + "image": "camera-layout.png", + "coordinate_frame": "world", + "frame": "first source frame", + "cameras": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "center": [ + -0.8658484220504761, + 0.1357956975698471, + -0.301872581243515 + ], + "forward": [ + 0.8490505218505859, + -0.12704771757125854, + 0.512808084487915 + ], + "max_center_drift_m": 2.9802322387695312e-08 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "center": [ + 0.7297857999801636, + 0.631841242313385, + -0.4119459092617035 + ], + "forward": [ + -0.567338228225708, + -0.6529070734977722, + 0.501836359500885 + ], + "max_center_drift_m": 2.9802322387695312e-08 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "center": [ + 0.04839635640382767, + 0.49956974387168884, + 0.4592219293117523 + ], + "forward": [ + -0.04561765119433403, + -0.6694837808609009, + -0.7414246797561646 + ], + "max_center_drift_m": 0.24349099397659302 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "center": [ + 0.06213274598121643, + 0.866186261177063, + -0.6847434043884277 + ], + "forward": [ + -0.059964440762996674, + -0.7253531217575073, + 0.6857602596282959 + ], + "max_center_drift_m": 3.725290298461914e-09 + } + ], + "baseline_m": { + "104422070088": { + "104422070088": 0.0, + "104422070904": 1.6745823621749878, + "104422070969": 1.2439613342285156, + "104422071041": 1.2414546012878418 + }, + "104422070904": { + "104422070088": 1.6745823621749878, + "104422070904": 0.0, + "104422070969": 1.113876461982727, + "104422071041": 0.7583513259887695 + }, + "104422070969": { + "104422070088": 1.2439613342285156, + "104422070904": 1.113876461982727, + "104422070969": 0.0, + "104422071041": 1.201354742050171 + }, + "104422071041": { + "104422070088": 1.2414546012878418, + "104422070904": 0.7583513259887695, + "104422070969": 1.201354742050171, + "104422071041": 0.0 + } + } + }, + "status": "automatic_checks_passed" +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/sampling.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/sampling.json new file mode 100644 index 0000000000000000000000000000000000000000..20c2e64acc60b6f14ecde66bcd071f57416be297 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39/sampling.json @@ -0,0 +1,6 @@ +{ + "method": "complete_sequence", + "sequence": "scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39", + "all_cameras": true, + "all_frames": true +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/camera-layout.png b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/camera-layout.png new file mode 100644 index 0000000000000000000000000000000000000000..fc5f7a064cb3cdf953a61ac8b16444c15f6fe35f --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/camera-layout.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cadfd1d6044f06e9bde6834c3f401f74a7527e0a433bdfe6900e037968b3bde +size 19054 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/human-review.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/human-review.json new file mode 100644 index 0000000000000000000000000000000000000000..1298f0da1db4a2e40bbcb0eccf5586021b9ee00d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/human-review.json @@ -0,0 +1,12 @@ +{ + "dataset_id": "OakInk2", + "release_id": "shared-v1.0", + "stage": "full_random", + "status": "pending", + "review_scope": "complete selected sequence, all cameras, all frames and available geometric modalities", + "reviewed_report": "index.html", + "reviewed_report_sha256": null, + "confirmed_at": null, + "confirmed_by": null, + "notes": "Automatic checks do not constitute human approval." +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/index.html b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/index.html new file mode 100644 index 0000000000000000000000000000000000000000..593723fcf72770e3b10eaa125e1946396be9f379 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/index.html @@ -0,0 +1,10 @@ + +OakInk2 scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52 校验 +

OakInk2 · scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52

自动校验完成;人工审核待确认。

+

所有选中相机和全部帧均已渲染。源中没有 depth 或像素 mask,因此报告不展示这些模态;物体模型来自官方 object_repair。

+

右栏手部使用完整 MANO 三角网格;物体使用 OBJ 全部三角面,而非稀疏顶点。颜色仅用于区分几何实体。

+

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

+

多相机相对位置

camera layout

由首个源帧的 T_camera_from_world 反算相机中心和朝向;坐标为世界坐标,距离单位为米。

+
baseline (m)104422070088104422070904104422070969104422071041
1044220700880.0001.6751.1851.242
1044220709041.6750.0001.1130.759
1044220709691.1851.1130.0001.202
1044220710411.2420.7591.2020.000
+

序列内相机中心最大位移

cameraviewmax drift (m)
104422070088exo0.000
104422070904exo0.000
104422070969ego0.128
104422071041exo0.000
+

外部固定相机的数值误差接近零;ego 相机会随头部运动,因此首帧布局不能代表整段中的唯一位置。

104422070088 · exo

全部 1144 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[1144, 1144];物体=O02@0035@00001, O02@0035@00002, O02@0056@00001, O02@0056@00002。

104422070904 · exo

全部 1144 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[1144, 1144];物体=O02@0035@00001, O02@0035@00002, O02@0056@00001, O02@0056@00002。

104422070969 · ego

全部 1144 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[1144, 1144];物体=O02@0035@00001, O02@0035@00002, O02@0056@00001, O02@0056@00002。

104422071041 · exo

全部 1144 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[1144, 1144];物体=O02@0035@00001, O02@0035@00002, O02@0056@00001, O02@0056@00002。

\ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070088.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070088.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..db91597d14b37fe0c76fb226b3b60967b6bf51b1 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070088.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e70ba7ef5034104c4d383c5d5cc767806f91bf5a0d8acb3bfa48581230b868e0 +size 11511757 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070904.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070904.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..366359a32a195d2e10799af3be05707c94882d00 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070904.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b9131aa93dd77bc43db668079c6031da0191e85436683b91911e1a76660aa79 +size 11180230 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070969.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070969.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..8fd884129fe34b338dbb71e351c810b5392c091b --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422070969.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb6f054a5843e418c67fc72dd12d4b14fc2a71c905a29b6dc3516b576633426b +size 37058459 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422071041.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422071041.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..368400ea2125bd29921c67a4c239969b590c7b83 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/media/104422071041.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29c929545a62f94456e5a4d1838cd58e57b62800aeb51ef766b31f70cc60fd10 +size 11307105 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/report.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/report.json new file mode 100644 index 0000000000000000000000000000000000000000..6ab08f89265364781dba97e6137b51bb394e2bb1 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/report.json @@ -0,0 +1,168 @@ +{ + "dataset_id": "OakInk2", + "sequence": "scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52", + "views": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "frames": 1144, + "video": "media/104422070088.mp4", + "mano_valid": [ + 1144, + 1144 + ], + "objects": [ + "O02@0035@00001", + "O02@0035@00002", + "O02@0056@00001", + "O02@0056@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "frames": 1144, + "video": "media/104422070904.mp4", + "mano_valid": [ + 1144, + 1144 + ], + "objects": [ + "O02@0035@00001", + "O02@0035@00002", + "O02@0056@00001", + "O02@0056@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "frames": 1144, + "video": "media/104422070969.mp4", + "mano_valid": [ + 1144, + 1144 + ], + "objects": [ + "O02@0035@00001", + "O02@0035@00002", + "O02@0056@00001", + "O02@0056@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "frames": 1144, + "video": "media/104422071041.mp4", + "mano_valid": [ + 1144, + 1144 + ], + "objects": [ + "O02@0035@00001", + "O02@0035@00002", + "O02@0056@00001", + "O02@0056@00002" + ], + "source_fps": 30.0 + } + ], + "camera_layout": { + "image": "camera-layout.png", + "coordinate_frame": "world", + "frame": "first source frame", + "cameras": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "center": [ + -0.8733847737312317, + 0.1362835317850113, + -0.28840649127960205 + ], + "forward": [ + 0.8558246493339539, + -0.12995141744613647, + 0.5006763935089111 + ], + "max_center_drift_m": 0.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "center": [ + 0.7221174240112305, + 0.6293502449989319, + -0.42081546783447266 + ], + "forward": [ + -0.5617280602455139, + -0.651120126247406, + 0.5103960633277893 + ], + "max_center_drift_m": 0.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "center": [ + 0.03552907705307007, + 0.4005567133426666, + 0.424276739358902 + ], + "forward": [ + -0.009413668885827065, + -0.8228623867034912, + -0.5681628584861755 + ], + "max_center_drift_m": 0.1280096173286438 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "center": [ + 0.05084496736526489, + 0.8644863367080688, + -0.6848313808441162 + ], + "forward": [ + -0.051628004759550095, + -0.7240754961967468, + 0.6877857446670532 + ], + "max_center_drift_m": 0.0 + } + ], + "baseline_m": { + "104422070088": { + "104422070088": 0.0, + "104422070904": 1.6751936674118042, + "104422070969": 1.1848552227020264, + "104422071041": 1.2416249513626099 + }, + "104422070904": { + "104422070088": 1.6751936674118042, + "104422070904": 0.0, + "104422070969": 1.1126233339309692, + "104422071041": 0.7586831450462341 + }, + "104422070969": { + "104422070088": 1.1848552227020264, + "104422070904": 1.1126233339309692, + "104422070969": 0.0, + "104422071041": 1.2023252248764038 + }, + "104422071041": { + "104422070088": 1.2416249513626099, + "104422070904": 0.7586831450462341, + "104422070969": 1.2023252248764038, + "104422071041": 0.0 + } + } + }, + "status": "automatic_checks_passed" +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/sampling.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/sampling.json new file mode 100644 index 0000000000000000000000000000000000000000..0d53e93b6e1288f477ab9eeabd7dcfd6824720e3 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52/sampling.json @@ -0,0 +1,6 @@ +{ + "method": "complete_sequence", + "sequence": "scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52", + "all_cameras": true, + "all_frames": true +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/camera-layout.png b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/camera-layout.png new file mode 100644 index 0000000000000000000000000000000000000000..1171852cee310a8923fde7c0c6b5ea748b0fc188 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/camera-layout.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2e8f1a4e4a74f1d8825bb94e9fedfd2944f7d8db20e1b14a94185f4e3597a09 +size 19076 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/human-review.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/human-review.json new file mode 100644 index 0000000000000000000000000000000000000000..1298f0da1db4a2e40bbcb0eccf5586021b9ee00d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/human-review.json @@ -0,0 +1,12 @@ +{ + "dataset_id": "OakInk2", + "release_id": "shared-v1.0", + "stage": "full_random", + "status": "pending", + "review_scope": "complete selected sequence, all cameras, all frames and available geometric modalities", + "reviewed_report": "index.html", + "reviewed_report_sha256": null, + "confirmed_at": null, + "confirmed_by": null, + "notes": "Automatic checks do not constitute human approval." +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/index.html b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/index.html new file mode 100644 index 0000000000000000000000000000000000000000..1120e7e32c3e19111b9cd2058d5ae7fadccbd24e --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/index.html @@ -0,0 +1,10 @@ + +OakInk2 scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39 校验 +

OakInk2 · scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39

自动校验完成;人工审核待确认。

+

所有选中相机和全部帧均已渲染。源中没有 depth 或像素 mask,因此报告不展示这些模态;物体模型来自官方 object_repair。

+

右栏手部使用完整 MANO 三角网格;物体使用 OBJ 全部三角面,而非稀疏顶点。颜色仅用于区分几何实体。

+

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

+

多相机相对位置

camera layout

由首个源帧的 T_camera_from_world 反算相机中心和朝向;坐标为世界坐标,距离单位为米。

+
baseline (m)104422070088104422070904104422070969104422071041
1044220700880.0001.6681.2091.233
1044220709041.6680.0001.0650.757
1044220709691.2091.0650.0001.090
1044220710411.2330.7571.0900.000
+

序列内相机中心最大位移

cameraviewmax drift (m)
104422070088exo0.000
104422070904exo0.000
104422070969ego0.331
104422071041exo0.000
+

外部固定相机的数值误差接近零;ego 相机会随头部运动,因此首帧布局不能代表整段中的唯一位置。

104422070088 · exo

全部 4299 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[4299, 4299];物体=O02@0011@00002, O02@0011@00003, O02@0015@00022, O02@0015@00023, O02@0015@00025, O02@0015@00026, O02@0033@00002, O02@0204@00001。

104422070904 · exo

全部 4299 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[4299, 4299];物体=O02@0011@00002, O02@0011@00003, O02@0015@00022, O02@0015@00023, O02@0015@00025, O02@0015@00026, O02@0033@00002, O02@0204@00001。

104422070969 · ego

全部 4299 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[4299, 4299];物体=O02@0011@00002, O02@0011@00003, O02@0015@00022, O02@0015@00023, O02@0015@00025, O02@0015@00026, O02@0033@00002, O02@0204@00001。

104422071041 · exo

全部 4299 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[4299, 4299];物体=O02@0011@00002, O02@0011@00003, O02@0015@00022, O02@0015@00023, O02@0015@00025, O02@0015@00026, O02@0033@00002, O02@0204@00001。

\ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070088.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070088.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..68b2eaf60a6664813648c3268496b32948414a15 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070088.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e82947c4b3f97fd5040992a8fe06b8a2af1f8038aa5f2854dd1b495530de2f8 +size 39063884 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070904.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070904.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..f454d2c7acec58ae67cd6368dc20495b49fb305e --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070904.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c01d10a090ee00d2ce17a73e9153e23d67963aae689797d76b4513455f2df0b +size 42581692 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070969.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070969.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..a9d7ce5deef83f1464eec95a22195edb18e072ce --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422070969.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d2654d2b9033365c9918f0a1920670476dd0bf8a2607462591478a5998c3bc6 +size 106681243 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422071041.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422071041.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..d1acae28f2184fa71e1d383dd1a570351a5f0bed --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/media/104422071041.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b2d90203fa7f1d3fe3c48ee3f8524fd282c81aa1d34f7b1d5684cb762ee9a08 +size 39961207 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/report.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/report.json new file mode 100644 index 0000000000000000000000000000000000000000..a5e2d4c3afd69495d4bad20e97741ac6feffbe2b --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/report.json @@ -0,0 +1,184 @@ +{ + "dataset_id": "OakInk2", + "sequence": "scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39", + "views": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "frames": 4299, + "video": "media/104422070088.mp4", + "mano_valid": [ + 4299, + 4299 + ], + "objects": [ + "O02@0011@00002", + "O02@0011@00003", + "O02@0015@00022", + "O02@0015@00023", + "O02@0015@00025", + "O02@0015@00026", + "O02@0033@00002", + "O02@0204@00001" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "frames": 4299, + "video": "media/104422070904.mp4", + "mano_valid": [ + 4299, + 4299 + ], + "objects": [ + "O02@0011@00002", + "O02@0011@00003", + "O02@0015@00022", + "O02@0015@00023", + "O02@0015@00025", + "O02@0015@00026", + "O02@0033@00002", + "O02@0204@00001" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "frames": 4299, + "video": "media/104422070969.mp4", + "mano_valid": [ + 4299, + 4299 + ], + "objects": [ + "O02@0011@00002", + "O02@0011@00003", + "O02@0015@00022", + "O02@0015@00023", + "O02@0015@00025", + "O02@0015@00026", + "O02@0033@00002", + "O02@0204@00001" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "frames": 4299, + "video": "media/104422071041.mp4", + "mano_valid": [ + 4299, + 4299 + ], + "objects": [ + "O02@0011@00002", + "O02@0011@00003", + "O02@0015@00022", + "O02@0015@00023", + "O02@0015@00025", + "O02@0015@00026", + "O02@0033@00002", + "O02@0204@00001" + ], + "source_fps": 30.0 + } + ], + "camera_layout": { + "image": "camera-layout.png", + "coordinate_frame": "world", + "frame": "first source frame", + "cameras": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "center": [ + -0.8697201609611511, + 0.13829030096530914, + -0.28609758615493774 + ], + "forward": [ + 0.8599018454551697, + -0.13301505148410797, + 0.4928242862224579 + ], + "max_center_drift_m": 0.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "center": [ + 0.7154483199119568, + 0.6376645565032959, + -0.4335751533508301 + ], + "forward": [ + -0.5616515874862671, + -0.6535254716873169, + 0.5073972344398499 + ], + "max_center_drift_m": 0.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "center": [ + 0.021800994873046875, + 0.617702305316925, + 0.3744497299194336 + ], + "forward": [ + -0.03595110774040222, + -0.9123198986053467, + -0.4078969359397888 + ], + "max_center_drift_m": 0.33110013604164124 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "center": [ + 0.040174636989831924, + 0.8680565357208252, + -0.6867303252220154 + ], + "forward": [ + -0.04498037323355675, + -0.7264868021011353, + 0.6857067942619324 + ], + "max_center_drift_m": 0.0 + } + ], + "baseline_m": { + "104422070088": { + "104422070088": 0.0, + "104422070904": 1.6684974431991577, + "104422070969": 1.2087053060531616, + "104422071041": 1.233277678489685 + }, + "104422070904": { + "104422070088": 1.6684974431991577, + "104422070904": 0.0, + "104422070969": 1.0651053190231323, + "104422071041": 0.7570749521255493 + }, + "104422070969": { + "104422070088": 1.2087053060531616, + "104422070904": 1.0651053190231323, + "104422070969": 0.0, + "104422071041": 1.0904669761657715 + }, + "104422071041": { + "104422070088": 1.233277678489685, + "104422070904": 0.7570749521255493, + "104422070969": 1.0904669761657715, + "104422071041": 0.0 + } + } + }, + "status": "automatic_checks_passed" +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/sampling.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/sampling.json new file mode 100644 index 0000000000000000000000000000000000000000..0180740345e30c4f947b55e62abe75a5a6ea48cd --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39/sampling.json @@ -0,0 +1,6 @@ +{ + "method": "complete_sequence", + "sequence": "scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39", + "all_cameras": true, + "all_frames": true +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/camera-layout.png b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/camera-layout.png new file mode 100644 index 0000000000000000000000000000000000000000..fc8c5473df0266cc7c0b8e5a06cbea8cdbaaf420 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/camera-layout.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db202cede638cb429296d6d851b0c6ac0a0f72bdbc36b2d9f8d77c26d4ffa66f +size 19183 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/human-review.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/human-review.json new file mode 100644 index 0000000000000000000000000000000000000000..1298f0da1db4a2e40bbcb0eccf5586021b9ee00d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/human-review.json @@ -0,0 +1,12 @@ +{ + "dataset_id": "OakInk2", + "release_id": "shared-v1.0", + "stage": "full_random", + "status": "pending", + "review_scope": "complete selected sequence, all cameras, all frames and available geometric modalities", + "reviewed_report": "index.html", + "reviewed_report_sha256": null, + "confirmed_at": null, + "confirmed_by": null, + "notes": "Automatic checks do not constitute human approval." +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/index.html b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/index.html new file mode 100644 index 0000000000000000000000000000000000000000..147aeae1b2ccdafddd4f5c483e4c11da5d082c71 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/index.html @@ -0,0 +1,10 @@ + +OakInk2 scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33 校验 +

OakInk2 · scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33

自动校验完成;人工审核待确认。

+

所有选中相机和全部帧均已渲染。源中没有 depth 或像素 mask,因此报告不展示这些模态;物体模型来自官方 object_repair。

+

右栏手部使用完整 MANO 三角网格;物体使用 OBJ 全部三角面,而非稀疏顶点。颜色仅用于区分几何实体。

+

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

+

多相机相对位置

camera layout

由首个源帧的 T_camera_from_world 反算相机中心和朝向;坐标为世界坐标,距离单位为米。

+
baseline (m)104422070088104422070904104422070969104422071041
1044220700880.0001.6801.1411.234
1044220709041.6800.0001.0530.772
1044220709691.1411.0530.0001.113
1044220710411.2340.7721.1130.000
+

序列内相机中心最大位移

cameraviewmax drift (m)
104422070088exo0.000
104422070904exo0.000
104422070969ego0.136
104422071041exo0.000
+

外部固定相机的数值误差接近零;ego 相机会随头部运动,因此首帧布局不能代表整段中的唯一位置。

104422070088 · exo

全部 511 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[511, 511];物体=O02@0025@00001, S10020。

104422070904 · exo

全部 511 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[511, 511];物体=O02@0025@00001, S10020。

104422070969 · ego

全部 511 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[511, 511];物体=O02@0025@00001, S10020。

104422071041 · exo

全部 511 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[511, 511];物体=O02@0025@00001, S10020。

\ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070088.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070088.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..6c5379fe36cc656aa9049196a7963436df783daf --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070088.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f10f3fda70ba613026a19bdbcd98c11389c3b4476a915ed8395e920c3ec4488 +size 4139616 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070904.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070904.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..9a24f1c8bdfdb3802cebb19857dd0e7165cdd89b --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070904.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b16fd67f8a536af03cab6b0b6df9596af2626706c571568426f156b8068e3e4 +size 5002956 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070969.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070969.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..a279c5ac5e8da748853dba6e6e0d982b52111f9d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422070969.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9867cf77205ee56a28167ebc870e04f56c8c7dab369ae88bf834ffe0b6735a3f +size 11953514 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422071041.mp4 b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422071041.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..11722665b3e0386bba3ef7ebf33f0274c9cb9b30 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/media/104422071041.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62049a4391741ba8575e80141b0a761803fa12adb90e5ed69a0b58ae24fd198d +size 4491959 diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/report.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/report.json new file mode 100644 index 0000000000000000000000000000000000000000..b978b1e686d50317bdc74327339ca7c10dbbc750 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/report.json @@ -0,0 +1,160 @@ +{ + "dataset_id": "OakInk2", + "sequence": "scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33", + "views": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "frames": 511, + "video": "media/104422070088.mp4", + "mano_valid": [ + 511, + 511 + ], + "objects": [ + "O02@0025@00001", + "S10020" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "frames": 511, + "video": "media/104422070904.mp4", + "mano_valid": [ + 511, + 511 + ], + "objects": [ + "O02@0025@00001", + "S10020" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "frames": 511, + "video": "media/104422070969.mp4", + "mano_valid": [ + 511, + 511 + ], + "objects": [ + "O02@0025@00001", + "S10020" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "frames": 511, + "video": "media/104422071041.mp4", + "mano_valid": [ + 511, + 511 + ], + "objects": [ + "O02@0025@00001", + "S10020" + ], + "source_fps": 30.0 + } + ], + "camera_layout": { + "image": "camera-layout.png", + "coordinate_frame": "world", + "frame": "first source frame", + "cameras": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "center": [ + -0.8670950531959534, + 0.141975536942482, + -0.2925545871257782 + ], + "forward": [ + 0.8562235236167908, + -0.13619552552700043, + 0.49832937121391296 + ], + "max_center_drift_m": 2.9802322387695312e-08 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "center": [ + 0.7352609634399414, + 0.6327555179595947, + -0.41431930661201477 + ], + "forward": [ + -0.5500766038894653, + -0.6537070870399475, + 0.5196948647499084 + ], + "max_center_drift_m": 2.9802322387695312e-08 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "center": [ + 0.03083629347383976, + 0.44116806983947754, + 0.3447019159793854 + ], + "forward": [ + -0.06946402043104172, + -0.7828071713447571, + -0.6183750629425049 + ], + "max_center_drift_m": 0.13625818490982056 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "center": [ + 0.05116254836320877, + 0.8686746954917908, + -0.6827453374862671 + ], + "forward": [ + -0.04742254316806793, + -0.729496955871582, + 0.6823381185531616 + ], + "max_center_drift_m": 5.972094641037984e-08 + } + ], + "baseline_m": { + "104422070088": { + "104422070088": 0.0, + "104422070904": 1.6802489757537842, + "104422070969": 1.1410051584243774, + "104422071041": 1.2343165874481201 + }, + "104422070904": { + "104422070088": 1.6802489757537842, + "104422070904": 0.0, + "104422070969": 1.053106427192688, + "104422071041": 0.7718167304992676 + }, + "104422070969": { + "104422070088": 1.1410051584243774, + "104422070904": 1.053106427192688, + "104422070969": 0.0, + "104422071041": 1.1130242347717285 + }, + "104422071041": { + "104422070088": 1.2343165874481201, + "104422070904": 0.7718167304992676, + "104422070969": 1.1130242347717285, + "104422071041": 0.0 + } + } + }, + "status": "automatic_checks_passed" +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/sampling.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/sampling.json new file mode 100644 index 0000000000000000000000000000000000000000..0866dc83d1cd2bb7494480f36ecc6e61cf05f62d --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33/sampling.json @@ -0,0 +1,6 @@ +{ + "method": "complete_sequence", + "sequence": "scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33", + "all_cameras": true, + "all_frames": true +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/full_random/status.json b/OakInk-v2/shared-v1.0/doc/validation/full_random/status.json new file mode 100644 index 0000000000000000000000000000000000000000..29791dc7b8cd67423e8dda10dc4b1a433b9e1579 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/full_random/status.json @@ -0,0 +1,19 @@ +{ + "schema": "oakink2-full-random-status/v1", + "stage": "complete", + "seed": 20260927, + "sampling": "one complete sequence uniformly sampled within each scene stratum", + "population_sequences": 627, + "selected": [ + "scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39", + "scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52", + "scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39", + "scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33" + ], + "completed": [ + "scene_01__O001++seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39", + "scene_02__A002++seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52", + "scene_03__A007++seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39", + "scene_04__A005++seq__c80df7bc6d12b566098a__2023-04-20-11-10-33" + ] +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/camera-layout.png b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/camera-layout.png new file mode 100644 index 0000000000000000000000000000000000000000..a4750b57008429a1ae6024753c817d7594285f6e --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/camera-layout.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:580bd92069393b30b76b4b58d656cf6eb5fa7bfb0d65f8371eea96923959efab +size 19114 diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/human-review.json b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/human-review.json new file mode 100644 index 0000000000000000000000000000000000000000..21b41b19b58eab699d621005c9d8ff3b88fd12a3 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/human-review.json @@ -0,0 +1,12 @@ +{ + "dataset_id": "OakInk2", + "release_id": "shared-v1.0", + "stage": "pilot", + "status": "approved", + "review_scope": "complete selected sequence, all cameras, all frames and available geometric modalities", + "reviewed_report": "index.html", + "reviewed_report_sha256": "dda6f214502ee1077865cd5740d6e0be02d0ce698e979853164884f4b081932d", + "confirmed_at": "2026-09-25T16:39:24.6790107+08:00", + "confirmed_by": "user", + "notes": "User confirmed the mesh-v2 complete-sequence pilot and explicitly authorized full preprocessing. Approval covers the displayed 287-frame, four-camera pilot, not exhaustive full-output review." +} diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/index.html b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/index.html new file mode 100644 index 0000000000000000000000000000000000000000..c5b34caac898c2447a97f7f308ff5e55ebd1ebe4 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/index.html @@ -0,0 +1,8 @@ + +OakInk2 scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00 校验 +

OakInk2 · scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00

自动校验完成;人工审核待确认。

+

所有选中相机和全部帧均已渲染。源中没有 depth 或像素 mask,因此报告不展示这些模态;物体模型来自官方 object_repair。

+

右栏手部使用完整 MANO 三角网格;物体使用 OBJ 全部三角面,而非稀疏顶点。颜色仅用于区分几何实体。

+

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

+

多相机相对位置

camera layout

由首个源帧的 T_camera_from_world 反算相机中心和朝向;坐标为世界坐标,距离单位为米。

+
baseline (m)104422070088104422070904104422070969104422071041
1044220700880.0001.6811.1971.233
1044220709041.6810.0001.0900.773
1044220709691.1971.0900.0001.048
1044220710411.2330.7731.0480.000

序列内相机中心最大位移

cameraviewmax drift (m)
104422070088exo0.000
104422070904exo0.000
104422070969ego0.225
104422071041exo0.000

外部固定相机的数值误差接近零;ego 相机会随头部运动,因此首帧布局不能代表整段中的唯一位置。

104422070088 · exo

全部 287 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[287, 287];物体=O02@0045@00001, O02@0045@00002。

104422070904 · exo

全部 287 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[287, 287];物体=O02@0045@00001, O02@0045@00002。

104422070969 · ego

全部 287 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[287, 287];物体=O02@0045@00001, O02@0045@00002。

104422071041 · exo

全部 287 帧。左栏原图;右栏为 MANO 与物体几何投影。MANO valid 左/右=[287, 287];物体=O02@0045@00001, O02@0045@00002。

\ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070088.mp4 b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070088.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..3c00bc48aa387bd10f184e5b61216a5662e83e16 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070088.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2779b0e7bd529e94906428ceb6c0def36c900c5a527c9ae30cbba95b4d776567 +size 2594066 diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070904.mp4 b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070904.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..8d840f2a276302d67ecc59b2d764119b95ecac53 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070904.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46d3e70a1dccc992bdca5aa49f2ebcb1f33cc8dfbcaf85da4f4c16e2e76d393a +size 2898119 diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070969.mp4 b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070969.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..99b297b29b4525f30d3514ccfed94eeb1b27cbaa --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422070969.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02ec6152fce354a835e0dc88664ae9a0957412c1870ae793d6bf3d1774225d08 +size 6937566 diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422071041.mp4 b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422071041.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..c1cc40fc57b1c72159d615ce9500cdb465fc125e --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/media/104422071041.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6b97f877bd2d5f6b9cc5c3336e236eb893b00fac74bd364c8a8133b6ea12429 +size 2801301 diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/report.json b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/report.json new file mode 100644 index 0000000000000000000000000000000000000000..a431fbca055dc32b3424d41acd1d03faf73c7588 --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/report.json @@ -0,0 +1,160 @@ +{ + "dataset_id": "OakInk2", + "sequence": "scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00", + "views": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "frames": 287, + "video": "media/104422070088.mp4", + "mano_valid": [ + 287, + 287 + ], + "objects": [ + "O02@0045@00001", + "O02@0045@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "frames": 287, + "video": "media/104422070904.mp4", + "mano_valid": [ + 287, + 287 + ], + "objects": [ + "O02@0045@00001", + "O02@0045@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "frames": 287, + "video": "media/104422070969.mp4", + "mano_valid": [ + 287, + 287 + ], + "objects": [ + "O02@0045@00001", + "O02@0045@00002" + ], + "source_fps": 30.0 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "frames": 287, + "video": "media/104422071041.mp4", + "mano_valid": [ + 287, + 287 + ], + "objects": [ + "O02@0045@00001", + "O02@0045@00002" + ], + "source_fps": 30.0 + } + ], + "camera_layout": { + "image": "camera-layout.png", + "coordinate_frame": "world", + "frame": "first source frame", + "cameras": [ + { + "camera_id": "104422070088", + "view_type": "exo", + "center": [ + -0.867243766784668, + 0.13877750933170319, + -0.305319219827652 + ], + "forward": [ + 0.8503077626228333, + -0.1346893012523651, + 0.5087588429450989 + ], + "max_center_drift_m": 0.0 + }, + { + "camera_id": "104422070904", + "view_type": "exo", + "center": [ + 0.7347273230552673, + 0.6373881101608276, + -0.40626996755599976 + ], + "forward": [ + -0.5493518114089966, + -0.654930830001831, + 0.5189202427864075 + ], + "max_center_drift_m": 8.429369557916289e-08 + }, + { + "camera_id": "104422070969", + "view_type": "ego", + "center": [ + -0.05074945092201233, + 0.726500928401947, + 0.34387272596359253 + ], + "forward": [ + -0.07830610126256943, + -0.9143393635749817, + -0.39730554819107056 + ], + "max_center_drift_m": 0.22479432821273804 + }, + { + "camera_id": "104422071041", + "view_type": "exo", + "center": [ + 0.0519842654466629, + 0.8642643690109253, + -0.6901139616966248 + ], + "forward": [ + -0.052285708487033844, + -0.7240146398544312, + 0.6878002285957336 + ], + "max_center_drift_m": 5.972094641037984e-08 + } + ], + "baseline_m": { + "104422070088": { + "104422070088": 0.0, + "104422070904": 1.6808079481124878, + "104422070969": 1.197301983833313, + "104422071041": 1.2326306104660034 + }, + "104422070904": { + "104422070088": 1.6808079481124878, + "104422070904": 0.0, + "104422070969": 1.0897839069366455, + "104422071041": 0.7734199166297913 + }, + "104422070969": { + "104422070088": 1.197301983833313, + "104422070904": 1.0897839069366455, + "104422070969": 0.0, + "104422071041": 1.048170566558838 + }, + "104422071041": { + "104422070088": 1.2326306104660034, + "104422070904": 0.7734199166297913, + "104422070969": 1.048170566558838, + "104422071041": 0.0 + } + } + }, + "status": "automatic_checks_passed" +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/sampling.json b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/sampling.json new file mode 100644 index 0000000000000000000000000000000000000000..c070f11ae232f46f2f56839c5bc425fe5812443f --- /dev/null +++ b/OakInk-v2/shared-v1.0/doc/validation/pilot/scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00/sampling.json @@ -0,0 +1,6 @@ +{ + "method": "complete_sequence", + "sequence": "scene_02__A008++seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00", + "all_cameras": true, + "all_frames": true +} \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/script/README.md b/OakInk-v2/shared-v1.0/script/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e7950c22f84d0075f58fa0334db7c84c90bee8df --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/README.md @@ -0,0 +1,89 @@ +# OakInk2 conversion + +The converter and review renderer are deliberately separate: + +- `preprocess_oakink2.py` reads raw archives and writes training data. +- `render_oakink2_report.py` only reads converted data and writes an offline review report. + +The downloaded release contains 627 RGB sequence archives, 627 annotation +pickles and shared object/program archives. It does not contain source depth or +pixel masks. The converter therefore writes RGB, camera parameters, MANO, +object poses and object geometry, and records depth/segment as unavailable in +each `metainfo.json`. + +| Modality | Source availability | Shared output | +| --- | --- | --- | +| RGB | Yes, per-camera PNG streams | Lossless FFV1 video plus exact frame mapping | +| Camera intrinsics/extrinsics | Yes | Per-frame tensors | +| MANO | Yes | Per-frame left/right camera-coordinate tensors | +| Object pose | Yes | Per-frame `T_camera_from_object` tensors | +| Object geometry | Yes, in `object_repair.tar` | OBJ, MTL, textures and flags under each object's `assets/` directory | +| Depth | No source depth in this release | Omitted and recorded as unavailable | +| Pixel mask/segmentation | No source pixel mask in this release | Omitted and recorded as unavailable | + +`object_affordance.tar` contains object-level affordance assets; it is not a +per-frame pixel mask. The current hand-object reconstruction profile does not +promote those optional affordance assets into a training component. + +## Runtime + +Python 3.12 was tested with the versions in `requirements-lock.txt`. MANO v1.2 +`MANO_LEFT.pkl` and `MANO_RIGHT.pkl` are required for the source wrist-centred +MANO conversion. They are a licensed local dependency and must stay outside the +release directory. + +On iipl_125 the current paths are: + +```bash +ROOT=/data1/shaoyunzhe/hand-datasets/OakInk-v2 +export PYTHONPATH="$ROOT/tmp/runtime-packages" +MODELS="$ROOT/tmp/models" +``` + +## Commands + +Read-only inventory: + +```bash +python3 "$ROOT/shared-v1.0/script/preprocess_oakink2.py" inventory --root "$ROOT" +``` + +Convert one complete sequence and all officially selected cameras: + +```bash +python3 "$ROOT/shared-v1.0/script/preprocess_oakink2.py" convert \ + --root "$ROOT" --mano-model-dir "$MODELS" --workers 1 --ffmpeg-threads 2 \ + --sequence '' +``` + +Render the separate full-frame pilot report: + +```bash +python3 "$ROOT/shared-v1.0/script/render_oakink2_report.py" \ + --release "$ROOT/shared-v1.0" --mano-model-dir "$MODELS" \ + --sequence '' --stage pilot +``` + +After pilot approval, full conversion can use a small number of sequence +workers. Start with two; each sequence contains four camera FFmpeg jobs and a +large annotation pickle. + +```bash +OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 \ +python3 "$ROOT/shared-v1.0/script/preprocess_oakink2.py" full \ + --root "$ROOT" --mano-model-dir "$MODELS" --workers 2 --ffmpeg-threads 2 +``` + +Completed sequences have checkpoints in `tmp/oakink2-convert/checkpoints`. +They are reused only when the source identities and converter SHA256 match. +Partial output remains under `tmp/oakink2-convert/partial` and is replaced on +the next attempt. Raw files are never modified or deleted. + +## Alignment and layout + +Output is exactly `data///...`. `frame_id_list` defines +the RGB timeline. It is checked as a subset of `mocap_frame_id_list`, and each +row in `camera/frames.jsonl` records an exact `annotation_matches` mapping. +Unknown source timestamps and FPS remain null. Camera serials whose official +name is `egocentric` use `view_type=ego`; all official allocentric cameras use +`view_type=exo`. diff --git a/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/test.txt b/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/test.txt new file mode 100644 index 0000000000000000000000000000000000000000..3131fc99323ec39b0a57deb3d03cd3891ed76372 --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/test.txt @@ -0,0 +1,157 @@ +scene_01__A001/seq__5ad66440a8b11dd306f3__2023-04-27-19-41-45 +scene_01__A001/seq__9588d8284630e2f14b82__2023-04-27-20-17-40 +scene_01__A001/seq__8420fa617d0a08081df3__2023-04-27-20-42-15 +scene_01__A001/seq__6e11d637b13834d44e77__2023-04-27-19-22-25 +scene_01__A001/seq__083f7a577484ba7929a9__2023-04-27-19-25-24 +scene_01__A001/seq__49793d417b05076e1269__2023-04-27-19-28-42 +scene_01__A001/seq__9decc2b1d56c0e6351a8__2023-04-27-18-48-27 +scene_01__A001/seq__d2192b41c9cddfd3f632__2023-04-27-18-43-22 +scene_01__A001/seq__7b59fe2ad75bfac282b2__2023-04-27-18-37-44 +scene_01__A003/seq__49a8305e104d29e3816a__2023-04-15-09-41-56 +scene_01__A003/seq__01857017aef944761b78__2023-04-21-19-28-11 +scene_01__A003/seq__f4587e673c3df708d53a__2023-04-21-19-33-26 +scene_01__A003/seq__c992d1f58dbad7366f42__2023-04-16-10-00-22 +scene_01__A003/seq__72bb97aefd7eff0c878f__2023-04-16-10-40-36 +scene_01__A003/seq__ebf4620c54f1ee2c0e8b__2023-04-16-11-01-15 +scene_01__A003/seq__74204866e2c7e3308258__2023-04-16-11-26-40 +scene_01__A003/seq__038653a60635afa73438__2023-04-16-11-43-28 +scene_01__A003/seq__9bfe9ffd274348acb1af__2023-04-18-09-40-59 +scene_01__A003/seq__073013b056465055373f__2023-04-18-09-53-09 +scene_01__A003/seq__5870f0b18ac47c03e8af__2023-04-18-10-18-26 +scene_01__A003/seq__a5de2b93822f3b229140__2023-04-15-10-41-00 +scene_01__A003/seq__9b728ad5953bf2f06798__2023-04-16-09-33-47 +scene_01__A003/seq__9d4bff431d87a704ec42__2023-04-15-09-28-44 +scene_01__A003/seq__bcb3669c252c757e5d9d__2023-04-15-10-18-41 +scene_01__A003/seq__ce2f09a1ccbe225a69aa__2023-04-23-19-08-48 +scene_01__A003/seq__c1b07c891f60797049c3__2023-04-23-20-01-46 +scene_01__A003/seq__fe346e4fc4e0cab776de__2023-04-15-09-37-24 +scene_01__A004/seq__7f874047e7455e81d42d__2023-04-28-18-41-29 +scene_01__A004/seq__c81afdb38bd9b52ed512__2023-04-28-18-35-55 +scene_01__A004/seq__29b5a6c10c68857d1431__2023-04-28-19-00-55 +scene_01__A005/seq__cfb07d741cfacfe08a3f__2023-04-15-15-04-10 +scene_01__A005/seq__529d7c756240d5a9d5b3__2023-04-24-18-30-05 +scene_01__A005/seq__cd0aeb52231c8eb7e6d2__2023-04-24-20-01-27 +scene_01__A005/seq__292669123693a19994f3__2023-04-24-20-08-10 +scene_01__A005/seq__87bc44222c663275d75e__2023-04-15-14-14-54 +scene_01__A005/seq__7c014b61a8766e1b1396__2023-04-15-14-28-13 +scene_01__A005/seq__d01e231560b7068d4149__2023-04-15-14-24-56 +scene_01__A005/seq__4fd8e3393331c29e3291__2023-04-15-14-27-29 +scene_01__A007/seq__eec5e47187bc8da8c3be__2023-04-21-10-54-22 +scene_01__A007/seq__4602f51364aa3751d953__2023-04-21-10-56-14 +scene_01__A007/seq__afa27ec7f81f9bf0854b__2023-04-21-10-32-24 +scene_01__A007/seq__7055a02d8903613ebfd6__2023-04-21-10-21-03 +scene_01__A007/seq__c3f6f36802e1ea88936f__2023-04-21-10-22-24 +scene_01__A007/seq__3783890ba75da6556f48__2023-04-21-10-24-03 +scene_01__A008/seq__9971521c165f863aae09__2023-05-09-18-50-56 +scene_01__A008/seq__4e9026b0a29d85b995ae__2023-05-09-18-37-48 +scene_01__A008/seq__a3ff7397cf04f46e6ee2__2023-04-23-11-32-11 +scene_01__O001/seq__9ed971eba20293345ab6__2023-04-13-20-25-04 +scene_01__O001/seq__ced688ab0e1a80840f16__2023-04-13-20-30-37 +scene_01__O001/seq__453b72e65d60f319b672__2023-04-13-19-34-00 +scene_01__O001/seq__1292e65ea2c7e60dade4__2023-04-13-19-00-36 +scene_01__O001/seq__7e589d5e8fbbdc9d5954__2023-04-13-19-28-55 +scene_01__O001/seq__733f97b08b2e1413967d__2023-04-13-19-08-31 +scene_01__O001/seq__2003401fe2e41e9faf6d__2023-04-13-19-37-20 +scene_02__A001/seq__4b2fa05a5d0df71c5601__2023-04-18-14-32-02 +scene_02__A001/seq__f1029b6690be6153cd26__2023-04-15-19-54-18 +scene_02__A001/seq__b5736ef0a80eed1a965b__2023-04-22-16-02-02 +scene_02__A001/seq__a3323f998334c09c8f2f__2023-04-22-15-48-41 +scene_02__A001/seq__7a72028294223f47a2ab__2023-04-18-14-45-56 +scene_02__A001/seq__f639df32f29fdc405c2a__2023-04-18-14-51-24 +scene_02__A001/seq__16df147a7132432bf9e4__2023-04-18-15-14-11 +scene_02__A001/seq__0326b05031e36e846485__2023-04-15-18-46-12 +scene_02__A001/seq__a2b162144bebd1c592b2__2023-04-15-19-09-07 +scene_02__A001/seq__668d8a3bcc963ab1b2f1__2023-04-15-18-33-57 +scene_02__A001/seq__4095256153f086ed7e72__2023-04-15-19-45-48 +scene_02__A001/seq__3599b99612c08fedc88a__2023-04-15-18-43-51 +scene_02__A001/seq__8a4603f3239aa3cf0e12__2023-04-15-18-47-44 +scene_02__A001/seq__78c622de11dd1e1bf382__2023-04-15-19-40-40 +scene_02__A002/seq__338b1e8d115be91c9473__2023-04-17-14-49-08 +scene_02__A002/seq__4ad1acc8304e637ce76c__2023-04-17-15-42-47 +scene_02__A002/seq__fd02f5494eb920248002__2023-04-17-15-36-56 +scene_02__A002/seq__592b80dc7af63ce7ae6e__2023-04-17-14-59-25 +scene_02__A002/seq__a3c74ce1b591e04a02e6__2023-04-17-14-57-05 +scene_02__A002/seq__37576cfe40029aca15ea__2023-04-22-09-43-29 +scene_02__A002/seq__73d28bc9b0c2cf63b829__2023-04-17-15-00-12 +scene_02__A002/seq__75a7a66ac2f78914752b__2023-04-17-15-15-05 +scene_02__A004/seq__352c9c1998b2e922f92c__2023-05-07-18-34-12 +scene_02__A004/seq__959a025a97c09ece4891__2023-05-07-19-39-17 +scene_02__A004/seq__d68290a50c82ed38e879__2023-04-26-20-42-56 +scene_02__A004/seq__5ec2c35c4d7fa335d0cd__2023-04-26-20-38-02 +scene_02__A004/seq__380a384622fbf36ca0f1__2023-04-26-20-50-19 +scene_02__A004/seq__a3e1fabd832fd970ef2a__2023-04-28-18-32-25 +scene_02__A004/seq__b4b28ce5e8b2ee9ca061__2023-05-07-18-38-10 +scene_02__A004/seq__ce34397dc4962c9ad138__2023-05-07-19-57-53 +scene_02__A004/seq__486fccbc8bd722e4d8df__2023-05-07-18-53-42 +scene_02__A005/seq__1bf8be52b72e59d716e9__2023-04-25-20-42-33 +scene_02__A005/seq__1b9e60c37a3a7fcacbd4__2023-04-25-20-39-59 +scene_02__A005/seq__b41b7d7a43d0824a7c5d__2023-04-20-09-52-44 +scene_02__A005/seq__0366f467a3e260d6c840__2023-04-20-09-55-54 +scene_02__A005/seq__3d80692678e9f2b16558__2023-04-20-09-59-17 +scene_02__A005/seq__e965dd3f42c13082d017__2023-04-20-10-01-26 +scene_02__A005/seq__7e62ca93ce2c772e1229__2023-04-25-19-09-36 +scene_02__A005/seq__39c30d86600d4b2e4581__2023-04-25-18-43-06 +scene_02__A007/seq__8ca5ca1f0ba51518d9ff__2023-04-19-09-42-57 +scene_02__A007/seq__6d7b58ce5276a68f11b3__2023-04-19-09-31-58 +scene_02__A007/seq__e741e70e11d7cfa027dd__2023-04-19-09-52-58 +scene_02__A007/seq__368db7b34042e99b40fb__2023-04-19-09-58-31 +scene_02__A007/seq__47e95cffd68d298d0676__2023-05-15-18-41-34 +scene_02__A007/seq__9a028b2d4dc8ce4955bf__2023-05-15-18-47-33 +scene_02__A007/seq__ad1415514c0aa0d3c778__2023-05-15-18-38-37 +scene_02__A007/seq__f9b2fc1b7c558a45a301__2023-05-15-19-47-02 +scene_02__A007/seq__95c93c4a703875a021a3__2023-05-15-19-50-37 +scene_02__A007/seq__8a043f2c9d848ac15633__2023-04-20-14-17-37 +scene_02__A008/seq__afea3bee7d688ce1a062__2023-04-23-09-43-47 +scene_02__A008/seq__2b7ed1f7a9245e3b56d3__2023-04-23-09-58-53 +scene_02__A008/seq__c2ac40c5594b0e0bbb86__2023-04-23-10-04-45 +scene_02__A008/seq__28c4c942629d21011ba5__2023-04-23-09-39-57 +scene_02__A008/seq__7b2d7bd572bd2613b581__2023-04-23-09-56-24 +scene_02__O001/seq__001ce74e719d859e35d1__2023-04-04-16-02-01 +scene_02__O003/seq__2a060a99bf3342bd1398__2023-04-12-10-22-38 +scene_02__O003/seq__499f174f9f1eb9181733__2023-04-12-09-40-17 +scene_03__A001/seq__c3c69f0fba624d8597c0__2023-04-27-18-23-49 +scene_03__A001/seq__e7eb22a131c43f5349e9__2023-04-27-18-29-30 +scene_03__A001/seq__53be15af2c1f6371a18c__2023-04-27-18-18-03 +scene_03__A004/seq__8e5df63b75649763e706__2023-04-26-19-22-54 +scene_03__A004/seq__0f90057f6302c9e0a117__2023-04-26-19-33-13 +scene_03__A004/seq__b0b131f2fc3d47f22ee3__2023-04-26-19-37-03 +scene_03__A004/seq__031b77fb5d85fe6c40ec__2023-04-22-18-36-59 +scene_03__A004/seq__d9987909c09e38143ec8__2023-04-22-18-41-41 +scene_03__A004/seq__e97733f6d0939bb56475__2023-04-22-18-44-03 +scene_03__A004/seq__f2d09be48f383f8caf97__2023-04-22-18-52-52 +scene_03__A004/seq__94d04425afc1b0851feb__2023-04-22-19-05-10 +scene_03__A004/seq__1dc5157e27ae5157e3bf__2023-04-22-19-25-58 +scene_03__A004/seq__599af4209f9b393da8fa__2023-04-22-19-33-09 +scene_03__A004/seq__a950e9cd7163f606ea0b__2023-04-22-19-44-42 +scene_03__A004/seq__a779dab47a0fea5af26e__2023-04-22-20-16-22 +scene_03__A004/seq__17ab738d0fb102d44f3a__2023-04-26-18-52-02 +scene_03__A005/seq__e53a4037a875f96a13c6__2023-04-20-10-57-00 +scene_03__A005/seq__c82ad3f7e88d2909cbf5__2023-04-20-10-59-13 +scene_03__A007/seq__1c03f4a45689cf1478c5__2023-04-21-09-40-51 +scene_03__A007/seq__211a2995b00d0ea95996__2023-04-21-09-45-45 +scene_03__A007/seq__b4fca9769ed69768fdcd__2023-04-19-11-27-31 +scene_03__A007/seq__43581fd7e57e148306e4__2023-04-19-11-29-48 +scene_03__A007/seq__fac912c78b870666a08a__2023-04-19-11-35-35 +scene_03__A007/seq__ab61c6cc82144a234089__2023-04-19-11-38-56 +scene_03__A007/seq__3da1c0d65ae209028cb1__2023-04-20-14-36-16 +scene_03__A007/seq__f72edc4492dbc0cef7e9__2023-04-20-14-45-08 +scene_03__A007/seq__494ca08cc4bc8ec2ccba__2023-04-20-14-49-35 +scene_03__A007/seq__b379133add535ba8d4a3__2023-04-20-15-45-42 +scene_03__A007/seq__2ddc8259370decb8672e__2023-04-20-15-30-01 +scene_03__A007/seq__8adcc1379950452e8b43__2023-04-20-16-34-32 +scene_03__A007/seq__bbefcdd1829a20da8690__2023-04-20-16-46-22 +scene_03__A007/seq__d6fe3d7a900337a7efc5__2023-04-21-09-25-27 +scene_03__A007/seq__29c5832dbc263a424a19__2023-04-20-14-43-10 +scene_03__A007/seq__030e304a9813d85ae4b9__2023-04-19-11-00-23 +scene_03__A007/seq__28f0e685273ac07a26d8__2023-04-20-14-40-03 +scene_03__A007/seq__c6e4ccbdd4e80572db97__2023-04-19-11-03-02 +scene_03__A007/seq__863d581916dab5aedf8d__2023-04-19-10-43-36 +scene_03__A007/seq__cde365a9ea4646fefe6f__2023-04-19-10-46-32 +scene_03__A007/seq__39e5ee70d56b9e9652da__2023-05-15-20-24-49 +scene_03__A008/seq__667a8e2bc0c080980b80__2023-05-09-19-58-57 +scene_03__A008/seq__5ce6928c6c155eaf147f__2023-04-23-10-52-50 +scene_03__A008/seq__897d8d92079129f4dcda__2023-04-23-11-21-25 +scene_03__A008/seq__ed9bccd4e58ae94decb6__2023-04-23-10-50-05 +scene_04__A001/seq__1b46da0a2670ac31842a__2023-04-27-19-50-59 +scene_04__A004/seq__f7817277459e9a992723__2023-04-26-18-57-36 +scene_04__A007/seq__34a4767e23bc531475c4__2023-04-19-10-34-34 \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/train.txt b/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/train.txt new file mode 100644 index 0000000000000000000000000000000000000000..bbff714e35c622527464d2965f4353abcd84fcf2 --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/train.txt @@ -0,0 +1,431 @@ +scene_01__A001/seq__9e46184387ba83f60895__2023-04-27-18-43-58 +scene_01__A001/seq__b29ee6fc3a226cd716ec__2023-04-27-19-39-19 +scene_01__A001/seq__178ef1f9fed87514a792__2023-04-27-20-10-13 +scene_01__A001/seq__ecc3863cc1ba2c56f766__2023-04-27-20-14-39 +scene_01__A001/seq__7653ff4f86a8707fe7f3__2023-04-27-20-22-16 +scene_01__A001/seq__c3e9947ed401e54181b6__2023-04-27-20-27-08 +scene_01__A001/seq__ad92412aedb8d5b1086e__2023-04-27-20-34-16 +scene_01__A001/seq__0b3d183d6b2e90eefd66__2023-04-27-20-38-16 +scene_01__A001/seq__07bb164dc3d3873d6389__2023-04-27-20-45-29 +scene_01__A001/seq__99369773ed8032d1e35d__2023-04-27-20-48-38 +scene_01__A001/seq__775836c590d688b5c072__2023-04-27-20-52-16 +scene_01__A001/seq__235ac519d522ceb4c947__2023-04-27-20-30-50 +scene_01__A001/seq__9fc3e1eebc966cbcc06b__2023-04-27-19-21-02 +scene_01__A001/seq__e3cf9b2340d538131f4e__2023-04-27-19-23-39 +scene_01__A001/seq__6bf65e89563a90b0221c__2023-04-27-19-00-03 +scene_01__A001/seq__8f9cb9a5390c68313c94__2023-04-27-18-50-13 +scene_01__A001/seq__9773da991b29c749de35__2023-04-27-18-46-10 +scene_01__A001/seq__72f05957822d98d4059a__2023-04-27-18-39-01 +scene_01__A001/seq__e3d8f143b82830e0ea0a__2023-04-27-18-41-53 +scene_01__A001/seq__c635c44e3da5012988e8__2023-04-27-18-55-00 +scene_01__A001/seq__10d0483b6c4f29fefe48__2023-04-27-18-52-19 +scene_01__A001/seq__ceefa2162ca2e9612ecb__2023-04-27-19-11-22 +scene_01__A001/seq__4c966751912ef4687b87__2023-04-27-18-41-04 +scene_01__A001/seq__ac79435402cf22f24550__2023-04-27-19-32-20 +scene_01__A001/seq__6c1ba97ea5706da1a997__2023-04-27-19-18-25 +scene_01__A001/seq__7b8bfa2d60ad55249cd8__2023-04-27-19-13-45 +scene_01__A001/seq__62681ca151e80e850ded__2023-04-27-19-15-13 +scene_01__A003/seq__7a35f28a2158edf5c083__2023-04-15-10-50-06 +scene_01__A003/seq__7c8015df8645965d920d__2023-04-21-21-05-08 +scene_01__A003/seq__3ae08d6cbcd1458a57fc__2023-04-15-11-18-20 +scene_01__A003/seq__27c72072f6a2929fb1fd__2023-04-15-10-58-45 +scene_01__A003/seq__3bf15f40d9cd6c9f8b5c__2023-04-21-19-02-57 +scene_01__A003/seq__0b3a0a3dba029a07ad90__2023-04-21-19-16-37 +scene_01__A003/seq__9f436c64de60cdc5d3b6__2023-04-21-19-23-21 +scene_01__A003/seq__c3c3d8199ae38a3716ed__2023-04-21-19-37-57 +scene_01__A003/seq__a7a1a0cf7d90a9083013__2023-04-21-20-13-04 +scene_01__A003/seq__5a5d66e7a358b59c9fee__2023-04-21-20-23-45 +scene_01__A003/seq__5f9751f660a51045d22c__2023-04-21-19-08-07 +scene_01__A003/seq__31218648456a55218293__2023-04-15-11-06-48 +scene_01__A003/seq__263ad4d9bbcceec34ac5__2023-04-15-11-11-40 +scene_01__A003/seq__920f6ba03fbe28cd4d64__2023-04-21-20-34-37 +scene_01__A003/seq__590d0923c75785cbfb33__2023-04-21-20-39-42 +scene_01__A003/seq__d05b4bb16d00b45e48d9__2023-04-21-20-49-34 +scene_01__A003/seq__7cc685df14ba8096034f__2023-04-16-09-37-10 +scene_01__A003/seq__5fef04b7c444d30af102__2023-04-16-09-41-41 +scene_01__A003/seq__19c9ac415d6e7db1776f__2023-04-16-09-46-46 +scene_01__A003/seq__b20638758c37e9f0301c__2023-04-16-09-51-09 +scene_01__A003/seq__537f3c2c80b34e0903d5__2023-04-16-09-55-43 +scene_01__A003/seq__fc1e5d0a0139e1b55421__2023-04-16-10-03-34 +scene_01__A003/seq__380c72ff8a934cdb1877__2023-04-16-10-10-19 +scene_01__A003/seq__11da49b9d19c55c9d954__2023-04-16-10-14-38 +scene_01__A003/seq__2966d387c888ecca94d1__2023-04-16-10-23-13 +scene_01__A003/seq__8bb23fd4e4bc153096ec__2023-04-16-10-46-51 +scene_01__A003/seq__c43758330dcc6637f14c__2023-04-16-10-49-51 +scene_01__A003/seq__916da2456e9042c18107__2023-04-16-10-53-20 +scene_01__A003/seq__83207950cb49bb1c3aca__2023-04-16-10-57-12 +scene_01__A003/seq__82d76ed7d2fdb1c5b909__2023-04-16-11-05-26 +scene_01__A003/seq__d5cfcf3a1d88ba7b6c48__2023-04-16-11-10-55 +scene_01__A003/seq__b6c549bece834a0bff0e__2023-04-16-11-14-04 +scene_01__A003/seq__0a5ecad7fcf381a6d0a7__2023-04-16-11-15-40 +scene_01__A003/seq__35fb7760f51e79a8a573__2023-04-16-11-22-39 +scene_01__A003/seq__b14940e02d707632ae06__2023-04-16-11-29-49 +scene_01__A003/seq__199d780fa0a48fa7f41e__2023-04-16-11-34-09 +scene_01__A003/seq__9ace5e2df7edd544061f__2023-04-16-11-39-02 +scene_01__A003/seq__5d8f5811e7d146de5fd3__2023-04-16-11-47-54 +scene_01__A003/seq__e9343c38e6f388976d31__2023-04-18-09-25-33 +scene_01__A003/seq__9b00499d20173000984b__2023-04-18-09-29-31 +scene_01__A003/seq__c85fb5a67560826f32ad__2023-04-18-09-32-52 +scene_01__A003/seq__bd3b9b38d0adc9e64aab__2023-04-18-09-36-13 +scene_01__A003/seq__f014ae4652ff85b0cc63__2023-04-18-09-37-46 +scene_01__A003/seq__1a04a2726d91f0687d98__2023-04-18-09-42-40 +scene_01__A003/seq__cf6a1b8be3e5bada2b23__2023-04-18-09-44-44 +scene_01__A003/seq__2f774a18a128dafb628a__2023-04-18-09-48-37 +scene_01__A003/seq__cb8f2081449618592d27__2023-04-18-09-58-25 +scene_01__A003/seq__de088ef0fd274c39348d__2023-04-18-10-11-07 +scene_01__A003/seq__b9bb2ec70e3ea2a4b073__2023-04-18-10-15-50 +scene_01__A003/seq__05d45aca8ef08285afa5__2023-04-18-10-22-08 +scene_01__A003/seq__888432237275999c9f7d__2023-04-18-10-32-34 +scene_01__A003/seq__ea24dfc157269667cf93__2023-04-18-10-38-42 +scene_01__A003/seq__4664f66e0c783b858b10__2023-04-15-10-35-58 +scene_01__A003/seq__15c29df1995fa2ed3ea5__2023-04-16-09-31-02 +scene_01__A003/seq__4f2588329dcddda52337__2023-04-16-09-32-34 +scene_01__A003/seq__d4ddf93a38e3228cdd3a__2023-04-15-10-15-10 +scene_01__A003/seq__24cffaeaadf8a022f376__2023-04-23-18-50-27 +scene_01__A003/seq__75b9437202d7c3b7dbc1__2023-04-23-19-16-34 +scene_01__A003/seq__925aa236cf6d91566f4e__2023-04-23-19-39-35 +scene_01__A003/seq__86e2ac0670ffe6e031b8__2023-04-23-20-08-58 +scene_01__A003/seq__1eccd6dfd6b93888e9d1__2023-04-23-20-27-53 +scene_01__A003/seq__716692d2a096271f0219__2023-04-15-09-50-17 +scene_01__A003/seq__a52a4e4617bd88a5a8ae__2023-04-15-09-25-40 +scene_01__A003/seq__f447ca25c7bb0e21616a__2023-04-15-09-35-55 +scene_01__A003/seq__ab9750a9667f80a27e93__2023-04-15-10-43-33 +scene_01__A003/seq__765b120e4a0c126f2a05__2023-04-15-09-53-34 +scene_01__A003/seq__9fbf67eb51ecca5dda1a__2023-04-15-09-55-11 +scene_01__A003/seq__894b2fdab230f1a2506b__2023-04-15-09-39-22 +scene_01__A003/seq__5da24047ae42adea82f3__2023-04-15-09-40-46 +scene_01__A003/seq__edd68d081ccd9db4d1bd__2023-04-15-09-31-49 +scene_01__A003/seq__87b7e399b0795bc70a00__2023-04-15-09-33-40 +scene_01__A003/seq__5184469e3a4623496dd4__2023-04-15-10-51-48 +scene_01__A003/seq__f3fe28de4f8d44ca2680__2023-04-15-10-02-53 +scene_01__A003/seq__402490af21c1e522967a__2023-04-15-10-05-56 +scene_01__A003/seq__43deae0c0feb3fb65d80__2023-04-15-10-09-27 +scene_01__A003/seq__22db0324e00df1d6d725__2023-04-15-10-10-58 +scene_01__A004/seq__4b8138c463637dc9543d__2023-04-28-19-43-57 +scene_01__A004/seq__f4786e64ba8f8a092976__2023-04-28-19-47-32 +scene_01__A004/seq__5421609ff372f909cd69__2023-04-28-19-24-25 +scene_01__A004/seq__69606b9b2cbf43fbeffc__2023-04-28-19-25-26 +scene_01__A004/seq__b01ecbd7533936b533ef__2023-04-28-19-27-08 +scene_01__A004/seq__5bb1fb16345048b54d15__2023-04-28-18-55-13 +scene_01__A004/seq__7e22693a4cd1ae3cb531__2023-04-28-18-48-31 +scene_01__A004/seq__9705549046ba84963239__2023-04-28-18-44-14 +scene_01__A004/seq__d570c3d83771037b2600__2023-04-28-18-53-19 +scene_01__A004/seq__670845b55c2609fd17de__2023-04-28-18-37-09 +scene_01__A004/seq__95a63dbb3016c9502247__2023-04-28-19-33-36 +scene_01__A004/seq__c08f911077d1ee2eeada__2023-04-28-19-04-39 +scene_01__A005/seq__fccd810e2fd673b25c86__2023-04-15-14-30-47 +scene_01__A005/seq__86fb02fdc014aad9042d__2023-04-15-16-00-57 +scene_01__A005/seq__d74f8262735a1aaedccd__2023-04-15-15-06-01 +scene_01__A005/seq__a15ff124580d494fb406__2023-04-15-14-46-19 +scene_01__A005/seq__aac9de080442d7bb75be__2023-04-15-14-48-14 +scene_01__A005/seq__65ef09f4bf2106cb735d__2023-04-24-20-20-31 +scene_01__A005/seq__cd9878ea231c9c5825b0__2023-04-15-14-33-29 +scene_01__A005/seq__14282919c498f2f82d25__2023-04-15-14-18-40 +scene_01__A005/seq__82fc7cf062cdca89908c__2023-04-15-14-25-55 +scene_01__A005/seq__5f15e8d4dc00a4617cf9__2023-04-17-09-25-38 +scene_01__A005/seq__83c6bf4e8efcc0fcb730__2023-04-15-14-36-56 +scene_01__A005/seq__0f020df7ffbbce295312__2023-04-15-14-39-24 +scene_01__A005/seq__1c3d17ad14e452b9a772__2023-04-15-14-40-09 +scene_01__A005/seq__d4bf979d5a225b98a540__2023-04-15-14-41-16 +scene_01__A005/seq__7ed08a502cc8212fcea1__2023-04-15-14-30-06 +scene_01__A005/seq__0ef671b3e0bc8f36f8ea__2023-04-15-14-52-14 +scene_01__A007/seq__183cec0dfbabf5b6eeb7__2023-04-21-10-22-47 +scene_01__A007/seq__c11fb8b902b97ca04857__2023-04-21-10-24-26 +scene_01__A007/seq__0b666c7b299d875e5f1e__2023-04-21-11-38-16 +scene_01__A007/seq__a4e00c1df88966b407a0__2023-04-21-11-42-43 +scene_01__A007/seq__de586f670a1f19a58f4a__2023-04-21-10-53-19 +scene_01__A007/seq__26fd908ae5324a664d27__2023-04-21-10-57-35 +scene_01__A007/seq__70ca2910d70064f96b6b__2023-04-21-10-28-44 +scene_01__A007/seq__32290212848a70175823__2023-04-21-10-26-59 +scene_01__A007/seq__f3c30b438c274ca9bf17__2023-04-21-10-18-40 +scene_01__A007/seq__e87413a2e162e82f91f9__2023-04-21-10-40-02 +scene_01__A007/seq__2979cde795c345f5b70b__2023-04-21-10-35-54 +scene_01__A007/seq__a2420e83341621bb75d0__2023-04-21-10-46-43 +scene_01__A007/seq__90724a6acd7d7f462f5a__2023-04-21-10-17-48 +scene_01__A007/seq__c8881ca3dc9cacb8a200__2023-04-21-10-19-58 +scene_01__A007/seq__292a99fe43cd5ec6f639__2023-04-21-10-50-59 +scene_01__A007/seq__085b5f61058e6d772af8__2023-04-21-10-48-54 +scene_01__A008/seq__ab46c9bce215db8cf6a0__2023-04-23-11-36-06 +scene_01__A008/seq__495b60ed26f7b9c5cd2e__2023-04-23-11-41-39 +scene_01__A008/seq__aef7ccef2947d1344274__2023-05-09-19-04-10 +scene_01__A008/seq__a956952e2e29a7689f13__2023-05-09-19-06-12 +scene_01__A008/seq__450509366eaacff14b71__2023-05-09-19-09-07 +scene_01__A008/seq__4aefa542ed038308729c__2023-04-23-11-46-39 +scene_01__A008/seq__af83649f6f2feeccb84a__2023-04-23-11-47-54 +scene_01__A008/seq__674e82d8f45bf9d17247__2023-05-09-18-40-09 +scene_01__A008/seq__40db17fed1c0f6f70765__2023-04-23-11-44-50 +scene_01__A008/seq__fe8dc9acd340b2f91423__2023-05-09-18-34-20 +scene_01__A008/seq__6803df6444210e558b06__2023-04-23-11-33-27 +scene_01__A008/seq__0799434df1bd7f68b4ad__2023-04-23-11-39-39 +scene_01__A008/seq__147fe54c0f342a438cce__2023-05-09-18-48-36 +scene_01__A008/seq__c5cb5d97670913757f41__2023-05-09-18-42-57 +scene_01__A008/seq__2630520df6141d677761__2023-05-09-18-55-32 +scene_01__A008/seq__5a0652d1d9856f7991ec__2023-04-23-11-35-38 +scene_01__A008/seq__5f8e29bcb18e1b3fe01f__2023-04-23-11-41-18 +scene_01__A008/seq__709821691ed6e9de0ecf__2023-04-23-11-38-59 +scene_01__A008/seq__61886a6456bb8cad10b4__2023-05-09-19-17-58 +scene_01__A008/seq__67cb33d0d0c47cc2e7f7__2023-05-09-19-01-28 +scene_01__A008/seq__1ad2eda06874714a15b3__2023-05-09-18-58-42 +scene_01__O001/seq__97fc3dab0aa577c392a5__2023-04-13-20-53-02 +scene_01__O001/seq__77461f70ecd1a035625b__2023-04-04-15-57-58 +scene_01__O001/seq__5c9130f2eacf1fd06097__2023-04-13-20-15-39 +scene_01__O001/seq__18a3cb808f95ca6c01ef__2023-04-13-20-22-05 +scene_01__O001/seq__b9695e35fd3c75db4104__2023-04-13-18-59-44 +scene_01__O001/seq__1db61b9e2c1e28152c3c__2023-04-13-19-25-39 +scene_01__O001/seq__03ac9a6bd11cc191e7bb__2023-04-13-18-55-33 +scene_01__O001/seq__13d539d042fb98c2e724__2023-04-13-19-05-47 +scene_01__O001/seq__171c4910388526f5aae1__2023-04-13-19-09-31 +scene_01__O001/seq__468f5ce68fbd90d4a1e5__2023-04-13-19-13-56 +scene_01__O001/seq__7415df221fded77cf598__2023-04-13-20-38-59 +scene_01__O001/seq__921482c3e31429d8b61a__2023-04-04-15-50-32 +scene_01__O001/seq__2d90f5832a84b604df3c__2023-04-13-19-18-14 +scene_01__O001/seq__8ec658be365180b783c2__2023-04-13-19-04-55 +scene_01__O001/seq__1e305afa3fe9e54b50a2__2023-04-13-19-13-04 +scene_01__O001/seq__f55d18cbf3be7dc01feb__2023-04-13-19-46-30 +scene_01__O001/seq__2501290bf9590d752c3f__2023-04-13-20-10-44 +scene_02__A001/seq__fc88d84bc8391e22a7e1__2023-04-15-19-24-52 +scene_02__A001/seq__56210cebdeed66d8702f__2023-04-22-14-22-29 +scene_02__A001/seq__6c4203e3d43f1e8f9ff7__2023-04-15-18-51-22 +scene_02__A001/seq__f1114564625b503789c8__2023-04-15-19-56-33 +scene_02__A001/seq__cebe99032fc48d6e5bd9__2023-04-15-19-59-32 +scene_02__A001/seq__ac736a20fe59cf0a1df3__2023-04-15-19-49-11 +scene_02__A001/seq__1dfb92d70d50719de591__2023-04-15-20-05-49 +scene_02__A001/seq__1c29fc5cfe3b18c6b6ea__2023-04-22-16-25-53 +scene_02__A001/seq__b7b34c5faa439935f1e4__2023-04-22-16-16-39 +scene_02__A001/seq__fbc7482529e4350bba74__2023-04-22-16-10-37 +scene_02__A001/seq__c5e7e1c63f986d3907a2__2023-04-18-14-46-59 +scene_02__A001/seq__9a05b3d7644ba1a5d470__2023-04-18-14-49-54 +scene_02__A001/seq__66c7f4768cf9bbf6c031__2023-04-15-18-56-56 +scene_02__A001/seq__03142eab556e3f4d2c60__2023-04-15-18-42-27 +scene_02__A001/seq__374a762fe82568017e36__2023-04-15-19-44-49 +scene_02__A001/seq__f3712eb9156a7fb5e7c4__2023-04-15-18-39-32 +scene_02__A001/seq__4330d8d30c1293560d96__2023-04-15-19-04-36 +scene_02__A001/seq__379379a9898fec9a49dd__2023-04-15-19-14-26 +scene_02__A001/seq__49fa85b297be7e5b11a7__2023-04-15-19-01-29 +scene_02__A001/seq__fcb20723b51d8d8a3223__2023-04-22-14-24-36 +scene_02__A001/seq__0f4a778adc8edfb1d3e4__2023-04-15-19-06-20 +scene_02__A001/seq__e78166802df1a79107b6__2023-04-15-19-11-07 +scene_02__A001/seq__ebfdd1628a285feceaf7__2023-04-15-19-20-56 +scene_02__A001/seq__e6d2be38fe14846654b2__2023-04-22-14-20-56 +scene_02__A002/seq__ed3a1297b878ff4e778d__2023-04-17-15-10-18 +scene_02__A002/seq__2a44ff13cf5a979687cf__2023-04-17-15-11-35 +scene_02__A002/seq__20b58d6c47df82c2bb9a__2023-04-22-09-41-11 +scene_02__A002/seq__4635d47c6f3886b08da2__2023-04-17-14-51-43 +scene_02__A002/seq__e1fa69abb1738c8fea90__2023-04-17-14-54-52 +scene_02__A002/seq__a2365494589b523a8e31__2023-04-17-14-41-57 +scene_02__A002/seq__e353fef56c230c7f05bf__2023-04-17-14-47-11 +scene_02__A002/seq__f631d0fbc642f8d28aa7__2023-04-17-14-38-17 +scene_02__A002/seq__fdb1f133ee125f509b32__2023-04-17-15-02-52 +scene_02__A002/seq__fbf4bb7b08408aa2bb85__2023-04-17-15-05-35 +scene_02__A002/seq__2d16964fcd4c9bf292fe__2023-04-17-14-39-28 +scene_02__A002/seq__105a5b661023ffe36518__2023-04-17-15-37-57 +scene_02__A002/seq__11483e8d95bdec068a5e__2023-04-17-14-43-20 +scene_02__A002/seq__f7e877a8c1c5bbf69686__2023-04-17-14-45-23 +scene_02__A002/seq__a6b3a1258c39966e97b3__2023-04-17-14-47-52 +scene_02__A002/seq__3858fe09a5a39a86248e__2023-04-17-14-49-58 +scene_02__A002/seq__1bd693f46d6a76139ebe__2023-04-22-09-46-02 +scene_02__A002/seq__908a1edaf860b6977ee0__2023-04-17-15-03-51 +scene_02__A002/seq__2d54f09a2be744b05fc3__2023-04-17-15-08-33 +scene_02__A002/seq__e9aab4c73ce9d2c16b85__2023-04-22-09-37-57 +scene_02__A004/seq__c52c712037787f909609__2023-05-07-18-57-36 +scene_02__A004/seq__7cd8f3605936de64aad1__2023-05-05-20-29-44 +scene_02__A004/seq__8e463d9013085a8a682a__2023-05-07-19-42-17 +scene_02__A004/seq__59a87748f870590410f1__2023-05-07-19-50-16 +scene_02__A004/seq__c8fd4cf964f09bc29f0f__2023-05-07-19-30-16 +scene_02__A004/seq__701e7b37b5a68ab5d6b9__2023-04-28-18-23-10 +scene_02__A004/seq__817fbb3e3627c6d80646__2023-04-26-20-51-54 +scene_02__A004/seq__a6a05580601fe76cb729__2023-04-26-20-32-59 +scene_02__A004/seq__004ef9c75fcecb9c2778__2023-04-26-20-35-21 +scene_02__A004/seq__1a81a62693413b1d5c8c__2023-04-26-20-19-25 +scene_02__A004/seq__43bb9eac8db455cf26f5__2023-04-26-20-27-29 +scene_02__A004/seq__476a5d02238fadc5e2ff__2023-04-26-20-24-59 +scene_02__A004/seq__e983778af409037ac690__2023-04-26-20-32-21 +scene_02__A004/seq__988f47650371f35d6001__2023-04-26-20-39-46 +scene_02__A004/seq__955a258902ecb3fdb0c0__2023-04-26-20-46-37 +scene_02__A004/seq__5844a24008c2bda16ac4__2023-04-26-20-20-51 +scene_02__A004/seq__17716831a0aebbef3d65__2023-04-26-20-28-09 +scene_02__A004/seq__2bbf9a16d1da3c76cb79__2023-04-26-20-26-01 +scene_02__A004/seq__b9b4c5f90793072b9d41__2023-04-26-20-40-40 +scene_02__A004/seq__3efc8765c5fecbe7385e__2023-04-26-20-45-15 +scene_02__A004/seq__e7d0dfa48215c0ab166c__2023-04-28-18-24-00 +scene_02__A004/seq__a434fa715015ec6ad1e7__2023-04-28-19-37-32 +scene_02__A004/seq__9d88bdcd8d2bc73a9f8a__2023-05-07-18-31-07 +scene_02__A004/seq__f9da9f8777e032f5d583__2023-05-07-20-00-26 +scene_02__A004/seq__1b938c494ba4cc48e3bf__2023-05-07-20-02-56 +scene_02__A005/seq__a5e8acc91b23e487f576__2023-04-20-10-29-01 +scene_02__A005/seq__6577d8c6667be24747cd__2023-04-20-09-47-27 +scene_02__A005/seq__6b5c334699d51ff0993a__2023-04-25-20-43-37 +scene_02__A005/seq__f0b722436e99d448cd74__2023-04-25-18-55-27 +scene_02__A005/seq__0464d8feaa9838cb010d__2023-04-20-09-31-17 +scene_02__A005/seq__df069c5a6cf843623ea0__2023-04-20-09-38-43 +scene_02__A005/seq__17cdfcea686b6cb92e65__2023-04-20-09-40-36 +scene_02__A005/seq__71d96cbe8a5917db300a__2023-04-20-09-43-29 +scene_02__A005/seq__4c86f2f46f23414c962d__2023-04-20-09-46-21 +scene_02__A005/seq__efd166c0cffda247d1e9__2023-04-20-10-04-31 +scene_02__A005/seq__788108ba88cdeb93f1bb__2023-04-25-18-26-40 +scene_02__A005/seq__a5d2c553db85848395c8__2023-04-25-18-31-48 +scene_02__A005/seq__f863fd7448b640950a46__2023-04-20-09-33-42 +scene_02__A005/seq__76f7db714ac51188ae37__2023-04-20-10-05-30 +scene_02__A005/seq__0a175b38f46241c87340__2023-04-20-09-41-24 +scene_02__A005/seq__59d85ed79373889d9390__2023-04-20-09-49-59 +scene_02__A005/seq__783a1352e1d7eba567ed__2023-04-20-10-36-46 +scene_02__A005/seq__0ec0d3a6fdd6b9e0faf5__2023-04-20-10-37-52 +scene_02__A005/seq__0d1653eb4f8f74894438__2023-04-20-10-38-33 +scene_02__A005/seq__37d7bf4253158917183b__2023-04-20-09-56-54 +scene_02__A005/seq__1ad80ac24ce6491d2bba__2023-04-20-10-00-01 +scene_02__A005/seq__5e99cda328f2ad6eb66f__2023-04-25-18-52-10 +scene_02__A005/seq__e04db873d94e3ad37cbe__2023-04-25-19-12-10 +scene_02__A005/seq__05aa22c9d5022923fd56__2023-04-20-10-34-05 +scene_02__A007/seq__0e05b285591f4a42ef67__2023-04-19-10-09-18 +scene_02__A007/seq__eb5f919d73a9ac759146__2023-04-20-14-20-06 +scene_02__A007/seq__e550397c771f3c1c387b__2023-04-19-09-39-42 +scene_02__A007/seq__c0087656fa9675305cb3__2023-04-19-09-33-53 +scene_02__A007/seq__af2591a14bda4e44e211__2023-04-19-09-37-19 +scene_02__A007/seq__e2f2dbbe5087e85904d9__2023-04-19-10-00-27 +scene_02__A007/seq__9a0f56cc00f8f61c02f8__2023-04-19-10-01-54 +scene_02__A007/seq__60830eb1a79bf681240c__2023-04-19-09-40-41 +scene_02__A007/seq__8e4b0023921526f5c201__2023-04-19-09-55-18 +scene_02__A007/seq__4b10d3a130f5f8ecea3e__2023-04-19-09-49-17 +scene_02__A007/seq__bd00b7fd3161351b0de5__2023-04-19-09-51-36 +scene_02__A007/seq__45d4b97267414ef9a719__2023-04-19-09-38-23 +scene_02__A007/seq__8c243ec220de4e47e630__2023-04-19-09-45-19 +scene_02__A007/seq__02c02468f336c6fd509e__2023-04-19-09-46-24 +scene_02__A007/seq__8eb839a0c43c1f7c2ce9__2023-04-20-14-23-33 +scene_02__A007/seq__d7c9c503271d9e056101__2023-04-20-14-22-41 +scene_02__A007/seq__79e821de8b915a202231__2023-04-19-09-48-20 +scene_02__A007/seq__a39c7e960526c1e528ff__2023-04-19-09-50-50 +scene_02__A007/seq__0308b11a48fa1bc03f78__2023-05-15-18-33-56 +scene_02__A007/seq__9bb1738583a36e74130e__2023-05-15-19-05-51 +scene_02__A007/seq__82851505eab82005b6e2__2023-05-15-18-55-06 +scene_02__A007/seq__59796d68e1187324f398__2023-05-15-18-51-04 +scene_02__A007/seq__87c3c230a6020d994fe6__2023-05-15-18-59-33 +scene_02__A007/seq__63ca89a316cb80143b92__2023-05-15-18-29-19 +scene_02__A007/seq__662b07567133f2490efc__2023-05-15-19-42-12 +scene_02__A007/seq__4e42c78633df66b314f2__2023-05-15-19-33-21 +scene_02__A007/seq__06d2f1c8ee39209ea62a__2023-05-15-19-37-06 +scene_02__A007/seq__0fb0e2562f38ca2f4f05__2023-04-20-14-18-49 +scene_02__A008/seq__cec40864483cd4d4bdb1__2023-04-23-09-44-33 +scene_02__A008/seq__502427eb19bcecb4c98b__2023-04-23-09-41-55 +scene_02__A008/seq__2bca3e9685a073fd1dd8__2023-04-23-09-38-50 +scene_02__A008/seq__078629ed55daa617fcdd__2023-04-23-10-30-03 +scene_02__A008/seq__13834358e28bb0caa81b__2023-04-23-09-31-07 +scene_02__A008/seq__b908c89b32ec6eadd3b0__2023-04-23-09-33-00 +scene_02__A008/seq__3f8ff5acad0ca31e833f__2023-04-23-09-53-48 +scene_02__A008/seq__f055850a2107160088f3__2023-04-23-10-01-25 +scene_02__A008/seq__638fe03c849aae3de16c__2023-04-23-09-36-48 +scene_02__A008/seq__e9e88b5bd12c76d18641__2023-04-23-10-31-03 +scene_02__A008/seq__b1586429009f2901b2cc__2023-04-23-09-42-34 +scene_02__A008/seq__72152aa73891712656e2__2023-04-23-09-51-29 +scene_02__A008/seq__75d23e8c30535d102b4b__2023-04-23-10-35-42 +scene_02__A008/seq__12144603cf99ef98fd4d__2023-04-23-10-39-56 +scene_02__A008/seq__2e0d017822664c54200d__2023-04-23-10-02-23 +scene_02__A008/seq__db610c98752a6bccc54b__2023-04-23-10-27-43 +scene_02__A008/seq__7a6ddf486bb514d6f1d2__2023-04-23-10-07-12 +scene_02__O001/seq__f62ac3be7c610c6718fd__2023-04-04-16-02-37 +scene_02__O003/seq__eb87745d476a9267f8c5__2023-04-12-10-25-08 +scene_02__O003/seq__b4972805ad797ac38b6f__2023-04-12-11-05-36 +scene_02__O003/seq__5a9d8e3c8f9bcb540c6f__2023-04-12-09-39-15 +scene_02__O003/seq__c3dbd1f0f65bac2c023b__2023-04-12-11-09-17 +scene_03__A001/seq__b1fbad5c4fb46a7c0612__2023-04-27-18-27-07 +scene_03__A001/seq__a8bfc63c16eff92e2aa6__2023-04-27-18-16-04 +scene_03__A001/seq__9c66ff583dc7d93d9ab9__2023-04-27-18-31-00 +scene_03__A001/seq__1be0ede087e0ca11e442__2023-04-27-18-20-49 +scene_03__A001/seq__963fdcad5e6fdd66a990__2023-04-27-18-33-10 +scene_03__A004/seq__b7853a8caac0b26347c1__2023-04-26-19-19-49 +scene_03__A004/seq__f7d372ea34c2e13417c3__2023-04-26-19-26-11 +scene_03__A004/seq__6ca00493d658a7c96f4b__2023-04-26-19-30-01 +scene_03__A004/seq__3b1e6115aecab0a539cb__2023-04-26-19-40-43 +scene_03__A004/seq__db0a0f81cabbdbbcecfc__2023-04-26-19-44-56 +scene_03__A004/seq__751fb66f8f9b436a99b4__2023-04-26-19-49-07 +scene_03__A004/seq__b5fa37e582ac84807337__2023-04-26-19-53-13 +scene_03__A004/seq__30dbe27df1594aeb88dc__2023-04-26-19-57-17 +scene_03__A004/seq__0ffc7ccc2f49cc373084__2023-04-22-18-39-39 +scene_03__A004/seq__20aed35da30d4b869590__2023-04-22-18-45-27 +scene_03__A004/seq__2b3453103507ee1eb883__2023-04-22-18-33-52 +scene_03__A004/seq__c8c4e4249e0c85e451a1__2023-04-22-18-47-07 +scene_03__A004/seq__89667ef51c43f56a5d07__2023-04-22-18-31-50 +scene_03__A004/seq__5fde15c20c15c0e9f8dc__2023-04-22-18-50-13 +scene_03__A004/seq__0646dd7c73d7f6f68b10__2023-04-22-18-56-22 +scene_03__A004/seq__79eb5155002e6d5fdb7a__2023-04-22-18-59-18 +scene_03__A004/seq__720b2ff49d71cc7dd56b__2023-04-22-19-01-39 +scene_03__A004/seq__da60be610023cdf04491__2023-04-22-19-29-49 +scene_03__A004/seq__11cb7b777e42709b6f08__2023-04-22-19-35-01 +scene_03__A004/seq__85abe9be20dc1401359b__2023-04-22-19-37-32 +scene_03__A004/seq__3336916e549e83db1d07__2023-04-22-19-39-24 +scene_03__A004/seq__beb8fa60acb6693c34ff__2023-04-22-19-42-37 +scene_03__A004/seq__e98067a2336ade7d2edc__2023-04-22-19-50-20 +scene_03__A004/seq__667dd3e0c94947396317__2023-04-22-19-52-38 +scene_03__A004/seq__f25e354e1a4d821c6388__2023-04-22-19-56-14 +scene_03__A004/seq__37c5d9dee2211548007b__2023-04-22-20-13-50 +scene_03__A004/seq__d8f7706647ace123df37__2023-04-22-20-19-15 +scene_03__A004/seq__acc89e84f8c0f3db3525__2023-04-22-20-22-40 +scene_03__A004/seq__419a3a06276de7db2371__2023-04-22-20-25-48 +scene_03__A004/seq__6490867837c3654b8150__2023-04-22-20-28-38 +scene_03__A004/seq__70bf7db171a7430a59a3__2023-04-22-20-30-56 +scene_03__A004/seq__e284d16eb46265375a36__2023-04-22-20-35-57 +scene_03__A004/seq__dd7fe851e3065043361f__2023-04-22-20-38-45 +scene_03__A004/seq__6ece6fbebb2067474253__2023-04-22-20-42-59 +scene_03__A004/seq__897a4742e7e787a11b08__2023-04-22-20-46-30 +scene_03__A004/seq__e177c5412c3306d7d46b__2023-04-26-18-21-01 +scene_03__A004/seq__facbce031fe123b84569__2023-04-26-18-25-35 +scene_03__A004/seq__9523ffa206757aa7c07c__2023-04-26-18-34-29 +scene_03__A004/seq__dee46deb1c028e704b73__2023-04-26-18-43-32 +scene_03__A004/seq__f5a3d2061cdb3e4516dc__2023-04-26-18-48-39 +scene_03__A005/seq__22c9ea29ee39cada84df__2023-04-20-10-45-54 +scene_03__A005/seq__278a684018f1f1d1a189__2023-04-25-20-09-41 +scene_03__A005/seq__d77d9efac31d9619bb67__2023-04-20-10-42-55 +scene_03__A005/seq__a4082b2fec444936befc__2023-04-20-11-01-13 +scene_03__A005/seq__2563de55f3b52ba7fe24__2023-04-25-19-54-19 +scene_03__A005/seq__d45dc67fb953e353e0e1__2023-04-20-10-51-39 +scene_03__A005/seq__9f9eec1940e610d713ee__2023-04-20-10-49-43 +scene_03__A007/seq__38754d477e531bf5aa62__2023-04-21-09-50-42 +scene_03__A007/seq__7fa33d1d7f45d3177549__2023-04-19-11-07-05 +scene_03__A007/seq__71249a288dcbc7de02a5__2023-04-19-11-24-41 +scene_03__A007/seq__b4d4456ced6f3803440c__2023-04-19-11-32-19 +scene_03__A007/seq__847bac7674f4586680bd__2023-04-19-11-41-52 +scene_03__A007/seq__ae89aea7cffe28d72f11__2023-04-20-14-32-48 +scene_03__A007/seq__040ca5dc93b15256e8bf__2023-04-20-14-56-43 +scene_03__A007/seq__606948d0c32e5f88cab5__2023-04-20-15-20-17 +scene_03__A007/seq__15642db4d1b65d2d366b__2023-04-20-15-17-47 +scene_03__A007/seq__cffb94f7d9de086d3604__2023-04-20-15-33-14 +scene_03__A007/seq__a3950640d3f4031a9c8c__2023-04-20-15-36-57 +scene_03__A007/seq__824966397a38080ca844__2023-04-20-15-39-19 +scene_03__A007/seq__3680e9111f1211099630__2023-04-20-15-47-28 +scene_03__A007/seq__cf2f1ac93b0f3ef6c6fa__2023-04-20-15-50-45 +scene_03__A007/seq__ebd7071da8d0ac1af706__2023-04-20-15-54-43 +scene_03__A007/seq__be6fa80f2e90344ced79__2023-04-20-16-14-13 +scene_03__A007/seq__a3a31b0647ce1d79d4b6__2023-04-20-16-18-01 +scene_03__A007/seq__233b93f6f9e224aca442__2023-04-20-16-27-10 +scene_03__A007/seq__1c5d6079fefe79cd077d__2023-04-20-16-30-36 +scene_03__A007/seq__41d8394b4defeec0ad76__2023-04-20-16-41-15 +scene_03__A007/seq__639d4665846c3affb1cc__2023-04-20-16-44-08 +scene_03__A007/seq__d7a44b718fe2255fd66e__2023-04-20-16-50-37 +scene_03__A007/seq__a78a0fbbf252b529d85c__2023-04-21-09-23-18 +scene_03__A007/seq__904b258c24a569104cfd__2023-04-20-16-22-20 +scene_03__A007/seq__8dc850cde33bfcf5a096__2023-04-19-10-53-08 +scene_03__A007/seq__cfcc809e6a13f0d37c85__2023-04-19-10-56-05 +scene_03__A007/seq__384b1f11cfff348ec215__2023-04-19-10-39-36 +scene_03__A007/seq__e49f5ececafb957d3671__2023-04-19-11-03-53 +scene_03__A007/seq__a41a34ed89fef1760486__2023-04-20-15-42-09 +scene_03__A007/seq__d4caf5e54f1c91438b57__2023-05-15-20-39-39 +scene_03__A007/seq__2bae9f0f317c19cd1b5d__2023-05-15-20-32-31 +scene_03__A008/seq__e626d4fa0c73c5198a59__2023-04-23-11-16-48 +scene_03__A008/seq__3e29caad5ac0039856bf__2023-04-23-11-19-11 +scene_03__A008/seq__122ba05c0cbf110ec037__2023-04-23-10-45-36 +scene_03__A008/seq__b4a4e494d33cfd68e95f__2023-04-23-10-43-46 +scene_03__A008/seq__0920ef008fac6fefdd88__2023-04-23-11-23-08 +scene_03__A008/seq__c2f83e010631028090be__2023-04-23-10-48-01 +scene_04__A001/seq__24d76506f00b476483ec__2023-04-27-19-49-01 +scene_04__A001/seq__604ecac09194007a0d1b__2023-04-27-19-50-10 +scene_04__A004/seq__eb95751017ecdcf1942d__2023-04-26-19-01-08 +scene_04__A004/seq__76fd939dff16583c7c6d__2023-04-26-18-58-48 +scene_04__A004/seq__9ae13d2f06c32b3e7498__2023-04-26-18-59-36 +scene_04__A005/seq__5d49e661a8fd8b21f4e1__2023-04-25-20-21-13 +scene_04__A005/seq__8371a637b35c6a90c30d__2023-04-20-11-05-13 +scene_04__A005/seq__d41bc19324e0d1ed05c3__2023-04-20-11-07-09 +scene_04__A005/seq__c80df7bc6d12b566098a__2023-04-20-11-10-33 +scene_04__A005/seq__a669eeccd80db095295d__2023-04-20-11-11-18 +scene_04__A007/seq__ca28822445da7795e0c4__2023-04-20-15-25-20 +scene_04__A007/seq__3841334c17e591cb9968__2023-04-19-10-32-34 +scene_04__A007/seq__a4cf2a5ebe1053befdce__2023-04-19-10-35-51 +scene_04__A008/seq__547675de3c1d37a85a09__2023-04-23-11-27-15 \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/val.txt b/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/val.txt new file mode 100644 index 0000000000000000000000000000000000000000..b620d8eb45ca27f42836778c7837c556262a911e --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/dataset_adapters/oakink2_sources/split/val.txt @@ -0,0 +1,39 @@ +scene_01__A003/seq__e76b290b0440c2db3e27__2023-04-15-11-27-51 +scene_01__A003/seq__c9cd3eec4e02a742c104__2023-04-16-10-18-51 +scene_01__A003/seq__d7c333b80728391e47c7__2023-04-16-10-44-48 +scene_01__A003/seq__a068789362978fe97452__2023-04-16-11-18-43 +scene_01__A003/seq__99f9da6e0d665dd15f01__2023-04-18-10-28-47 +scene_01__A003/seq__d78faa92219c617ea9b4__2023-04-15-10-48-45 +scene_01__A003/seq__783bd4550274783193c3__2023-04-15-09-58-39 +scene_01__A004/seq__4102ced88c60ebdf8023__2023-04-28-18-37-52 +scene_01__A004/seq__1469a06acb399dbd2b65__2023-04-28-18-40-56 +scene_01__A004/seq__c1e3698b2dfc3650fa61__2023-04-28-18-35-15 +scene_01__A005/seq__917052534a7afb8c3113__2023-04-15-14-44-16 +scene_01__O001/seq__6713218067ae5432d3f4__2023-04-13-19-19-05 +scene_01__O001/seq__598a5433c7f9d14d1697__2023-04-13-20-33-59 +scene_02__A001/seq__f040823652e57df04efa__2023-04-18-15-09-12 +scene_02__A001/seq__25281b1248ce06ef00f4__2023-04-15-18-50-17 +scene_02__A001/seq__9ece9dbeab9d71e2c362__2023-04-22-14-25-38 +scene_02__A002/seq__5c41eca99a8f68254e0d__2023-04-17-14-51-05 +scene_02__A004/seq__9cf448429878c58036ef__2023-05-07-18-47-31 +scene_02__A004/seq__5cb937c572504e2267d0__2023-04-26-20-30-59 +scene_02__A004/seq__c64c93242d84629ea481__2023-04-26-20-54-06 +scene_02__A005/seq__5ced9ba4d054b4039ecb__2023-04-25-20-36-43 +scene_02__A005/seq__1e9952b388e901e173b3__2023-04-20-09-34-29 +scene_02__A005/seq__681840c979d1c250086f__2023-04-20-09-44-47 +scene_02__A005/seq__fb9699b5af2e75883b2a__2023-04-25-18-34-18 +scene_02__A007/seq__126ad7e6ea35c8ec7aaf__2023-04-19-09-35-59 +scene_02__A008/seq__d447873bf1bc844be9a1__2023-04-23-09-35-30 +scene_02__A008/seq__6972749dca2bae65783a__2023-04-23-10-37-07 +scene_03__A004/seq__c50cea3a13b82213994f__2023-04-22-18-29-19 +scene_03__A004/seq__155cbd68c1fdb424f73d__2023-04-22-19-07-45 +scene_03__A004/seq__cf9b2eeea82d3a0ccfdc__2023-04-22-20-33-49 +scene_03__A004/seq__a534562c360e83490669__2023-04-26-18-29-08 +scene_03__A004/seq__81a953a8e44603fbe7cb__2023-04-26-18-39-34 +scene_03__A007/seq__c56852334cd7ee5ec868__2023-04-21-09-37-08 +scene_03__A007/seq__ff220c4666f169c19334__2023-04-19-11-43-56 +scene_03__A007/seq__7e7aa43a16d7e7db01c6__2023-04-20-14-28-51 +scene_03__A007/seq__9f2cba19af8ca0b0bf98__2023-04-19-11-23-20 +scene_03__A007/seq__9d98fb4b811e27f5f9ed__2023-04-19-10-48-13 +scene_04__A008/seq__f93352845016c27d0fdc__2023-05-09-19-52-25 +scene_04__A008/seq__ff070467cd91f735acab__2023-04-23-11-28-29 \ No newline at end of file diff --git a/OakInk-v2/shared-v1.0/script/fix_oakink2_fps_metadata.py b/OakInk-v2/shared-v1.0/script/fix_oakink2_fps_metadata.py new file mode 100644 index 0000000000000000000000000000000000000000..df9242f3309b30397c9d29b9e4ce2ceb46002e22 --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/fix_oakink2_fps_metadata.py @@ -0,0 +1,167 @@ +#!/usr/bin/env python3 +"""Correct OakInk2 source FPS metadata and review playback timing. + +The shared FFV1 MKVs intentionally remain at storage_fps=1/index_only. Review +MP4s created by the former renderer at 20 FPS are retimed to 30 FPS with stream +copy, so their encoded H.264 packets are not re-encoded. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +import re +import subprocess +from datetime import datetime, timezone +from pathlib import Path + + +PAPER_URL = "https://openaccess.thecvf.com/content/CVPR2024/papers/Zhan_OAKINK2_A_Dataset_of_Bimanual_Hands-Object_Manipulation_in_Complex_Task_CVPR_2024_paper.pdf" +EVIDENCE = "OakInk2 CVPR 2024 paper section 4.1: four synchronized RGB views at 30 fps" + + +def write_json(path: Path, value: object) -> None: + path.write_text(json.dumps(value, ensure_ascii=False, indent=2, allow_nan=False), encoding="utf-8") + + +def sha256(path: Path) -> str: + digest = hashlib.sha256() + with path.open("rb") as stream: + for block in iter(lambda: stream.read(8 << 20), b""): + digest.update(block) + return digest.hexdigest() + + +def probe(ffmpeg: str, path: Path) -> tuple[float, float]: + result = subprocess.run([ffmpeg, "-hide_banner", "-i", str(path)], text=True, capture_output=True) + text = result.stderr + duration_match = re.search(r"Duration: (\d+):(\d+):(\d+(?:\.\d+)?)", text) + fps_match = re.search(r"Video:.*?\b(\d+(?:\.\d+)?) fps\b", text) + if not duration_match or not fps_match: + raise RuntimeError(f"cannot probe {path}: {text[-2000:]}") + hours, minutes, seconds = duration_match.groups() + return float(fps_match.group(1)), int(hours) * 3600 + int(minutes) * 60 + float(seconds) + + +def elementary_hash(ffmpeg: str, path: Path) -> str: + result = subprocess.run( + [ffmpeg, "-v", "error", "-i", str(path), "-map", "0:v:0", "-c", "copy", "-f", "hash", "-hash", "sha256", "-"], + text=True, capture_output=True, check=True, + ) + value = result.stdout.strip() + if not value.startswith("SHA256="): + raise RuntimeError(f"unexpected stream hash for {path}: {value}") + return value.split("=", 1)[1] + + +def retime(ffmpeg: str, path: Path) -> dict: + before_fps, before_duration = probe(ffmpeg, path) + if 29.5 <= before_fps <= 30.5: + return {"path": path.as_posix(), "status": "already_30fps", "fps": before_fps, "duration": before_duration} + if not 19.5 <= before_fps <= 20.5: + raise RuntimeError(f"unexpected review FPS {before_fps}: {path}") + before_stream_hash = elementary_hash(ffmpeg, path) + temporary = path.with_name(path.stem + ".retime.tmp" + path.suffix) + subprocess.run( + [ffmpeg, "-v", "error", "-y", "-itsscale", "0.6666666666666666", "-i", str(path), + "-map", "0:v:0", "-c", "copy", str(temporary)], + check=True, + ) + after_fps, after_duration = probe(ffmpeg, temporary) + after_stream_hash = elementary_hash(ffmpeg, temporary) + if not 29.5 <= after_fps <= 30.5: + raise RuntimeError(f"retimed FPS is {after_fps}: {path}") + if before_stream_hash != after_stream_hash: + raise RuntimeError(f"encoded H.264 packet hash changed: {path}") + expected = before_duration * 2.0 / 3.0 + if abs(after_duration - expected) > 0.12: + raise RuntimeError(f"unexpected duration {before_duration} -> {after_duration}: {path}") + temporary.replace(path) + return { + "path": path.as_posix(), "status": "retimed_stream_copy", "before_fps": before_fps, + "after_fps": after_fps, "before_duration": before_duration, "after_duration": after_duration, + "encoded_video_sha256": after_stream_hash, + } + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--release", required=True) + parser.add_argument("--ffmpeg", required=True) + args = parser.parse_args() + release = Path(args.release).resolve() + changed_meta = 0 + for path in sorted((release / "data").glob("*/*/metainfo.json")): + meta = json.loads(path.read_text(encoding="utf-8")) + sampling = meta["sampling"] + if sampling.get("source_fps") != 30.0 or sampling.get("type") != "dense": + sampling["type"] = "dense" + sampling["source_fps"] = 30.0 + sampling["source_fps_evidence"] = EVIDENCE + sampling["mocap_alignment"] = ( + "image frame IDs are an exact subset of mocap_frame_id_list; image IDs advance by four " + "on the shared source frame clock, while all released 30 fps image frames are retained" + ) + write_json(path, meta) + changed_meta += 1 + + changed_reports = 0 + for path in sorted((release / "doc/validation").rglob("report.json")): + report = json.loads(path.read_text(encoding="utf-8")) + changed = False + for row in report.get("views", []): + if row.get("source_fps") != 30.0: + row["source_fps"] = 30.0 + changed = True + if changed: + write_json(path, report) + changed_reports += 1 + + retimed = [retime(args.ffmpeg, path) for path in sorted((release / "doc/validation").rglob("*.mp4"))] + + old = "真实 FPS 未由本次源发布可靠给出,视频只按索引播放;对齐以原始 frame_id 和 frames.jsonl 为准。" + new = "官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。" + updated_html = 0 + for path in sorted((release / "doc/validation").rglob("index.html")): + content = path.read_text(encoding="utf-8") + revised = content.replace(old, new) + if "官方论文说明四路 RGB 同步采集为 30 FPS" not in revised: + revised = revised.replace("", f"

{new}

", 1) + if revised != content: + path.write_text(revised, encoding="utf-8") + updated_html += 1 + + report_root = release / "doc/validation/fps-correction" + report_root.mkdir(parents=True, exist_ok=True) + payload = { + "schema": "oakink2-fps-correction/v1", + "completed_at": datetime.now(timezone.utc).astimezone().isoformat(), + "source_fps": 30.0, + "evidence": EVIDENCE, + "evidence_url": PAPER_URL, + "metainfo_files_changed": changed_meta, + "report_json_files_changed": changed_reports, + "html_files_changed": updated_html, + "review_videos": retimed, + "shared_mkv_policy": "unchanged: storage_fps=1, timebase_role=index_only", + "frame_timestamp_policy": "released annotations contain frame IDs but no per-frame timestamps; timestamp_ns remains null", + "script_sha256": sha256(Path(__file__).resolve()), + } + write_json(report_root / "result.json", payload) + (report_root / "README.md").write_text( + "# OakInk2 FPS correction\n\n" + "The official CVPR 2024 paper states that the four synchronized RGB views were captured at **30 FPS**. " + "All view metadata now records `source_fps=30.0`. The shared FFV1 MKVs remain unchanged at " + "`storage_fps=1` with `timebase_role=index_only`; this container rate is not capture time.\n\n" + "Review MP4s formerly authored at 20 FPS were retimed to 30 FPS by container stream copy. The encoded " + "H.264 stream SHA256 was checked before and after each retime, so no video frames were re-encoded. " + "The release provides frame IDs but no per-frame timestamps, so `timestamp_ns` remains null.\n\n" + f"Evidence: {PAPER_URL}\n", + encoding="utf-8", + ) + print(json.dumps({"metainfo_changed": changed_meta, "videos": len(retimed), "report": str(report_root)}, ensure_ascii=False)) + + +if __name__ == "__main__": + main() diff --git a/OakInk-v2/shared-v1.0/script/oakink2-script-README.md b/OakInk-v2/shared-v1.0/script/oakink2-script-README.md new file mode 100644 index 0000000000000000000000000000000000000000..e7950c22f84d0075f58fa0334db7c84c90bee8df --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/oakink2-script-README.md @@ -0,0 +1,89 @@ +# OakInk2 conversion + +The converter and review renderer are deliberately separate: + +- `preprocess_oakink2.py` reads raw archives and writes training data. +- `render_oakink2_report.py` only reads converted data and writes an offline review report. + +The downloaded release contains 627 RGB sequence archives, 627 annotation +pickles and shared object/program archives. It does not contain source depth or +pixel masks. The converter therefore writes RGB, camera parameters, MANO, +object poses and object geometry, and records depth/segment as unavailable in +each `metainfo.json`. + +| Modality | Source availability | Shared output | +| --- | --- | --- | +| RGB | Yes, per-camera PNG streams | Lossless FFV1 video plus exact frame mapping | +| Camera intrinsics/extrinsics | Yes | Per-frame tensors | +| MANO | Yes | Per-frame left/right camera-coordinate tensors | +| Object pose | Yes | Per-frame `T_camera_from_object` tensors | +| Object geometry | Yes, in `object_repair.tar` | OBJ, MTL, textures and flags under each object's `assets/` directory | +| Depth | No source depth in this release | Omitted and recorded as unavailable | +| Pixel mask/segmentation | No source pixel mask in this release | Omitted and recorded as unavailable | + +`object_affordance.tar` contains object-level affordance assets; it is not a +per-frame pixel mask. The current hand-object reconstruction profile does not +promote those optional affordance assets into a training component. + +## Runtime + +Python 3.12 was tested with the versions in `requirements-lock.txt`. MANO v1.2 +`MANO_LEFT.pkl` and `MANO_RIGHT.pkl` are required for the source wrist-centred +MANO conversion. They are a licensed local dependency and must stay outside the +release directory. + +On iipl_125 the current paths are: + +```bash +ROOT=/data1/shaoyunzhe/hand-datasets/OakInk-v2 +export PYTHONPATH="$ROOT/tmp/runtime-packages" +MODELS="$ROOT/tmp/models" +``` + +## Commands + +Read-only inventory: + +```bash +python3 "$ROOT/shared-v1.0/script/preprocess_oakink2.py" inventory --root "$ROOT" +``` + +Convert one complete sequence and all officially selected cameras: + +```bash +python3 "$ROOT/shared-v1.0/script/preprocess_oakink2.py" convert \ + --root "$ROOT" --mano-model-dir "$MODELS" --workers 1 --ffmpeg-threads 2 \ + --sequence '' +``` + +Render the separate full-frame pilot report: + +```bash +python3 "$ROOT/shared-v1.0/script/render_oakink2_report.py" \ + --release "$ROOT/shared-v1.0" --mano-model-dir "$MODELS" \ + --sequence '' --stage pilot +``` + +After pilot approval, full conversion can use a small number of sequence +workers. Start with two; each sequence contains four camera FFmpeg jobs and a +large annotation pickle. + +```bash +OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 \ +python3 "$ROOT/shared-v1.0/script/preprocess_oakink2.py" full \ + --root "$ROOT" --mano-model-dir "$MODELS" --workers 2 --ffmpeg-threads 2 +``` + +Completed sequences have checkpoints in `tmp/oakink2-convert/checkpoints`. +They are reused only when the source identities and converter SHA256 match. +Partial output remains under `tmp/oakink2-convert/partial` and is replaced on +the next attempt. Raw files are never modified or deleted. + +## Alignment and layout + +Output is exactly `data///...`. `frame_id_list` defines +the RGB timeline. It is checked as a subset of `mocap_frame_id_list`, and each +row in `camera/frames.jsonl` records an exact `annotation_matches` mapping. +Unknown source timestamps and FPS remain null. Camera serials whose official +name is `egocentric` use `view_type=ego`; all official allocentric cameras use +`view_type=exo`. diff --git a/OakInk-v2/shared-v1.0/script/preprocess_oakink2.py b/OakInk-v2/shared-v1.0/script/preprocess_oakink2.py new file mode 100644 index 0000000000000000000000000000000000000000..cee81e5178cd886e4a28bea25f17bbbedcf81893 --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/preprocess_oakink2.py @@ -0,0 +1,676 @@ +"""Convert OakInk2 into hand-warehouse/1.0. + +This file only converts and validates data. HTML/video review lives in +``render_oakink2_report.py``. + +Examples +-------- +python preprocess_oakink2.py inventory --root /data1/.../OakInk-v2 +python preprocess_oakink2.py convert --root /data1/.../OakInk-v2 \ + --mano-model-dir /path/to/mano/models --sequence +python preprocess_oakink2.py full --root /data1/.../OakInk-v2 \ + --mano-model-dir /path/to/mano/models --workers 2 +""" + +from __future__ import annotations + +import argparse +import codecs +import collections +import hashlib +import io +import json +import os +import pickle +import shutil +import subprocess +import tarfile +from concurrent.futures import ProcessPoolExecutor, as_completed +from datetime import datetime, timezone +from pathlib import Path, PurePosixPath + +import numpy as np +import torch +from PIL import Image +from scipy.spatial.transform import Rotation + + +SCHEMA_VERSION = "hand-warehouse/1.0" +RELEASE_ID = "shared-v1.0" +RAW_REVISION = "85c3bfc9ad4d9a6b159e31ac036cf62c87b29076" +OAKINK2_SPLIT_REVISION = "4cb9c461b92c032715374bd252c7179c70a14bde" + + +def load_official_splits() -> dict[str, str]: + split_root = Path(__file__).resolve().parent / "dataset_adapters" / "oakink2_sources" / "split" + result: dict[str, str] = {} + for split in ("train", "val", "test"): + path = split_root / f"{split}.txt" + if not path.is_file(): + raise FileNotFoundError(f"Missing pinned official OakInk2 split list: {path}") + for raw in path.read_text(encoding="utf-8").splitlines(): + source_id = raw.strip() + if not source_id: + continue + sequence_id = source_id.replace("/", "++") + if sequence_id in result: + raise RuntimeError(f"OakInk2 sequence occurs in more than one split: {sequence_id}") + result[sequence_id] = split + if len(result) != 627: + raise RuntimeError(f"Expected 627 OakInk2 sequences in official split lists, found {len(result)}") + return result + + +OAKINK2_OFFICIAL_SPLITS = load_official_splits() + + +def official_split_metadata(sequence: str) -> dict: + if sequence not in OAKINK2_OFFICIAL_SPLITS: + raise RuntimeError(f"Sequence is absent from pinned official OakInk2 split lists: {sequence}") + split = OAKINK2_OFFICIAL_SPLITS[sequence] + return { + "split": split, + "split_scheme": "OakInk2_TaMF_official_sequence_split", + "split_source_locator": { + "url": ( + "https://github.com/oakink/OakInk2-TaMF/blob/" + f"{OAKINK2_SPLIT_REVISION}/asset/split/{split}.txt" + ), + "sequence_key": sequence.replace("++", "/"), + }, + } + + +def write_json(path: Path, value) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(value, ensure_ascii=False, indent=2, allow_nan=False), encoding="utf-8") + + +def write_jsonl(path: Path, rows) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("w", encoding="utf-8", newline="\n") as stream: + for row in rows: + stream.write(json.dumps(row, ensure_ascii=False, allow_nan=False) + "\n") + + +def save_tensor(path: Path, value) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + torch.save(torch.as_tensor(np.asarray(value).copy()), path) + + +def sha256(path: Path) -> str: + digest = hashlib.sha256() + with path.open("rb") as stream: + for block in iter(lambda: stream.read(8 << 20), b""): + digest.update(block) + return digest.hexdigest() + + +def script_sha256() -> str: + return sha256(Path(__file__).resolve()) + + +# OakInk2 annotations are pickle files containing only NumPy arrays, tensors and +# containers. Do not use pickle.load: it can import arbitrary Python objects. +def _safe_torch_bytes(data: bytes): + return torch.load(io.BytesIO(data), map_location="cpu", weights_only=True) + + +class AnnotationUnpickler(pickle.Unpickler): + def find_class(self, module, name): + allowed = { + ("numpy.core.multiarray", "_reconstruct"): np._core.multiarray._reconstruct, + ("numpy._core.multiarray", "_reconstruct"): np._core.multiarray._reconstruct, + ("numpy", "ndarray"): np.ndarray, + ("numpy", "dtype"): np.dtype, + ("numpy.core.numeric", "_frombuffer"): np._core.numeric._frombuffer, + ("numpy._core.numeric", "_frombuffer"): np._core.numeric._frombuffer, + ("_codecs", "encode"): codecs.encode, + ("collections", "OrderedDict"): collections.OrderedDict, + ("torch._utils", "_rebuild_tensor_v2"): torch._utils._rebuild_tensor_v2, + ("torch.storage", "_load_from_bytes"): _safe_torch_bytes, + } + if (module, name) not in allowed: + raise pickle.UnpicklingError(f"forbidden pickle global: {module}.{name}") + return allowed[(module, name)] + + +def load_annotation(path: Path): + with path.open("rb") as stream: + value = AnnotationUnpickler(stream, encoding="latin1").load() + required = { + "cam_def", "cam_selection", "frame_id_list", "cam_intr", "cam_extr", + "mocap_frame_id_list", "obj_list", "obj_transf", "raw_mano", + } + missing = required - value.keys() + if missing: + raise ValueError(f"{path.name}: missing fields {sorted(missing)}") + return value + + +class StoredState: + def __setstate__(self, state): + self.__dict__.update(state) + + +class ManoModelUnpickler(AnnotationUnpickler): + def find_class(self, module, name): + if (module, name) in { + ("chumpy.ch", "Ch"), + ("chumpy.reordering", "Select"), + ("scipy.sparse.csc", "csc_matrix"), + }: + return StoredState + if (module, name) == ("__builtin__", "set"): + return set + return super().find_class(module, name) + + +def _materialize_chumpy(value): + if not isinstance(value, StoredState): + return np.asarray(value) + # MANO v1.2 shapedirs is a Chumpy Select object. + return np.asarray(value.a.x).reshape(-1)[value.idxs].reshape(value.preferred_shape) + + +def load_mano_data(model_dir: Path, side: str) -> dict: + path = model_dir / f"MANO_{side.upper()}.pkl" + if not path.is_file(): + raise FileNotFoundError(f"MANO v1.2 model is required: {path}") + with path.open("rb") as stream: + data = ManoModelUnpickler(stream, encoding="latin1").load() + data["shapedirs"] = _materialize_chumpy(data["shapedirs"]) + data["v_template"] = _materialize_chumpy(data["v_template"]) + sparse = data["J_regressor"] + if isinstance(sparse, StoredState): + regressor = np.zeros(sparse._shape, dtype=np.float64) + for column in range(sparse._shape[1]): + begin, end = sparse.indptr[column : column + 2] + regressor[sparse.indices[begin:end], column] = sparse.data[begin:end] + data["J_regressor"] = regressor + return data + + +def load_mano_roots(model_dir: Path) -> dict[str, dict[str, np.ndarray]]: + result = {} + for side in ("left", "right"): + data = load_mano_data(model_dir, side) + shapedirs = np.asarray(data["shapedirs"], dtype=np.float64) + template = np.asarray(data["v_template"], dtype=np.float64) + sparse = data["J_regressor"] + regressor = np.asarray(sparse.toarray() if hasattr(sparse, "toarray") else sparse) + if shapedirs.shape != (778, 3, 10) or template.shape != (778, 3) or regressor.shape != (16, 778): + raise ValueError(f"unexpected MANO model shapes for {side}") + result[side] = {"shapedirs": shapedirs, "template": template, "wrist": regressor[0]} + return result + + +def as_numpy(value) -> np.ndarray: + if isinstance(value, torch.Tensor): + value = value.detach().cpu().numpy() + return np.asarray(value) + + +def lookup(mapping: dict, key: int): + if key in mapping: + return mapping[key] + if str(key) in mapping: + return mapping[str(key)] + raise KeyError(key) + + +def quaternion_pose(rows: list[dict], prefix: str) -> tuple[np.ndarray, np.ndarray, np.ndarray]: + quaternion = np.stack([as_numpy(row[f"{prefix}__pose_coeffs"]).reshape(16, 4) for row in rows]) + # Source convention is [w,x,y,z]; scipy expects [x,y,z,w]. + pose = Rotation.from_quat(np.roll(quaternion.reshape(-1, 4), -1, axis=1)).as_rotvec().reshape(-1, 48) + betas = np.stack([as_numpy(row[f"{prefix}__betas"]).reshape(10) for row in rows]) + translation = np.stack([as_numpy(row[f"{prefix}__tsl"]).reshape(3) for row in rows]) + return pose, betas, translation + + +def camera_mano(pose, betas, source_translation, extrinsic, model) -> np.ndarray: + shaped = model["template"][None] + np.einsum("vci,ti->tvc", model["shapedirs"], betas) + wrist = np.einsum("v,tvc->tc", model["wrist"], shaped) + # Official ManoLayer uses center_idx=0. source_translation places that + # centered wrist in world coordinates; shared translation adds to the + # ordinary flat-mean MANO output, hence the shape-dependent correction. + world_translation = source_translation - wrist + rotation = extrinsic[:, :3, :3] + camera_pose = pose.copy() + root_matrix = Rotation.from_rotvec(pose[:, :3]).as_matrix() + camera_pose[:, :3] = Rotation.from_matrix(rotation @ root_matrix).as_rotvec() + camera_translation = ( + np.einsum("tij,tj->ti", rotation, wrist + world_translation) + + extrinsic[:, :3, 3] + - wrist + ) + return np.concatenate([camera_pose, betas, camera_translation], axis=1).astype(np.float32) + + +def component(data_ref, valid_ref, schema_id, axes, valid_axes, source, **extra): + return { + "available": True, + "data_ref": data_ref, + "valid_ref": valid_ref, + "schema_id": schema_id, + "axes": axes, + "valid_axes": valid_axes, + "source_locator": source, + "provenance": {"kind": "format_conversion"}, + **extra, + } + + +def find_ffmpeg(explicit: str | None) -> str: + if explicit: + return explicit + try: + import imageio_ffmpeg + return imageio_ffmpeg.get_ffmpeg_exe() + except Exception as exc: + raise RuntimeError("pass --ffmpeg or install imageio-ffmpeg") from exc + + +def encode_rgb(tf: tarfile.TarFile, members: list[str], target: Path, ffmpeg: str, threads: int): + first_bytes = tf.extractfile(members[0]).read() + with Image.open(io.BytesIO(first_bytes)) as image: + first = np.asarray(image.convert("RGB")) + height, width = first.shape[:2] + target.parent.mkdir(parents=True, exist_ok=True) + command = [ + ffmpeg, "-hide_banner", "-loglevel", "error", "-y", + "-f", "rawvideo", "-pixel_format", "rgb24", "-video_size", f"{width}x{height}", + "-framerate", "1", "-i", "pipe:0", "-an", "-c:v", "ffv1", "-level", "3", + "-g", "1", "-threads", str(threads), str(target), + ] + process = subprocess.Popen(command, stdin=subprocess.PIPE, stderr=subprocess.PIPE) + source_digest = hashlib.sha256() + try: + for index, member in enumerate(members): + data = first_bytes if index == 0 else tf.extractfile(member).read() + with Image.open(io.BytesIO(data)) as image: + rgb = np.asarray(image.convert("RGB")) + if rgb.shape != (height, width, 3): + raise ValueError(f"image size changed: {member} {rgb.shape}") + block = np.ascontiguousarray(rgb).tobytes() + source_digest.update(block) + process.stdin.write(block) + process.stdin.close() + error = process.stderr.read().decode("utf-8", "replace") + code = process.wait() + except Exception: + process.kill() + raise + if code: + raise RuntimeError(error) + + decoded = subprocess.Popen( + [ffmpeg, "-hide_banner", "-loglevel", "error", "-threads", str(threads), + "-i", str(target), "-pix_fmt", "rgb24", "-f", "rawvideo", "pipe:1"], + stdout=subprocess.PIPE, stderr=subprocess.PIPE, + ) + output_digest = hashlib.sha256() + output_bytes = 0 + while True: + block = decoded.stdout.read(8 << 20) + if not block: + break + output_digest.update(block) + output_bytes += len(block) + error = decoded.stderr.read().decode("utf-8", "replace") + if decoded.wait(): + raise RuntimeError(error) + expected_bytes = len(members) * height * width * 3 + if output_bytes != expected_bytes or output_digest.digest() != source_digest.digest(): + raise ValueError("RGB round-trip mismatch") + return width, height, source_digest.hexdigest() + + +def safe_asset_name(name: str, prefix: str) -> str: + relative = PurePosixPath(name).relative_to(PurePosixPath(prefix)) + if not relative.parts or any(part in {"", ".", ".."} for part in relative.parts): + raise ValueError(f"unsafe asset member: {name}") + return relative.as_posix() + + +def extract_object_assets(asset_tar: tarfile.TarFile, object_id: str, target: Path) -> Path | None: + """Extract one object's immutable assets once for the whole sequence.""" + prefix = f"object_repair/align_ds/{object_id}/" + members = [member for member in asset_tar.getmembers() if member.isfile() and member.name.startswith(prefix)] + for member in members: + relative = safe_asset_name(member.name, prefix) + output = target / relative + output.parent.mkdir(parents=True, exist_ok=True) + with asset_tar.extractfile(member) as source, output.open("wb") as destination: + shutil.copyfileobj(source, destination) + models = sorted(path for path in target.rglob("*") if path.suffix.lower() in {".obj", ".ply"}) + return models[0].relative_to(target) if models else None + + +def hardlink_tree(source: Path, target: Path) -> None: + """Mirror immutable assets without storing four camera copies of each file.""" + for path in source.rglob("*"): + relative = path.relative_to(source) + output = target / relative + if path.is_dir(): + output.mkdir(parents=True, exist_ok=True) + elif path.is_file(): + output.parent.mkdir(parents=True, exist_ok=True) + try: + os.link(path, output) + except OSError: + shutil.copy2(path, output) + + +def manifest_map(root: Path) -> dict[str, dict]: + path = root / "tmp/hf-download/manifest.json" + if not path.is_file(): + return {} + data = json.loads(path.read_text(encoding="utf-8")) + return {row["path"].split("OakInk-v2/", 1)[-1]: row for row in data["files"]} + + +def source_identity(root: Path, sequence: str) -> dict: + records = manifest_map(root) + paths = [f"raw/data/data/{sequence}.tar", f"raw/data/anno_preview/{sequence}.pkl", "raw/data/object_repair.tar"] + result = {} + for path in paths: + row = records.get(path) + file_path = root / path + if row: + result[path] = {key: row[key] for key in ("size", "sha256", "git_oid") if key in row} + else: + result[path] = {"size": file_path.stat().st_size, "sha256": sha256(file_path)} + return result + + +def convert_sequence(root: Path, output: Path, model_dir: Path, sequence: str, ffmpeg: str, threads: int): + raw = root / "raw/data" + image_tar_path = raw / "data" / f"{sequence}.tar" + annotation_path = raw / "anno_preview" / f"{sequence}.pkl" + object_tar_path = raw / "object_repair.tar" + for path in (image_tar_path, annotation_path, object_tar_path): + if not path.is_file(): + raise FileNotFoundError(path) + + identity = source_identity(root, sequence) + checkpoint_dir = root / "tmp/oakink2-convert/checkpoints" + checkpoint = checkpoint_dir / f"{sequence}.json" + signature = {"script_sha256": script_sha256(), "source": identity, "output_root": str(output)} + if checkpoint.is_file() and (output / "data" / sequence).is_dir(): + previous = json.loads(checkpoint.read_text(encoding="utf-8")) + if previous.get("signature") == signature and previous.get("status") == "complete": + return {"sequence": sequence, "status": "skipped", "views": previous["views"]} + + annotation = load_annotation(annotation_path) + frame_ids = [int(value) for value in annotation["frame_id_list"]] + mocap_ids = {int(value) for value in annotation["mocap_frame_id_list"]} + if not frame_ids or not set(frame_ids).issubset(mocap_ids): + raise ValueError(f"{sequence}: image frames are not a subset of mocap frames") + mano_rows = [lookup(annotation["raw_mano"], frame_id) for frame_id in frame_ids] + mano_models = load_mano_roots(model_dir) + + partial = root / "tmp/oakink2-convert/partial" / sequence + if partial.exists(): + shutil.rmtree(partial) + partial.mkdir(parents=True) + views = [] + with tarfile.open(image_tar_path, "r:*") as image_tar, tarfile.open(object_tar_path, "r:*") as object_tar: + image_members = {member.name: member for member in image_tar.getmembers() if member.isfile()} + asset_cache = partial / ".object-assets-cache" + object_models = {} + for object_id in annotation["obj_list"]: + cache_root = asset_cache / object_id + object_models[object_id] = extract_object_assets(object_tar, object_id, cache_root) + selected_names = set(annotation["cam_selection"]) + cameras = [serial for serial, name in annotation["cam_def"].items() if name in selected_names] + if not cameras: + raise ValueError(f"{sequence}: no selected cameras") + for serial in cameras: + camera_name = annotation["cam_def"][serial] + members = [f"{sequence}/{serial}/{frame_id:06d}.png" for frame_id in frame_ids] + missing = [member for member in members if member not in image_members] + if missing: + raise FileNotFoundError(f"{sequence}/{serial}: missing {len(missing)} RGB frames") + intrinsic = np.stack([lookup(annotation["cam_intr"][camera_name], frame_id) for frame_id in frame_ids]).astype(np.float32) + extrinsic = np.stack([lookup(annotation["cam_extr"][camera_name], frame_id) for frame_id in frame_ids]).astype(np.float32) + if intrinsic.shape != (len(frame_ids), 3, 3) or extrinsic.shape != (len(frame_ids), 4, 4): + raise ValueError(f"{sequence}/{serial}: invalid camera tensor shape") + + view = partial / serial + width, height, rgb_digest = encode_rgb(image_tar, members, view / "observation/rgb.mkv", ffmpeg, threads) + valid = np.ones(len(frame_ids), dtype=bool) + save_tensor(view / "observation/rgb_valid.pt", valid) + save_tensor(view / "camera/intrinsic.pt", intrinsic) + save_tensor(view / "camera/intrinsic_valid.pt", valid) + save_tensor(view / "camera/extrinsic.pt", extrinsic) + save_tensor(view / "camera/extrinsic_valid.pt", valid) + + motion = np.full((len(frame_ids), 2, 61), np.nan, dtype=np.float32) + for side_index, (side, prefix) in enumerate((("left", "lh"), ("right", "rh"))): + pose, betas, translation = quaternion_pose(mano_rows, prefix) + motion[:, side_index] = camera_mano(pose, betas, translation, extrinsic, mano_models[side]) + mano_valid = np.isfinite(motion).all(axis=2) + save_tensor(view / "annotation/mano/motion.pt", motion) + save_tensor(view / "annotation/mano/motion_valid.pt", mano_valid) + + object_components = {} + for object_id in annotation["obj_list"]: + world = np.stack([lookup(annotation["obj_transf"][object_id], frame_id) for frame_id in frame_ids]).astype(np.float32) + pose = extrinsic @ world + pose_valid = np.isfinite(pose).all(axis=(1, 2)) + object_root = view / "annotation/object" / object_id + save_tensor(object_root / "pose.pt", pose) + save_tensor(object_root / "pose_valid.pt", pose_valid) + hardlink_tree(asset_cache / object_id, object_root / "assets") + model_relative = object_models[object_id] + mesh_ref = (object_root / "assets" / model_relative).relative_to(view).as_posix() if model_relative else None + write_json(object_root / "metainfo.json", { + "object_id": object_id, + "source_object_id": object_id, + "identity_scope": "sequence", + "scope_id": sequence, + "association_basis": "official OakInk2 obj_list and obj_transf", + "has_model": mesh_ref is not None, + "mesh_ref": mesh_ref, + "unit": "m", + "source_locator": {"archive": "raw/data/object_repair.tar", "object_id": object_id}, + }) + object_components[f"object_{object_id}_pose"] = component( + f"annotation/object/{object_id}/pose.pt", + f"annotation/object/{object_id}/pose_valid.pt", + "object/rigid/v1", ["T", "row", "column"], ["T"], + {"file": f"raw/data/anno_preview/{sequence}.pkl", "field": f"obj_transf.{object_id}"}, + unit="m", convention="T_camera_from_object", object_type="rigid", entity_id=object_id, + ) + + frame_rows = [] + for index, frame_id in enumerate(frame_ids): + match = { + "source_frame_id": str(frame_id), + "source_timestamp_ns": None, + "clock_domain": None, + "match_method": "exact", + "delta_ns": None, + "source_record_present": True, + } + frame_rows.append({ + "frame_index": index, + "source_frame_id": str(frame_id), + "timestamp_ns": None, + "clock_domain": None, + "sync_id": f"{sequence}:{frame_id}", + "source_locator": {"archive": f"raw/data/data/{sequence}.tar", "member": members[index]}, + "annotation_matches": {"camera": match, "mano": match, "object": match}, + }) + write_jsonl(view / "camera/frames.jsonl", frame_rows) + + components = { + "rgb": component( + "observation/rgb.mkv", "observation/rgb_valid.pt", "rgb/uint8/v1", + ["T", "height", "width", "channel"], ["T"], + {"archive": f"raw/data/data/{sequence}.tar", "member_pattern": f"{sequence}/{serial}/{{source_frame_id}}.png"}, + storage={"profile": "mkv/ffv1_rgb/v1", "codec": "ffv1", "pixel_format": "bgr0", + "decoded_pixel_format": "rgb24", "source_lossy": False, + "roundtrip_rgb_sha256": rgb_digest}, + storage_fps=1, timebase_role="index_only", + ), + "intrinsic": component( + "camera/intrinsic.pt", "camera/intrinsic_valid.pt", "camera/pinhole/v1", + ["T", "row", "column"], ["T"], + {"file": f"raw/data/anno_preview/{sequence}.pkl", "field": f"cam_intr.{camera_name}"}, + ), + "extrinsic": component( + "camera/extrinsic.pt", "camera/extrinsic_valid.pt", "transform/se3/v1", + ["T", "row", "column"], ["T"], + {"file": f"raw/data/anno_preview/{sequence}.pkl", "field": f"cam_extr.{camera_name}"}, + unit="m", convention="T_camera_from_world", + ), + "mano": component( + "annotation/mano/motion.pt", "annotation/mano/motion_valid.pt", "mano/axis_angle61/v1", + ["T", "hand", "parameter"], ["T", "hand"], + {"file": f"raw/data/anno_preview/{sequence}.pkl", "field": "raw_mano", + "time_index_ref": "camera/frames.jsonl:annotation_matches.mano"}, + unit="m", angle_unit="rad", coordinate_frame="camera", + model_profile={"version": "MANO-v1.2", "flat_hand_mean": True, "left_shapedirs_fix": False}, + provenance={"kind": "format_conversion", "method": "source wxyz quaternion to axis-angle; official center_idx=0 wrist correction; world-to-camera transform"}, + ), + **object_components, + } + metadata = { + "schema_version": SCHEMA_VERSION, + "dataset_id": "OakInk2", + "release_id": RELEASE_ID, + "sequence_id": sequence, + "camera_id": serial, + "sample_type": "video", + "num_frames": len(frame_ids), + "hand_slots": ["left", "right"], + "sampling": { + "type": "dense", + "source_fps": 30.0, + "frames_ref": "camera/frames.jsonl", + "selection": "all official frame_id_list images for this complete sequence and selected camera", + "source_fps_evidence": "OakInk2 CVPR 2024 paper section 4.1: four synchronized RGB views at 30 fps", + "mocap_alignment": "image frame IDs are an exact subset of mocap_frame_id_list; image IDs advance by four on the shared source frame clock, while all released 30 fps image frames are retained", + }, + "camera": {"model": "pinhole", "schema_id": "camera/pinhole/v1", "image_size": [width, height]}, + "components": components, + **official_split_metadata(sequence), + "view_type": "ego" if camera_name == "egocentric" else "exo", + "source_camera_name": camera_name, + "omitted_components": { + "depth": "not provided by the downloaded official OakInk2 release", + "segment": "no official pixel mask is present in the downloaded release", + "contact": "not selected for this hand-object reconstruction release", + "smplx": "full-body parameters are outside the selected hand-object reconstruction fields", + "program": "task-language/program annotations are outside the selected geometric training fields", + }, + "source_release": {"repository": "ParityLab/Hand-Datasets-Raw", "revision": RAW_REVISION}, + } + write_json(view / "metainfo.json", metadata) + views.append({"camera_id": serial, "view_type": metadata["view_type"], "frames": len(frame_ids)}) + + shutil.rmtree(asset_cache) + + final = output / "data" / sequence + final.parent.mkdir(parents=True, exist_ok=True) + if final.exists(): + shutil.rmtree(final) + partial.replace(final) + write_json(checkpoint, {"status": "complete", "sequence": sequence, "views": views, "signature": signature}) + return {"sequence": sequence, "status": "converted", "views": views} + + +def sequence_names(root: Path) -> list[str]: + annotation_root = root / "raw/data/anno_preview" + image_root = root / "raw/data/data" + annotations = {path.stem for path in annotation_root.glob("*.pkl")} + images = {path.stem for path in image_root.glob("*.tar")} + if annotations != images: + raise ValueError(f"annotation/image mismatch: annotation-only={len(annotations-images)}, image-only={len(images-annotations)}") + return sorted(annotations) + + +def run_convert(args, names: list[str]) -> None: + root = Path(args.root).resolve() + output = Path(args.output or root / RELEASE_ID).resolve() + model_dir = Path(args.mano_model_dir).resolve() + ffmpeg = find_ffmpeg(args.ffmpeg) + runtime = root / "tmp/oakink2-convert" + status_path = runtime / "status.json" + lock_path = runtime / "run.lock" + runtime.mkdir(parents=True, exist_ok=True) + lock_stream = lock_path.open("a+", encoding="utf-8") + try: + import fcntl + fcntl.flock(lock_stream.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) + except (ImportError, BlockingIOError) as error: + lock_stream.close() + raise RuntimeError(f"another OakInk2 converter holds {lock_path}") from error + started_at = datetime.now(timezone.utc).isoformat() + state = { + "stage": "running", "started_at": started_at, "updated_at": started_at, + "pid": os.getpid(), "total_sequences": len(names), "completed_sequences": 0, + "workers": args.workers, "ffmpeg_threads": args.ffmpeg_threads, + "output": str(output), "last_result": None, + } + write_json(status_path, state) + try: + if args.workers == 1: + iterator = (convert_sequence(root, output, model_dir, name, ffmpeg, args.ffmpeg_threads) for name in names) + else: + pool = ProcessPoolExecutor(max_workers=args.workers) + futures = [pool.submit(convert_sequence, root, output, model_dir, name, ffmpeg, args.ffmpeg_threads) for name in names] + iterator = (future.result() for future in as_completed(futures)) + for result in iterator: + print(json.dumps(result), flush=True) + state["completed_sequences"] += 1 + state["last_result"] = result + state["updated_at"] = datetime.now(timezone.utc).isoformat() + write_json(status_path, state) + if args.workers != 1: + pool.shutdown() + state["stage"] = "complete" + except Exception as error: + state["stage"] = "failed" + state["error_type"] = type(error).__name__ + state["error"] = str(error) + raise + finally: + state["updated_at"] = datetime.now(timezone.utc).isoformat() + write_json(status_path, state) + lock_stream.close() + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + sub = parser.add_subparsers(dest="command", required=True) + inventory = sub.add_parser("inventory") + inventory.add_argument("--root", required=True) + for command in ("convert", "full"): + item = sub.add_parser(command) + item.add_argument("--root", required=True) + item.add_argument("--output") + item.add_argument("--mano-model-dir", required=True) + item.add_argument("--ffmpeg") + item.add_argument("--ffmpeg-threads", type=int, default=2) + item.add_argument("--workers", type=int, default=1) + if command == "convert": + item.add_argument("--sequence", action="append", required=True) + args = parser.parse_args() + root = Path(args.root).resolve() + names = sequence_names(root) + if args.command == "inventory": + print(json.dumps({"sequences": len(names), "first": names[:10]}, indent=2)) + elif args.command == "convert": + unknown = sorted(set(args.sequence) - set(names)) + if unknown: + raise ValueError(f"unknown sequences: {unknown}") + run_convert(args, args.sequence) + else: + run_convert(args, names) + + +if __name__ == "__main__": + main() diff --git a/OakInk-v2/shared-v1.0/script/render_oakink2_full_random.py b/OakInk-v2/shared-v1.0/script/render_oakink2_full_random.py new file mode 100644 index 0000000000000000000000000000000000000000..27625592920b290230c0cd720c895fb275742a37 --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/render_oakink2_full_random.py @@ -0,0 +1,86 @@ +#!/usr/bin/env python3 +"""Render a deterministic stratified OakInk2 full-output review.""" + +from __future__ import annotations + +import argparse +import html +import json +import random +from pathlib import Path +from types import SimpleNamespace + +import render_oakink2_report as renderer + + +def write_json(path: Path, value: object) -> None: + renderer.write_json(path, value) + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--release", required=True) + parser.add_argument("--mano-model-dir", required=True) + parser.add_argument("--output", required=True) + parser.add_argument("--seed", type=int, default=20260927) + parser.add_argument("--ffmpeg") + args = parser.parse_args() + release = Path(args.release).resolve() + output = Path(args.output).resolve() + output.mkdir(parents=True, exist_ok=True) + groups: dict[str, list[str]] = {} + for path in sorted((release / "data").iterdir()): + if path.is_dir(): + scene = path.name.split("__", 1)[0] + groups.setdefault(scene, []).append(path.name) + rng = random.Random(args.seed) + selected = [rng.choice(groups[scene]) for scene in sorted(groups)] + status_path = output / "status.json" + status = { + "schema": "oakink2-full-random-status/v1", "stage": "rendering", + "seed": args.seed, "sampling": "one complete sequence uniformly sampled within each scene stratum", + "population_sequences": sum(map(len, groups.values())), "selected": selected, "completed": [], + } + write_json(status_path, status) + cards = [] + for sequence in selected: + target = output / sequence + if not (target / "report.json").is_file(): + renderer.render(SimpleNamespace( + release=str(release), sequence=sequence, mano_model_dir=args.mano_model_dir, + ffmpeg=args.ffmpeg, output=str(target), stage="full_random", + )) + report = json.loads((target / "report.json").read_text(encoding="utf-8")) + status["completed"].append(sequence) + write_json(status_path, status) + rows = ", ".join(f"{row['camera_id']} ({row['view_type']}, {row['frames']} frames)" for row in report["views"]) + cards.append( + f"

{html.escape(sequence)}

{html.escape(rows)}

" + f"

Open complete-sequence review

" + ) + sampling = { + "schema": "hand-warehouse-full-random-sampling/v1", "dataset_id": "OakInk2", + "seed": args.seed, "method": "one sequence uniformly sampled per scene stratum", + "population_sequences": sum(map(len, groups.values())), + "strata": {key: len(value) for key, value in sorted(groups.items())}, + "selected_sequences": selected, "all_cameras": True, "all_frames": True, + } + write_json(output / "sampling.json", sampling) + write_json(output / "human-review.json", { + "dataset_id": "OakInk2", "stage": "full_random", "status": "pending", + "reviewed_report": "index.html", "confirmed_at": None, "confirmed_by": None, + "notes": "Automatic conversion checks and content fingerprints do not constitute human approval.", + }) + page = f""" +OakInk2 full random review +

OakInk2 全量随机抽查

人工审核:待确认

+

固定随机种子 {args.seed};按 scene 分层,每层等概率抽取一个完整序列,展示全部相机和全部帧。可视化包含 RGB、相机布局、MANO 与物体网格投影。源数据没有 depth 或 pixel mask。

+

官方论文说明四路 RGB 同步采集为 30 FPS;所有审查视频按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基。

+

SHA256 仅作为当前字节指纹和未来传输比对,不证明源一致性、转换语义或视觉质量。

{''.join(cards)}""" + (output / "index.html").write_text(page, encoding="utf-8") + status["stage"] = "complete" + write_json(status_path, status) + + +if __name__ == "__main__": + main() diff --git a/OakInk-v2/shared-v1.0/script/render_oakink2_report.py b/OakInk-v2/shared-v1.0/script/render_oakink2_report.py new file mode 100644 index 0000000000000000000000000000000000000000..15df85693f41390ada2390f94ecb7a41d288456b --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/render_oakink2_report.py @@ -0,0 +1,354 @@ +"""Render an offline OakInk2 review report from converted shared data. + +This script never converts or edits training tensors. It reads a complete +converted sequence, renders every frame for every camera, and writes only under +``doc/validation``. +""" + +from __future__ import annotations + +import argparse +import json +import subprocess +import sys +from types import SimpleNamespace +from pathlib import Path + +import numpy as np +import torch +from PIL import Image, ImageDraw +import smplx + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from preprocess_oakink2 import load_mano_data + + +HAND_COLORS = ((30, 210, 235), (255, 120, 55)) +OBJECT_COLORS = ((85, 235, 75), (190, 95, 245), (255, 215, 70), (80, 150, 255)) +CAMERA_COLORS = ((40, 110, 230), (230, 80, 65), (60, 175, 95), (180, 95, 210), (230, 160, 45)) + + +def load_json(path: Path): + return json.loads(path.read_text(encoding="utf-8")) + + +def write_json(path: Path, value) -> None: + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(json.dumps(value, ensure_ascii=False, indent=2, allow_nan=False), encoding="utf-8") + + +def load_tensor(path: Path) -> np.ndarray: + return torch.load(path, map_location="cpu", weights_only=True).numpy() + + +def find_ffmpeg(explicit: str | None) -> str: + if explicit: + return explicit + import imageio_ffmpeg + return imageio_ffmpeg.get_ffmpeg_exe() + + +def decode_video(ffmpeg: str, path: Path, width: int, height: int): + process = subprocess.Popen( + [ffmpeg, "-hide_banner", "-loglevel", "error", "-i", str(path), + "-pix_fmt", "rgb24", "-f", "rawvideo", "pipe:1"], + stdout=subprocess.PIPE, stderr=subprocess.PIPE, + ) + frame_bytes = width * height * 3 + while True: + data = process.stdout.read(frame_bytes) + if not data: + break + if len(data) != frame_bytes: + raise ValueError(f"truncated decoded frame: {path}") + yield np.frombuffer(data, dtype=np.uint8).reshape(height, width, 3).copy() + error = process.stderr.read().decode("utf-8", "replace") + if process.wait(): + raise RuntimeError(error) + + +def video_writer(ffmpeg: str, path: Path, width: int, height: int, fps: int = 30): + path.parent.mkdir(parents=True, exist_ok=True) + command = [ + ffmpeg, "-hide_banner", "-loglevel", "error", "-y", "-f", "rawvideo", + "-pixel_format", "rgb24", "-video_size", f"{width}x{height}", "-framerate", str(fps), + "-i", "pipe:0", "-an", "-c:v", "libx264", "-crf", "20", "-pix_fmt", "yuv420p", str(path), + ] + return subprocess.Popen(command, stdin=subprocess.PIPE, stderr=subprocess.PIPE) + + +def mano_meshes(model_dir: Path, motion: np.ndarray, valid: np.ndarray): + meshes = [] + for side_index, side in enumerate(("left", "right")): + model = smplx.MANO( + str(model_dir), data_struct=SimpleNamespace(**load_mano_data(model_dir, side)), + is_rhand=side == "right", use_pca=False, flat_hand_mean=True, + ) + result = np.full((len(motion), 778, 3), np.nan, dtype=np.float32) + indices = np.flatnonzero(valid[:, side_index]) + for begin in range(0, len(indices), 64): + selected = indices[begin : begin + 64] + values = torch.from_numpy(motion[selected, side_index]).float() + with torch.no_grad(): + output = model( + global_orient=values[:, :3], hand_pose=values[:, 3:48], + betas=values[:, 48:58], transl=values[:, 58:61], + ) + result[selected] = output.vertices.cpu().numpy() + meshes.append((result, np.asarray(model.faces, dtype=np.int32))) + return meshes + + +def obj_mesh(path: Path) -> tuple[np.ndarray, np.ndarray]: + points = [] + triangles = [] + with path.open("r", encoding="utf-8", errors="replace") as stream: + for line in stream: + if line.startswith("v "): + values = line.split() + points.append([float(values[1]), float(values[2]), float(values[3])]) + elif line.startswith("f "): + indices = [] + for value in line.split()[1:]: + index = int(value.split("/", 1)[0]) + indices.append(index - 1 if index > 0 else len(points) + index) + for offset in range(1, len(indices) - 1): + triangles.append((indices[0], indices[offset], indices[offset + 1])) + vertices = np.asarray(points, dtype=np.float32) + faces = np.asarray(triangles, dtype=np.int32) + if not len(vertices) or not len(faces) or faces.min() < 0 or faces.max() >= len(vertices): + raise ValueError(f"invalid or empty OBJ mesh: {path}") + return vertices, faces + + +def project(points: np.ndarray, intrinsic: np.ndarray) -> np.ndarray: + pixel = points @ intrinsic.T + return pixel[:, :2] / pixel[:, 2:3] + + +def overlay_mesh(image: Image.Image, points: np.ndarray, faces: np.ndarray, intrinsic: np.ndarray, color) -> None: + uv = project(points, intrinsic) + triangles = faces[ + np.isfinite(points[faces]).all(axis=(1, 2)) + & (points[faces, 2] > 1e-4).all(axis=1) + & np.isfinite(uv[faces]).all(axis=(1, 2)) + ] + if not len(triangles): + return + triangle_uv = uv[triangles] + visible = ( + (triangle_uv[:, :, 0].max(axis=1) >= -image.width) + & (triangle_uv[:, :, 0].min(axis=1) <= image.width * 2) + & (triangle_uv[:, :, 1].max(axis=1) >= -image.height) + & (triangle_uv[:, :, 1].min(axis=1) <= image.height * 2) + ) + triangles = triangles[visible] + if not len(triangles): + return + order = np.argsort(points[triangles, 2].mean(axis=1))[::-1] + layer = Image.new("RGBA", image.size, (0, 0, 0, 0)) + draw = ImageDraw.Draw(layer, "RGBA") + fill = (*color, 58) + outline = (*color, 185) + for triangle in triangles[order]: + polygon = [tuple(map(float, uv[index])) for index in triangle] + draw.polygon(polygon, fill=fill, outline=outline, width=1) + image.paste(Image.alpha_composite(image.convert("RGBA"), layer).convert("RGB")) + + +def camera_layout(sequence_root: Path, report_root: Path) -> dict: + cameras = [] + for index, view in enumerate(sorted(sequence_root.iterdir())): + meta_path = view / "metainfo.json" + if not meta_path.is_file(): + continue + meta = load_json(meta_path) + extrinsic = load_tensor(view / "camera/extrinsic.pt") + transform = extrinsic[0] + rotation, translation = transform[:3, :3], transform[:3, 3] + center = -rotation.T @ translation + forward = rotation.T @ np.array([0.0, 0.0, 1.0], dtype=np.float32) + all_centers = -np.einsum("tji,tj->ti", extrinsic[:, :3, :3], extrinsic[:, :3, 3]) + drift = float(np.linalg.norm(all_centers - center, axis=1).max()) + cameras.append({ + "camera_id": meta["camera_id"], "view_type": meta["view_type"], + "center": center, "forward": forward / max(np.linalg.norm(forward), 1e-8), + "max_center_drift_m": drift, "color": CAMERA_COLORS[index % len(CAMERA_COLORS)], + }) + if not cameras: + raise ValueError("no cameras for layout") + width, height = 1400, 620 + canvas = Image.new("RGB", (width, height), "white") + draw = ImageDraw.Draw(canvas) + panels = [("Top view (world X-Z)", 0, 2), ("Front view (world X-Y)", 0, 1)] + centers = np.stack([row["center"] for row in cameras]) + for panel_index, (title, axis_x, axis_y) in enumerate(panels): + left = 35 + panel_index * width // 2 + right = (panel_index + 1) * width // 2 - 35 + top, bottom = 55, height - 45 + values = centers[:, [axis_x, axis_y]] + span = max(float(np.ptp(values[:, 0])), float(np.ptp(values[:, 1])), 0.25) + center_2d = values.mean(axis=0) + scale = min((right - left) / (span * 1.35), (bottom - top) / (span * 1.35)) + def pixel(value): + return (left + (right - left) / 2 + (value[0] - center_2d[0]) * scale, + top + (bottom - top) / 2 - (value[1] - center_2d[1]) * scale) + draw.rectangle((left, top, right, bottom), outline=(205, 210, 220), width=2) + draw.text((left, 20), title + " - first source frame", fill=(20, 20, 20)) + arrow_length = span * 0.18 + for row in cameras: + origin = row["center"][[axis_x, axis_y]] + direction = row["forward"][[axis_x, axis_y]] + norm = np.linalg.norm(direction) + tip = origin if norm < 1e-8 else origin + direction / norm * arrow_length + p0, p1 = pixel(origin), pixel(tip) + draw.line((p0, p1), fill=row["color"], width=5) + draw.ellipse((p0[0] - 8, p0[1] - 8, p0[0] + 8, p0[1] + 8), fill=row["color"], outline="black") + draw.text((p0[0] + 10, p0[1] - 8), f'{row["camera_id"]} ({row["view_type"]})', fill=row["color"]) + output = report_root / "camera-layout.png" + canvas.save(output) + baseline = [] + for first in cameras: + baseline.append({second["camera_id"]: float(np.linalg.norm(first["center"] - second["center"])) for second in cameras}) + return { + "image": output.name, + "coordinate_frame": "world", + "frame": "first source frame", + "cameras": [{k: (v.tolist() if isinstance(v, np.ndarray) else v) for k, v in row.items() if k != "color"} for row in cameras], + "baseline_m": {row["camera_id"]: baseline[index] for index, row in enumerate(cameras)}, + } + + +def render_view(view: Path, report_root: Path, ffmpeg: str, model_dir: Path) -> dict: + meta = load_json(view / "metainfo.json") + frames = [json.loads(line) for line in (view / "camera/frames.jsonl").read_text(encoding="utf-8").splitlines()] + total = meta["num_frames"] + if len(frames) != total: + raise ValueError(f"frame table length mismatch: {view}") + width, height = meta["camera"]["image_size"] + intrinsic = load_tensor(view / "camera/intrinsic.pt") + motion = load_tensor(view / "annotation/mano/motion.pt") + mano_valid = load_tensor(view / "annotation/mano/motion_valid.pt").astype(bool) + if intrinsic.shape != (total, 3, 3) or motion.shape != (total, 2, 61) or mano_valid.shape != (total, 2): + raise ValueError(f"tensor shape mismatch: {view}") + hands = mano_meshes(model_dir, motion, mano_valid) + + objects = [] + for object_root in sorted((view / "annotation/object").iterdir()): + info = load_json(object_root / "metainfo.json") + if not info.get("has_model"): + continue + mesh = view / info["mesh_ref"] + vertices, faces = obj_mesh(mesh) + pose = load_tensor(object_root / "pose.pt") + valid = load_tensor(object_root / "pose_valid.pt").astype(bool) + objects.append((info["object_id"], vertices, faces, pose, valid)) + + scale = min(1.0, 960.0 / width) + shown_width, shown_height = round(width * scale), round(height * scale) + relative_video = Path("media") / f"{meta['camera_id']}.mp4" + writer = video_writer(ffmpeg, report_root / relative_video, shown_width * 2, shown_height) + decoded = 0 + try: + for index, rgb in enumerate(decode_video(ffmpeg, view / "observation/rgb.mkv", width, height)): + original = Image.fromarray(rgb) + overlay = original.copy() + for side_index in range(2): + if mano_valid[index, side_index]: + vertices, faces = hands[side_index] + overlay_mesh(overlay, vertices[index], faces, intrinsic[index], HAND_COLORS[side_index]) + for object_index, (_, vertices, faces, poses, valid) in enumerate(objects): + if valid[index] and len(vertices): + camera = vertices @ poses[index, :3, :3].T + poses[index, :3, 3] + overlay_mesh(overlay, camera, faces, intrinsic[index], OBJECT_COLORS[object_index % len(OBJECT_COLORS)]) + if scale != 1.0: + original = original.resize((shown_width, shown_height), Image.Resampling.BILINEAR) + overlay = overlay.resize((shown_width, shown_height), Image.Resampling.BILINEAR) + panel = Image.new("RGB", (shown_width * 2, shown_height)) + panel.paste(original, (0, 0)) + panel.paste(overlay, (shown_width, 0)) + writer.stdin.write(np.asarray(panel).tobytes()) + decoded += 1 + writer.stdin.close() + error = writer.stderr.read().decode("utf-8", "replace") + code = writer.wait() + except Exception: + writer.kill() + raise + if code: + raise RuntimeError(error) + if decoded != total: + raise ValueError(f"decoded {decoded}/{total} frames: {view}") + return { + "camera_id": meta["camera_id"], "view_type": meta["view_type"], "frames": total, + "video": relative_video.as_posix(), "mano_valid": mano_valid.sum(axis=0).tolist(), + "objects": [row[0] for row in objects], "source_fps": meta["sampling"]["source_fps"], + } + + +def render(args) -> None: + release = Path(args.release).resolve() + sequence_root = release / "data" / args.sequence + if not sequence_root.is_dir(): + raise FileNotFoundError(sequence_root) + report_root = Path(args.output).resolve() if args.output else release / "doc/validation" / args.stage / args.sequence + report_root.mkdir(parents=True, exist_ok=True) + ffmpeg = find_ffmpeg(args.ffmpeg) + model_dir = Path(args.mano_model_dir).resolve() + rows = [render_view(view, report_root, ffmpeg, model_dir) for view in sorted(sequence_root.iterdir()) if (view / "metainfo.json").is_file()] + if not rows: + raise ValueError("no camera views") + layout = camera_layout(sequence_root, report_root) + camera_ids = [row["camera_id"] for row in rows] + baseline_header = "".join(f"{camera_id}" for camera_id in camera_ids) + baseline_rows = "".join( + f'{camera_id}' + "".join(f'{layout["baseline_m"][camera_id][other]:.3f}' for other in camera_ids) + "" + for camera_id in camera_ids + ) + drift_rows = "".join( + f'{row["camera_id"]}{row["view_type"]}{row["max_center_drift_m"]:.3f}' + for row in layout["cameras"] + ) + cards = "".join( + f'

{row["camera_id"]} · {row["view_type"]}

' + f'' + f'

全部 {row["frames"]} 帧,按官方采集速度 30 FPS 播放。左栏原图;右栏为 MANO 与物体几何投影。' + f'MANO valid 左/右={row["mano_valid"]};物体={", ".join(row["objects"]) or "无"}。

' + for row in rows + ) + html = f''' +OakInk2 {args.sequence} 校验 +

OakInk2 · {args.sequence}

自动校验完成;人工审核待确认。

+

所有选中相机和全部帧均已渲染。源中没有 depth 或像素 mask,因此报告不展示这些模态;物体模型来自官方 object_repair。

+

右栏手部使用完整 MANO 三角网格;物体使用 OBJ 全部三角面,而非稀疏顶点。颜色仅用于区分几何实体。

+

官方论文说明四路 RGB 同步采集为 30 FPS;本报告按 30 FPS 播放。共享 MKV 的 1 FPS 仅是索引封装时间基,不代表采集速度;帧对齐仍以原始 frame_id 和 frames.jsonl 为准。

+

多相机相对位置

camera layout

由首个源帧的 T_camera_from_world 反算相机中心和朝向;坐标为世界坐标,距离单位为米。

+{baseline_header}{baseline_rows}
baseline (m)
+

序列内相机中心最大位移

{drift_rows}
cameraviewmax drift (m)
+

外部固定相机的数值误差接近零;ego 相机会随头部运动,因此首帧布局不能代表整段中的唯一位置。

{cards}''' + (report_root / "index.html").write_text(html, encoding="utf-8") + write_json(report_root / "report.json", {"dataset_id": "OakInk2", "sequence": args.sequence, "views": rows, "camera_layout": layout, "status": "automatic_checks_passed"}) + write_json(report_root / "sampling.json", {"method": "complete_sequence", "sequence": args.sequence, "all_cameras": True, "all_frames": True}) + write_json(report_root / "human-review.json", { + "dataset_id": "OakInk2", "release_id": "shared-v1.0", "stage": args.stage, + "status": "pending", "review_scope": "complete selected sequence, all cameras, all frames and available geometric modalities", + "reviewed_report": "index.html", "reviewed_report_sha256": None, + "confirmed_at": None, "confirmed_by": None, + "notes": "Automatic checks do not constitute human approval.", + }) + print(report_root / "index.html") + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--release", required=True) + parser.add_argument("--sequence", required=True) + parser.add_argument("--mano-model-dir", required=True) + parser.add_argument("--ffmpeg") + parser.add_argument("--output", help="Optional report directory; useful for atomic review regeneration") + parser.add_argument("--stage", choices=("pilot", "full_random"), default="pilot") + render(parser.parse_args()) + + +if __name__ == "__main__": + main() diff --git a/OakInk-v2/shared-v1.0/script/requirements-lock.txt b/OakInk-v2/shared-v1.0/script/requirements-lock.txt new file mode 100644 index 0000000000000000000000000000000000000000..87a6d5ddcc9c8b16fb9d54f847601be9065b98fb --- /dev/null +++ b/OakInk-v2/shared-v1.0/script/requirements-lock.txt @@ -0,0 +1,6 @@ +torch==2.14.0+cpu +numpy==2.5.3 +scipy==1.18.1 +Pillow==12.3.0 +imageio-ffmpeg==0.6.0 +smplx==0.1.28