shaoyz's picture
Complete ReInterHand shared-v1.0 documentation
08292cb verified
Raw History Blame
20 kB
{
"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.<name>.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"
}
}