diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d8f5d2979b208fe4165ee26488d005f2873b0507 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Creative Commons Attribution 4.0 International (CC BY 4.0) + +Copyright 2026 Diffraction. Licensed under https://creativecommons.org/licenses/by/4.0/ +Legal terms: https://creativecommons.org/licenses/by/4.0/legalcode +Attribution: Diffraction Egocentric Kitchen Capture Sample, dataset revision and source URL. + +Dataset URL: https://huggingface.co/datasets/diffracting/egocentric-kitchen-sample diff --git a/QUALITY.md b/QUALITY.md new file mode 100644 index 0000000000000000000000000000000000000000..828c11039078a107f6fa8fa62e06fddd0f6c8094 --- /dev/null +++ b/QUALITY.md @@ -0,0 +1,29 @@ +# Sample quality and validation + +This release contains three owned kitchen recordings, totaling 167.85 seconds and 10,070 displayed RGB frames at 1920 x 1440. Native depth/confidence images are 256 x 192. All recordings remain in one conservative session group; they are a technical sample, not a train/test benchmark. + +## Sensor integrity + +Every displayed RGB frame has a corresponding source frame ID, depth/confidence pair, camera pose and per-frame intrinsic calibration. Each source also has one discarded pre-roll video packet; its original sensor record is retained with a null RGB index. This explains the difference below. The original clocks, video bytes and sensor payloads are preserved. Camera pose is a device VIO estimate, not independent ground truth. Raw IMU acceleration units remain unverified for the capture app version. + +| Recording | Displayed RGB | Sensor records | Unknown hand label rows | Timestamps with >2 temporal hands | +|---|---:|---:|---:|---:| +| onion-preparation | 4,543 | 4,544 | 69.7% | 49/1136 | +| pepper-slicing | 3,465 | 3,466 | 95.6% | 26/866 | +| pepper-dicing | 2,062 | 2,063 | 95.2% | 0/515 | + +## Optional annotation quality + +The RGB-D capture is the primary data. RTMPose/RTMW hand estimates, OWLv2 object boxes, temporal tracks, depth-lifted wrists and contact estimates are experimental auxiliary channels. Raw detections are capped at two hands after duplicate suppression; temporal gap filling can retain short extra tracks. The counts above expose this behavior. Do not treat track IDs as verified anatomical identity. Conflicting left/right predictions are unknown. + +Sampled visual inspection of three evenly spaced points in every final overlay found useful detections alongside occlusion errors, loose object boxes and ambiguous hand identity. No independent keypoint, contact or tracking accuracy benchmark has been conducted. Per-frame scores are not calibrated error probabilities. Missing 3D hand outputs remain null; palm orientation is frequently unavailable. Annotated overlays are provided under `review/` for inspection and do not alter native training pixels. + +## Validation evidence + +`validation.json` records actual consumer checks: a standalone reader in an isolated environment decoded five positions in every video, including the first and last; it loaded the corresponding depth/confidence/calibration/pose, checked geometry and missing-value semantics, loaded the three video rows with Hugging Face Datasets, and verified packaged SHA-256 hashes. These checks establish packaging integrity, not annotation accuracy or robot transfer. `source_preservation.json` compares released video and sensor payloads with the three approved source archives. + +An automated full-video face scan returned zero face detections for all three recordings. Sampled visual inspection found kitchen work surfaces and the wearer's hands. This is not an independent human privacy audit. The owner authorized these recordings and selected CC BY 4.0. + +## Next evidence to collect with a lab + +A pilot should specify activities, participant/session diversity, device and mount metadata, environment conditions and the acceptance criteria before capture. A small independently labeled subset can quantify hand visibility, keypoint error, object-track stability and action boundaries. A downstream ablation can then test whether native RGB-D and optional annotations improve the lab's target task. These results are not claimed by this sample. diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f45b227a32751a6e459d6313bc674daa4a989365 --- /dev/null +++ b/README.md @@ -0,0 +1,82 @@ +--- +license: cc-by-4.0 +pretty_name: Diffraction Egocentric Kitchen Capture Sample +configs: +- config_name: default + data_files: + - split: sample + path: data/episodes.parquet +language: +- en +tags: +- video +- robotics +- egocentric +- rgbd +- physical-ai +- human-demonstration +- depth-estimation +size_categories: +- n<1K +--- +# Diffraction Egocentric Kitchen Capture Sample + +A small, inspectable sample of human kitchen manipulation captured with Stray Scanner on a LiDAR-equipped iPhone: native RGB, metric depth and confidence, per-frame camera calibration, device odometry, raw device IMU, and explicitly estimated hand/object annotations. + +**Human observation sample.** License: cc-by-4.0. This sample contains 3 recordings totaling 167.85 seconds. It is an observation dataset for evaluating human-video pretraining, spatial perception, action understanding and motion-prediction workflows. It supplies no measured robot commands, force or tactile data, and demonstrates no robot-policy performance gain. + +| Capture | Seconds | Native RGB frames | Instruction | +|---|---:|---:|---| +| onion-preparation | 75.73 | 4,543 | Prepare and peel the onion on the cutting board using hands and a kitchen knife. | +| pepper-slicing | 57.75 | 3,465 | Prepare and slice the bell pepper on the cutting board using a kitchen knife. | +| pepper-dicing | 34.37 | 2,062 | Dice the bell pepper strips on the cutting board using a kitchen knife. | + +![Native RGB, metric depth and confidence](media/sample-overview.jpg) + +## Download and try one episode + +```bash +pip install huggingface_hub +hf download diffracting/egocentric-kitchen-sample --repo-type dataset --local-dir diffraction-sample +cd diffraction-sample +pip install -r requirements.txt +python observation_reader.py . +``` + +The download includes native RGB-D recordings and a portable reader. The Hugging Face dataset viewer uses smaller video previews; use `videos/` for native RGB training pixels. + +```python +from observation_reader import ObservationDataset, camera_points +sample = ObservationDataset('.') +key = next(iter(sample.episodes)) +frame = sample.frame(key, 100) +print(frame['rgb'].shape, frame['depth_m'].shape, frame['K_rgb']) +points = camera_points(frame) +hands = sample.annotations_near(key, 'hand_pose', frame['timestamp_s'], max_age_s=0.05) +``` + +Native videos are under `videos/`; smaller browser previews and episode metadata under `previews/`. Depth/confidence and original sensor CSVs are in `sensors/`. Annotation tables are standalone Parquet. [SCHEMA.md](SCHEMA.md) defines units, frames, clock mapping, confidence and missing-data behavior. `checksums.sha256` covers every packaged artifact. + +## Collection and scope + +The owner confirmed these Stray Scanner recordings are owned and may be used to prepare a training-data sample. This small collection shows closely related kitchen tasks; participant count, device model/app version and independent session identity were not supplied. All recordings belong to a conservative common session group. There is no claimed train/test benchmark or cross-person generalization. + +The pipeline preserves native video bytes and joins camera/depth records by source frame ID, retaining both original clocks. Per-frame intrinsics are used for wrist lifting. Raw and temporally processed keypoints are separate. Instructions were prepared from video inspection; detailed action boundaries, success/failure and ground-truth contact annotations are not provided. + +## Quality and limitations + +Per-episode `quality/` reports expose channel coverage, null counts, provenance and sensor correspondence. These are engineering checks, not labeled accuracy benchmarks. ARKit camera pose is a device VIO estimate. Hand pose, palm orientation, object tracking and contact remain estimates; review their overlays and confidence/missingness before training. The low-resolution depth sensor can miss thin fingers, tool edges and occlusion boundaries. Fast cutting, bimanual occlusion and deformable vegetables are difficult cases. + +Raw IMU acceleration units need capture-version verification; no silent unit conversion is applied. Device IMU is not wrist-motion sensing. See SCHEMA.md. An independent labeled evaluation and robot transfer experiment are future work, not measured results of this sample. + +## Reproducibility and professional capture + +The accompanying processing record identifies the source code and environment used. `QUALITY.md` summarizes observed coverage and limitations; `validation.json` records the portable-reader and file-integrity checks. Run `python validate_release.py .` after installing `datasets` alongside the reader requirements to repeat these checks. This sample is intended to start technical evaluation of task-specific professional capture: agree on target activities, environments, collection protocol, annotation requirements and measurable acceptance criteria before scaling a collection. + +## References + +[Stray Scanner source format](https://docs.strayrobots.io/apps/scanner/format.html), [Hugging Face video datasets](https://huggingface.co/docs/hub/datasets-video). + +## Attribution + +Please attribute **Diffraction, Egocentric Kitchen Capture Sample (2026)** and include the [dataset URL](https://huggingface.co/datasets/diffracting/egocentric-kitchen-sample) and the revision you used. The dataset is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). diff --git a/SCHEMA.md b/SCHEMA.md new file mode 100644 index 0000000000000000000000000000000000000000..46d194accbf0fc6cb52da042e26772d37d6a46e1 --- /dev/null +++ b/SCHEMA.md @@ -0,0 +1,15 @@ +# Observation schema v1.0.0 + +`dataset.json` indexes complete recordings in the `sample` subset. Reader RGB indices are zero-based and refer to displayed video frames. `source_frame_index` identifies the original Stray sensor record and can differ from `rgb_frame_index`: these recordings contain a discarded pre-roll packet. Both mappings are retained. Browser previews are resized review copies. + +- `frame_mapping`: source_frame_index, native video_pts_s, device sensor_timestamp_s, independently zeroed sensor_t_s, and canonical t_s (video PTS minus the first displayed frame PTS), rgb_decodable and rgb_frame_index. Discarded pre-roll records have null RGB indices and may have negative t_s; they remain in the raw sensor tables but are not training RGB samples. Mapping is by explicit source frame ID, not nearest independently zeroed clock. Clock agreement is not an independent physical synchronization measurement. +- `camera_intrinsics`: per-frame fx/fy/cx/cy in native RGB pixels, width/height, calibration_source. Downsample focal/principal-point values by depth/RGB resolution ratio for depth unprojection. +- `arkit_poses`: t_s, tx/ty/tz in metres and quaternion qx/qy/qz/qw. Camera-to-world in ARKit gravity-aligned world, Y up. Device visual-inertial estimates, not motion-capture truth. OpenCV camera axes are x right, y down, z forward; flip y/z before applying ARKit camera-to-world. +- `sensors/*.zip`: original depth PNGs in millimetres and confidence PNGs (0 low, 1 medium, 2 high); CSV sensor payloads preserved byte-for-byte. Reader returns float32 metres and masks confidence <1 and zero depth. Preserve confidence as ordinal levels, not probabilities. +- `device_imu`: raw a_x/a_y/a_z and alpha_x/alpha_y/alpha_z (rad/s per source documentation), device timestamps and mapped video t_s. Acceleration units are native/unverified: published docs say m/s^2 but observed magnitudes suggest g-scale logging. No conversion, gravity removal or device-to-camera rotation is assumed. Out-of-coverage t_s is null with clock_mapping_valid=false. This is a phone sensor, not a wrist sensor. +- `hand_pose_raw` and `hand_pose`: 21 estimated 2D keypoints per hand, normalized x/y, track ID, handedness, scores. z/wx/wy/wz are null for the 2D detector. Temporal outputs carry detected/smoothed/interpolated/extrapolated provenance. Detection scores are not calibrated error probabilities. +- `hand_world_trajectory`: depth-anchored estimated wrist position; optional estimated palm-plane xyzw orientation, orient_valid. Orientation null when unavailable. Metric coordinates do not imply measured anatomical accuracy. The 2D detector and low-resolution depth are error sources. The single-wearer recipe suppresses duplicate candidates, caps raw detections at two hands (temporal gap filling can retain additional short tracks), and marks conflicting model handedness unknown; original candidate selection counts are disclosed in quality metadata. +- `tracks*`, `contact*`: experimental object boxes and hand/object proximity estimates. Cutting deforms objects; instance identity and true physical contact are not ground truth. Contact has no force/tactile supervision. +- `quality/*.json`: completeness, coverage, missingness and processing metadata. No aggregate accuracy score. No robot action, reward or terminal-success field is fabricated. + +Signals retain their native sampling rates. A 60 fps RGB stream does not mean 60 independent hand estimates per second. Use bounded joins (`annotations_near`) and preserve absent values. Never forward-fill across long gaps. diff --git a/annotations/onion-preparation/arkit_poses.parquet b/annotations/onion-preparation/arkit_poses.parquet new file mode 100644 index 0000000000000000000000000000000000000000..24b96cc2df5c0b93c5b9d26eea50d311237c6ece --- /dev/null +++ b/annotations/onion-preparation/arkit_poses.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f87250f64cf7cc2f3b7721be16e6bdca83201013f6f763b4a6a93ddac6ec5018 +size 242601 diff --git a/annotations/onion-preparation/camera_intrinsics.parquet b/annotations/onion-preparation/camera_intrinsics.parquet new file mode 100644 index 0000000000000000000000000000000000000000..ebc3bc82fdc3d39a89fe14455afdec83817c6792 --- /dev/null +++ b/annotations/onion-preparation/camera_intrinsics.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbc507375a40a282655bb866cfbbe519dc6b5d686985e2a0ad02f80932d96e91 +size 87913 diff --git a/annotations/onion-preparation/contact.parquet b/annotations/onion-preparation/contact.parquet new file mode 100644 index 0000000000000000000000000000000000000000..17ebc8f5141f888c17c043c2629a0eb66b6445d3 --- /dev/null +++ b/annotations/onion-preparation/contact.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99203e53d7b1cbb777a2a6c2c1aefe4747b40dc11bd02b8daf3fd84ad50a6a53 +size 55798 diff --git a/annotations/onion-preparation/contact_events.parquet b/annotations/onion-preparation/contact_events.parquet new file mode 100644 index 0000000000000000000000000000000000000000..5bc8b3e93dddf0a8c9839a81715df9f7d030afb9 --- /dev/null +++ b/annotations/onion-preparation/contact_events.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87e3681cc3c28e722d166236038269e22b6a915dc684078e1ff83b81e14687b2 +size 6013 diff --git a/annotations/onion-preparation/device_imu.parquet b/annotations/onion-preparation/device_imu.parquet new file mode 100644 index 0000000000000000000000000000000000000000..6136a80f1555c8d1a74e9fe868664ed60ec167a2 --- /dev/null +++ b/annotations/onion-preparation/device_imu.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78e1716c4e6486bae6a180be70afe12a6a0e0d24afa234d832ca32ddaede46d5 +size 316676 diff --git a/annotations/onion-preparation/frame_mapping.parquet b/annotations/onion-preparation/frame_mapping.parquet new file mode 100644 index 0000000000000000000000000000000000000000..c6492397acb19a2c24bc7796c6b038eb167e0c8f --- /dev/null +++ b/annotations/onion-preparation/frame_mapping.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:769db69a549db519a3cb499bbd5abbf12a0bca881e68ccec50e4d51651ed3cab +size 94851 diff --git a/annotations/onion-preparation/hand_pose.parquet b/annotations/onion-preparation/hand_pose.parquet new file mode 100644 index 0000000000000000000000000000000000000000..7d8ae6d1b64b3ca37d4855f1b0c5eb8b414f1046 --- /dev/null +++ b/annotations/onion-preparation/hand_pose.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecb5b271036cee5fd957922497e5b40a59e20fc66f97283dd6cf2298d8f5f830 +size 1055106 diff --git a/annotations/onion-preparation/hand_pose_raw.parquet b/annotations/onion-preparation/hand_pose_raw.parquet new file mode 100644 index 0000000000000000000000000000000000000000..33e69b5bf2121baf6a34c59cdc90e4cf400697bd --- /dev/null +++ b/annotations/onion-preparation/hand_pose_raw.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:036e8a220f1bf1facdcd40ebe28002958f795b7bf54fc0f995a08bf99fc26dda +size 682283 diff --git a/annotations/onion-preparation/hand_world_trajectory.parquet b/annotations/onion-preparation/hand_world_trajectory.parquet new file mode 100644 index 0000000000000000000000000000000000000000..0c2c5b2e97d442d750cd9d4c07b5b844262ba404 --- /dev/null +++ b/annotations/onion-preparation/hand_world_trajectory.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ec866a09ab090f29f029ff8dae3c90a4e73eeb3fd8b320ef1a5f02b8b3f4665 +size 98589 diff --git a/annotations/onion-preparation/quality.parquet b/annotations/onion-preparation/quality.parquet new file mode 100644 index 0000000000000000000000000000000000000000..9e05985ba438b93ec3b7b39f295c0859a78e6447 --- /dev/null +++ b/annotations/onion-preparation/quality.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55b44176251829972f6fde9ab5c01d15010f8ccc538b778c9132bd6f22e56d07 +size 2497 diff --git a/annotations/onion-preparation/tracks.parquet b/annotations/onion-preparation/tracks.parquet new file mode 100644 index 0000000000000000000000000000000000000000..bf965346b1b9aa39eabc2c1372942310950e9c81 --- /dev/null +++ b/annotations/onion-preparation/tracks.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:964b03a16734fa43fa99c4e09b7c37ffa373d9ddb4733f59991c9a3d008d22ba +size 53132 diff --git a/annotations/onion-preparation/tracks_raw.parquet b/annotations/onion-preparation/tracks_raw.parquet new file mode 100644 index 0000000000000000000000000000000000000000..f008e899948c9b628db55d93e6adf41260df51f2 --- /dev/null +++ b/annotations/onion-preparation/tracks_raw.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e289b8f821e4dc31569fc456cc6aea9b410784a1ff6e47cdc9cefa32f8773df6 +size 31445 diff --git a/annotations/pepper-dicing/arkit_poses.parquet b/annotations/pepper-dicing/arkit_poses.parquet new file mode 100644 index 0000000000000000000000000000000000000000..436dbd1618e5f6e35b9ff3bf13402940121f4bf4 --- /dev/null +++ b/annotations/pepper-dicing/arkit_poses.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9cfa9a6519ba94384cd4bb0fd1bcf8b90db388cde8cdb56c56418e6e1b00370 +size 113172 diff --git a/annotations/pepper-dicing/camera_intrinsics.parquet b/annotations/pepper-dicing/camera_intrinsics.parquet new file mode 100644 index 0000000000000000000000000000000000000000..de04ac5320a8e7dec6d0e30021de806caf48962b --- /dev/null +++ b/annotations/pepper-dicing/camera_intrinsics.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e672156868b3cf3a7869f0a37018360fe213ff2ad14d27273a7d3fac2eed2c3 +size 48278 diff --git a/annotations/pepper-dicing/contact.parquet b/annotations/pepper-dicing/contact.parquet new file mode 100644 index 0000000000000000000000000000000000000000..de4bb40a2993191ad2b4627d166e68f0fc112bcd --- /dev/null +++ b/annotations/pepper-dicing/contact.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4c7f6997c9509223f95159567b52316d24a5171bee03e6e4867200adde5deea +size 30905 diff --git a/annotations/pepper-dicing/contact_events.parquet b/annotations/pepper-dicing/contact_events.parquet new file mode 100644 index 0000000000000000000000000000000000000000..5f5f19b230ff63366c7bc861d58ae3f8e1a6eacd --- /dev/null +++ b/annotations/pepper-dicing/contact_events.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05f36ba0a04941573eed0e67d0217c12f6e1a755e7c1d8f4862985a46b9576a4 +size 5177 diff --git a/annotations/pepper-dicing/device_imu.parquet b/annotations/pepper-dicing/device_imu.parquet new file mode 100644 index 0000000000000000000000000000000000000000..2698d727e70d63eb836ba151650b1df0f2ef7ecf --- /dev/null +++ b/annotations/pepper-dicing/device_imu.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7379566c8ce17c59e72109e57fe4c786a4d6a4557f1613b16f5026eb540538e5 +size 145155 diff --git a/annotations/pepper-dicing/frame_mapping.parquet b/annotations/pepper-dicing/frame_mapping.parquet new file mode 100644 index 0000000000000000000000000000000000000000..72a89f257e05a92e14d67490c755b41c358d6be4 --- /dev/null +++ b/annotations/pepper-dicing/frame_mapping.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5791bd68a3bd93ff83720cf48cf4d3e20d19830c2f8dcac25d397ffc8ceb4ac8 +size 44371 diff --git a/annotations/pepper-dicing/hand_pose.parquet b/annotations/pepper-dicing/hand_pose.parquet new file mode 100644 index 0000000000000000000000000000000000000000..356cac36ee6349583bdf610a515e28f436c84639 --- /dev/null +++ b/annotations/pepper-dicing/hand_pose.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3706ecb644961b1a7f8603dc03539266078282505f1acb0b9270b17120ccfdff +size 464051 diff --git a/annotations/pepper-dicing/hand_pose_raw.parquet b/annotations/pepper-dicing/hand_pose_raw.parquet new file mode 100644 index 0000000000000000000000000000000000000000..568a9a21425de5090ce43871c354f962c73d9461 --- /dev/null +++ b/annotations/pepper-dicing/hand_pose_raw.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:449be4ef4613817dc415768734bd345d62da49a44febcd646e61c7b566900079 +size 304439 diff --git a/annotations/pepper-dicing/hand_world_trajectory.parquet b/annotations/pepper-dicing/hand_world_trajectory.parquet new file mode 100644 index 0000000000000000000000000000000000000000..d9a4178f5e4ac160e8fd8adab49a3ee0c1cad574 --- /dev/null +++ b/annotations/pepper-dicing/hand_world_trajectory.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c15fa2ea991449f20e167ef928db953556fe4d8138d0ea422da6c0f2df5f9858 +size 42773 diff --git a/annotations/pepper-dicing/quality.parquet b/annotations/pepper-dicing/quality.parquet new file mode 100644 index 0000000000000000000000000000000000000000..729c63724d6e87e2ce3228fd612255fa713d2229 --- /dev/null +++ b/annotations/pepper-dicing/quality.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bab954c9e617c3c0f227bb5c767c701234b4b3e72bc0b4e102088497c78ab9f +size 1750 diff --git a/annotations/pepper-dicing/tracks.parquet b/annotations/pepper-dicing/tracks.parquet new file mode 100644 index 0000000000000000000000000000000000000000..3b5ba4d661b321b82ba2c5b02e8b006c33a2d8d4 --- /dev/null +++ b/annotations/pepper-dicing/tracks.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b18f242e41e00a368119d56fbd746ad99dc2bc6de03954666baddc8aaba83a7 +size 25486 diff --git a/annotations/pepper-dicing/tracks_raw.parquet b/annotations/pepper-dicing/tracks_raw.parquet new file mode 100644 index 0000000000000000000000000000000000000000..fe50fae3490551ec259a01a6844f1568decd4a11 --- /dev/null +++ b/annotations/pepper-dicing/tracks_raw.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9a4e3f4c88837a6d1e28d3bc689c4823eb94556d79354c5a4e89549f3b12069 +size 15936 diff --git a/annotations/pepper-slicing/arkit_poses.parquet b/annotations/pepper-slicing/arkit_poses.parquet new file mode 100644 index 0000000000000000000000000000000000000000..2de68f4c4cf87b03336f9a8998b79016d522e144 --- /dev/null +++ b/annotations/pepper-slicing/arkit_poses.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9cfda82ca4875e92c190a56e6ec4903568914ae8b9f556b660bd55a45588967 +size 187998 diff --git a/annotations/pepper-slicing/camera_intrinsics.parquet b/annotations/pepper-slicing/camera_intrinsics.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b6ac3ac4d8a01acec60007dea831dba4c565af7c --- /dev/null +++ b/annotations/pepper-slicing/camera_intrinsics.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8891a8e13390b49455eaac3a6d0b051aca37690ac4b69be2f6f1d61513c6d627 +size 71048 diff --git a/annotations/pepper-slicing/contact.parquet b/annotations/pepper-slicing/contact.parquet new file mode 100644 index 0000000000000000000000000000000000000000..166fa81456df8d724baefeeebb9c09a99de30f7d --- /dev/null +++ b/annotations/pepper-slicing/contact.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8feadeeef6993735ce6ab1bcf4c41d0a395bc0d461ef6d8b2d0acea1bd274730 +size 43849 diff --git a/annotations/pepper-slicing/contact_events.parquet b/annotations/pepper-slicing/contact_events.parquet new file mode 100644 index 0000000000000000000000000000000000000000..73d87c626495d7ae1c9a3d4fcfd0c284964e7d33 --- /dev/null +++ b/annotations/pepper-slicing/contact_events.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56a322addcc9bced3eb2691e1a30aaf4df3dc673196370a60eac6a11f891a919 +size 5985 diff --git a/annotations/pepper-slicing/device_imu.parquet b/annotations/pepper-slicing/device_imu.parquet new file mode 100644 index 0000000000000000000000000000000000000000..cc979063d07c67830ce31a12d459b25541fed4b6 --- /dev/null +++ b/annotations/pepper-slicing/device_imu.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:831b63695c5f0e23d6670bd32a3b1f0308a8823b222ccf8af244147cb07422ea +size 242688 diff --git a/annotations/pepper-slicing/frame_mapping.parquet b/annotations/pepper-slicing/frame_mapping.parquet new file mode 100644 index 0000000000000000000000000000000000000000..637b495536b6ac33a109facff42b7c8818f5840e --- /dev/null +++ b/annotations/pepper-slicing/frame_mapping.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4aa93f1f76a07ed2f082358f5f109e364d483620ff6173906d42715f68cd923a +size 73079 diff --git a/annotations/pepper-slicing/hand_pose.parquet b/annotations/pepper-slicing/hand_pose.parquet new file mode 100644 index 0000000000000000000000000000000000000000..1fa628a0d8e4e1d38662648af967ede4ad24d830 --- /dev/null +++ b/annotations/pepper-slicing/hand_pose.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5e2eb84b1526c2072e873369dbf510c3329500a8c28764b19dedca38df9a119 +size 816535 diff --git a/annotations/pepper-slicing/hand_pose_raw.parquet b/annotations/pepper-slicing/hand_pose_raw.parquet new file mode 100644 index 0000000000000000000000000000000000000000..4a0167f807bceded531e3e6be32d781f27d35890 --- /dev/null +++ b/annotations/pepper-slicing/hand_pose_raw.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8a59ba9662de33f55f7545e45cfc8ce90b755d30bd99da15beb757b8d67d2b4 +size 548113 diff --git a/annotations/pepper-slicing/hand_world_trajectory.parquet b/annotations/pepper-slicing/hand_world_trajectory.parquet new file mode 100644 index 0000000000000000000000000000000000000000..540ad9a433804178afd8456f17cd67253fb45e84 --- /dev/null +++ b/annotations/pepper-slicing/hand_world_trajectory.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e374630e2eba6fa16819a441ff4a5f8832f1cfb0a059216ce90bcffb64351415 +size 70266 diff --git a/annotations/pepper-slicing/quality.parquet b/annotations/pepper-slicing/quality.parquet new file mode 100644 index 0000000000000000000000000000000000000000..644dac94c00a27fb8d345d720a0a2cdc49e31368 --- /dev/null +++ b/annotations/pepper-slicing/quality.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e511784770d9db114f6575b6dc900af1ff2bcd19f70ed4cb6b07b775fca5ebab +size 2201 diff --git a/annotations/pepper-slicing/tracks.parquet b/annotations/pepper-slicing/tracks.parquet new file mode 100644 index 0000000000000000000000000000000000000000..3a4faffc897d15d2dc02270fae8c872da29c0f2d --- /dev/null +++ b/annotations/pepper-slicing/tracks.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e8b9833e67315f243e279bae346558e229dfddd6cc7e7e3882e54946434c50f +size 38818 diff --git a/annotations/pepper-slicing/tracks_raw.parquet b/annotations/pepper-slicing/tracks_raw.parquet new file mode 100644 index 0000000000000000000000000000000000000000..e7e31c3c4e388acc81efde721d7602363aff3122 --- /dev/null +++ b/annotations/pepper-slicing/tracks_raw.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf1980e5456c0158a741dc6c7df4246c67a9c87e00e86564144bc9d38ca8593f +size 22865 diff --git a/checksums.sha256 b/checksums.sha256 new file mode 100644 index 0000000000000000000000000000000000000000..522d24bb776ad595fe611d2676d6af8e9c1b5b0b --- /dev/null +++ b/checksums.sha256 @@ -0,0 +1,68 @@ +f87250f64cf7cc2f3b7721be16e6bdca83201013f6f763b4a6a93ddac6ec5018 annotations/onion-preparation/arkit_poses.parquet +cbc507375a40a282655bb866cfbbe519dc6b5d686985e2a0ad02f80932d96e91 annotations/onion-preparation/camera_intrinsics.parquet +99203e53d7b1cbb777a2a6c2c1aefe4747b40dc11bd02b8daf3fd84ad50a6a53 annotations/onion-preparation/contact.parquet +87e3681cc3c28e722d166236038269e22b6a915dc684078e1ff83b81e14687b2 annotations/onion-preparation/contact_events.parquet +78e1716c4e6486bae6a180be70afe12a6a0e0d24afa234d832ca32ddaede46d5 annotations/onion-preparation/device_imu.parquet +769db69a549db519a3cb499bbd5abbf12a0bca881e68ccec50e4d51651ed3cab annotations/onion-preparation/frame_mapping.parquet +ecb5b271036cee5fd957922497e5b40a59e20fc66f97283dd6cf2298d8f5f830 annotations/onion-preparation/hand_pose.parquet +036e8a220f1bf1facdcd40ebe28002958f795b7bf54fc0f995a08bf99fc26dda annotations/onion-preparation/hand_pose_raw.parquet +1ec866a09ab090f29f029ff8dae3c90a4e73eeb3fd8b320ef1a5f02b8b3f4665 annotations/onion-preparation/hand_world_trajectory.parquet +55b44176251829972f6fde9ab5c01d15010f8ccc538b778c9132bd6f22e56d07 annotations/onion-preparation/quality.parquet +964b03a16734fa43fa99c4e09b7c37ffa373d9ddb4733f59991c9a3d008d22ba annotations/onion-preparation/tracks.parquet +e289b8f821e4dc31569fc456cc6aea9b410784a1ff6e47cdc9cefa32f8773df6 annotations/onion-preparation/tracks_raw.parquet +b9cfa9a6519ba94384cd4bb0fd1bcf8b90db388cde8cdb56c56418e6e1b00370 annotations/pepper-dicing/arkit_poses.parquet +7e672156868b3cf3a7869f0a37018360fe213ff2ad14d27273a7d3fac2eed2c3 annotations/pepper-dicing/camera_intrinsics.parquet +d4c7f6997c9509223f95159567b52316d24a5171bee03e6e4867200adde5deea annotations/pepper-dicing/contact.parquet +05f36ba0a04941573eed0e67d0217c12f6e1a755e7c1d8f4862985a46b9576a4 annotations/pepper-dicing/contact_events.parquet +7379566c8ce17c59e72109e57fe4c786a4d6a4557f1613b16f5026eb540538e5 annotations/pepper-dicing/device_imu.parquet +5791bd68a3bd93ff83720cf48cf4d3e20d19830c2f8dcac25d397ffc8ceb4ac8 annotations/pepper-dicing/frame_mapping.parquet +3706ecb644961b1a7f8603dc03539266078282505f1acb0b9270b17120ccfdff annotations/pepper-dicing/hand_pose.parquet +449be4ef4613817dc415768734bd345d62da49a44febcd646e61c7b566900079 annotations/pepper-dicing/hand_pose_raw.parquet +c15fa2ea991449f20e167ef928db953556fe4d8138d0ea422da6c0f2df5f9858 annotations/pepper-dicing/hand_world_trajectory.parquet +9bab954c9e617c3c0f227bb5c767c701234b4b3e72bc0b4e102088497c78ab9f annotations/pepper-dicing/quality.parquet +9b18f242e41e00a368119d56fbd746ad99dc2bc6de03954666baddc8aaba83a7 annotations/pepper-dicing/tracks.parquet +e9a4e3f4c88837a6d1e28d3bc689c4823eb94556d79354c5a4e89549f3b12069 annotations/pepper-dicing/tracks_raw.parquet +b9cfda82ca4875e92c190a56e6ec4903568914ae8b9f556b660bd55a45588967 annotations/pepper-slicing/arkit_poses.parquet +8891a8e13390b49455eaac3a6d0b051aca37690ac4b69be2f6f1d61513c6d627 annotations/pepper-slicing/camera_intrinsics.parquet +8feadeeef6993735ce6ab1bcf4c41d0a395bc0d461ef6d8b2d0acea1bd274730 annotations/pepper-slicing/contact.parquet +56a322addcc9bced3eb2691e1a30aaf4df3dc673196370a60eac6a11f891a919 annotations/pepper-slicing/contact_events.parquet +831b63695c5f0e23d6670bd32a3b1f0308a8823b222ccf8af244147cb07422ea annotations/pepper-slicing/device_imu.parquet +4aa93f1f76a07ed2f082358f5f109e364d483620ff6173906d42715f68cd923a annotations/pepper-slicing/frame_mapping.parquet +d5e2eb84b1526c2072e873369dbf510c3329500a8c28764b19dedca38df9a119 annotations/pepper-slicing/hand_pose.parquet +b8a59ba9662de33f55f7545e45cfc8ce90b755d30bd99da15beb757b8d67d2b4 annotations/pepper-slicing/hand_pose_raw.parquet +e374630e2eba6fa16819a441ff4a5f8832f1cfb0a059216ce90bcffb64351415 annotations/pepper-slicing/hand_world_trajectory.parquet +e511784770d9db114f6575b6dc900af1ff2bcd19f70ed4cb6b07b775fca5ebab annotations/pepper-slicing/quality.parquet +5e8b9833e67315f243e279bae346558e229dfddd6cc7e7e3882e54946434c50f annotations/pepper-slicing/tracks.parquet +cf1980e5456c0158a741dc6c7df4246c67a9c87e00e86564144bc9d38ca8593f annotations/pepper-slicing/tracks_raw.parquet +8cd1120d8395e43bd67a9bff6d570ef10323260f2e88f0e1641db67c8b9da99a data/episodes.parquet +eb673f030ae68ea2d4385e03f7db8b206e81028f24286da2a605a8e4d5c82fbe dataset.json +d2792efd3746fe2646e0a1813567e86fdcf4f28d85e60d6eed56d6f74bdb97ab episodes/onion-preparation.json +9d37b0a49a4f17841454ccc3419e3af1528e0ea10d5676837b4d90a75f0a0aad episodes/pepper-dicing.json +e4b1612b961a2ae031abb2fb315a2aba1bc3194c8c809e77560ac3e1e8e6d597 episodes/pepper-slicing.json +d23d8443b516f623d4d726acd01b2b6a0f980d1892955322630ee8a9d6a2e836 LICENSE +28573b0781f45e2ddb8ec9993fcc3bce127c57986c346dbb38723c034eeaf303 media/sample-overview.jpg +a3cd51e1920831acde188b61081071e46fbebb3a68e07f6dfc094342188ea2f0 observation_reader.py +a0a297083c733f3f7593475890e7e78c00c2a819c22484351a8305f5ef0bbd14 previews/metadata.jsonl +37179bfaad964492247c48ef1418bdee941a62621d84796e4ca23144e5d195b2 previews/onion-preparation.mp4 +73bbb6078f833b536f93af57f2c2f825d43f73754a2ac950dde928b2bb6a5799 previews/pepper-dicing.mp4 +26abb7272170dc4c390882dc7330040bef0326f955690aaeabcdcb82cbf38c60 previews/pepper-slicing.mp4 +59dbee03309cfeda9f347f1a360e417b23ccb59870333eba787058d6f4ed6849 processing_record.json +a348071bab435eb8be042ac9c7dcabc64fc1b215d7113c7d58dd91e85a3c4fd8 quality/onion-preparation.json +a7b0c1c53883a774aeebb7422822d627c3bad25e05dca7cc7deee6269d61f5d9 quality/pepper-dicing.json +4b4edd0120bcf67ff41dab1818d2902a1d2c6399872d7d149fa1936b3d726922 quality/pepper-slicing.json +78ccb58981f0db46f83a0dfdc318883c75bc8938ca9be800aedce493504f2eb8 QUALITY.md +2722f3f92272d5986dd0e7fe12483d0acf3ac5be3c6603defcb3d3e43d2ffd33 README.md +4c2c8605ecfe1c00fc08c4bd686aef27d8bfd5ea790c1b216640c8a9e90db007 requirements.txt +9ee9d3c75da721a39c65cefe2004231564bc9298c6a26b8dae623fdc8108e262 review/onion-preparation-overlay.mp4 +aad594507f78e2667c9092bc756a1ab4fba4fe949f5bca8eceb52e93695d14bb review/pepper-dicing-overlay.mp4 +caf98485a6e87585fe9cdfbcfd8ec2505d2cf0c25903be492df6c2a9c9024a90 review/pepper-slicing-overlay.mp4 +535b53ca25abd3ea720ae80e7a3f92d476b17499161777a7560a7e84d5247234 SCHEMA.md +f3257b74551aed7ed90adffc7d2462a11234b984ad9d2b393c241420cb0520ca sensors/onion-preparation.zip +477b42ac2c8044dc3ecec64a9f86429cc379f3e6ab7ba1a0c7ad24f48db45fa5 sensors/pepper-dicing.zip +a6ad8727007b28c635c0626b0e250c34981e46ac681d2009b143ed5117b139bc sensors/pepper-slicing.zip +cc043779f7c28a786241a49ae79320384357a943629e721b34ba6e3a7e54bec3 source_preservation.json +88a359a60c521ed841b89d99d807717527c0aa074c61f64e3e65ba85dd6e27a4 validate_release.py +a2b23efc64a1b0320a3ed14bc10604c1b7ba09e5b7763ccf188ad260190e7555 validation.json +7279f0d51cfc9ea5d01088aaa45a1777036da8300f0316462befad9a25bdbcab videos/onion-preparation.mp4 +e164e7b06fa2f73e41f87eba48f59ef9b808a9b99516a9a02e6cda3afcf7558b videos/pepper-dicing.mp4 +8a7efeadc9a2bd2cdac97c7f55df35ef6cb144b64c98d707251f5caae168f1da videos/pepper-slicing.mp4 diff --git a/data/episodes.parquet b/data/episodes.parquet new file mode 100644 index 0000000000000000000000000000000000000000..99dcbca360d56f5bde68099fd8ca09f33b332baf --- /dev/null +++ b/data/episodes.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cd1120d8395e43bd67a9bff6d570ef10323260f2e88f0e1641db67c8b9da99a +size 54925242 diff --git a/dataset.json b/dataset.json new file mode 100644 index 0000000000000000000000000000000000000000..ad591b1461a8fddd8133342493730df34c564c2c --- /dev/null +++ b/dataset.json @@ -0,0 +1,109 @@ +{ + "schema_version": "1.0.0", + "name": "diffraction-egocentric-kitchen-sample", + "type": "human_egocentric_observation", + "release_status": "public_evaluation_sample", + "license": "cc-by-4.0", + "min_depth_confidence": 1, + "coordinate_frame": "ARKit camera-to-world, metres, xyzw quaternion; OpenCV unprojection requires diag(1,-1,-1) camera-axis conversion", + "pose_source": "device_vio_estimate", + "robot_actions": "absent", + "episodes": [ + { + "capture_id": "onion-preparation", + "instruction": "Prepare and peel the onion on the cutting board using hands and a kitchen knife.", + "split": "sample", + "session_group": "kitchen_capture_group_unverified", + "video": "videos/onion-preparation.mp4", + "preview": "previews/onion-preparation.mp4", + "sensors": "sensors/onion-preparation.zip", + "signals": { + "quality": "annotations/onion-preparation/quality.parquet", + "tracks_raw": "annotations/onion-preparation/tracks_raw.parquet", + "tracks": "annotations/onion-preparation/tracks.parquet", + "arkit_poses": "annotations/onion-preparation/arkit_poses.parquet", + "frame_mapping": "annotations/onion-preparation/frame_mapping.parquet", + "camera_intrinsics": "annotations/onion-preparation/camera_intrinsics.parquet", + "device_imu": "annotations/onion-preparation/device_imu.parquet", + "hand_pose_raw": "annotations/onion-preparation/hand_pose_raw.parquet", + "hand_pose": "annotations/onion-preparation/hand_pose.parquet", + "hand_world_trajectory": "annotations/onion-preparation/hand_world_trajectory.parquet", + "contact": "annotations/onion-preparation/contact.parquet", + "contact_events": "annotations/onion-preparation/contact_events.parquet" + }, + "frame_count": 4543, + "duration_s": 75.733333, + "width": 1920, + "height": 1440, + "nominal_fps": 59.9868, + "source_archive_sha256": "4a25f7c7080ee803ce6e9d4837ae2de68df296b37f60e37b43dce02ce04d87a4", + "video_sha256": "7279f0d51cfc9ea5d01088aaa45a1777036da8300f0316462befad9a25bdbcab", + "sensor_archive_sha256": "f3257b74551aed7ed90adffc7d2462a11234b984ad9d2b393c241420cb0520ca" + }, + { + "capture_id": "pepper-slicing", + "instruction": "Prepare and slice the bell pepper on the cutting board using a kitchen knife.", + "split": "sample", + "session_group": "kitchen_capture_group_unverified", + "video": "videos/pepper-slicing.mp4", + "preview": "previews/pepper-slicing.mp4", + "sensors": "sensors/pepper-slicing.zip", + "signals": { + "quality": "annotations/pepper-slicing/quality.parquet", + "tracks_raw": "annotations/pepper-slicing/tracks_raw.parquet", + "tracks": "annotations/pepper-slicing/tracks.parquet", + "arkit_poses": "annotations/pepper-slicing/arkit_poses.parquet", + "frame_mapping": "annotations/pepper-slicing/frame_mapping.parquet", + "camera_intrinsics": "annotations/pepper-slicing/camera_intrinsics.parquet", + "device_imu": "annotations/pepper-slicing/device_imu.parquet", + "hand_pose_raw": "annotations/pepper-slicing/hand_pose_raw.parquet", + "hand_pose": "annotations/pepper-slicing/hand_pose.parquet", + "hand_world_trajectory": "annotations/pepper-slicing/hand_world_trajectory.parquet", + "contact": "annotations/pepper-slicing/contact.parquet", + "contact_events": "annotations/pepper-slicing/contact_events.parquet" + }, + "frame_count": 3465, + "duration_s": 57.75, + "width": 1920, + "height": 1440, + "nominal_fps": 60.0, + "source_archive_sha256": "166703cbbc48dea22dbde6b7ef461c51199f244bb5d86a60fce1449066d062b4", + "video_sha256": "8a7efeadc9a2bd2cdac97c7f55df35ef6cb144b64c98d707251f5caae168f1da", + "sensor_archive_sha256": "a6ad8727007b28c635c0626b0e250c34981e46ac681d2009b143ed5117b139bc" + }, + { + "capture_id": "pepper-dicing", + "instruction": "Dice the bell pepper strips on the cutting board using a kitchen knife.", + "split": "sample", + "session_group": "kitchen_capture_group_unverified", + "video": "videos/pepper-dicing.mp4", + "preview": "previews/pepper-dicing.mp4", + "sensors": "sensors/pepper-dicing.zip", + "signals": { + "quality": "annotations/pepper-dicing/quality.parquet", + "tracks_raw": "annotations/pepper-dicing/tracks_raw.parquet", + "tracks": "annotations/pepper-dicing/tracks.parquet", + "arkit_poses": "annotations/pepper-dicing/arkit_poses.parquet", + "frame_mapping": "annotations/pepper-dicing/frame_mapping.parquet", + "camera_intrinsics": "annotations/pepper-dicing/camera_intrinsics.parquet", + "device_imu": "annotations/pepper-dicing/device_imu.parquet", + "hand_pose_raw": "annotations/pepper-dicing/hand_pose_raw.parquet", + "hand_pose": "annotations/pepper-dicing/hand_pose.parquet", + "hand_world_trajectory": "annotations/pepper-dicing/hand_world_trajectory.parquet", + "contact": "annotations/pepper-dicing/contact.parquet", + "contact_events": "annotations/pepper-dicing/contact_events.parquet" + }, + "frame_count": 2062, + "duration_s": 34.366667, + "width": 1920, + "height": 1440, + "nominal_fps": 60.0, + "source_archive_sha256": "fa7c7f295d02aab54901688f44d666283ba43f35a97a2b03c3ea7fe2351ce49b", + "video_sha256": "e164e7b06fa2f73e41f87eba48f59ef9b808a9b99516a9a02e6cda3afcf7558b", + "sensor_archive_sha256": "477b42ac2c8044dc3ecec64a9f86429cc379f3e6ab7ba1a0c7ad24f48db45fa5" + } + ], + "overview": "media/sample-overview.jpg", + "validation_report": "validation.json", + "huggingface_repo_id": "diffracting/egocentric-kitchen-sample" +} \ No newline at end of file diff --git a/episodes/onion-preparation.json b/episodes/onion-preparation.json new file mode 100644 index 0000000000000000000000000000000000000000..d71ef84098cf392dab8907ce928f5b8c5d03cf1d --- /dev/null +++ b/episodes/onion-preparation.json @@ -0,0 +1,24 @@ +{ + "schema_version": "1.0.0", + "capture_id": "onion-preparation", + "asset_id": "4a25f7c7080ee803", + "embodiment": "human_egocentric", + "dataset_type": "observational_demonstration", + "instruction": "Prepare and peel the onion on the cutting board using hands and a kitchen knife.", + "instruction_source": "assistant_video_inspection", + "session_group": "kitchen_capture_group_unverified", + "split": "sample", + "robot_actions": "absent", + "robot_state": "absent", + "annotation_accuracy": "not_independently_evaluated", + "privacy_review": "automated_full_video_face_scan; sampled_visual_inspection; no_human_attestation", + "annotation_review": "assistant_sampled_visual_review; independent_accuracy_not_measured", + "rights": { + "status": "owner_attested", + "training_use": true, + "public_sample_preparation": true, + "evidence": "Owner stated: the Stray Scanner recordings are owned and may be used for this training-data sample. The clay clip is not owned and is excluded. This is an owner attestation, not an independently verified signed legal release." + }, + "pose_sample_fps": 15.0, + "license": "cc-by-4.0" +} \ No newline at end of file diff --git a/episodes/pepper-dicing.json b/episodes/pepper-dicing.json new file mode 100644 index 0000000000000000000000000000000000000000..7e2108c59f30f0df7d68236ed457cba6e18fac34 --- /dev/null +++ b/episodes/pepper-dicing.json @@ -0,0 +1,24 @@ +{ + "schema_version": "1.0.0", + "capture_id": "pepper-dicing", + "asset_id": "fa7c7f295d02aab5", + "embodiment": "human_egocentric", + "dataset_type": "observational_demonstration", + "instruction": "Dice the bell pepper strips on the cutting board using a kitchen knife.", + "instruction_source": "assistant_video_inspection", + "session_group": "kitchen_capture_group_unverified", + "split": "sample", + "robot_actions": "absent", + "robot_state": "absent", + "annotation_accuracy": "not_independently_evaluated", + "privacy_review": "automated_full_video_face_scan; sampled_visual_inspection; no_human_attestation", + "annotation_review": "assistant_sampled_visual_review; independent_accuracy_not_measured", + "rights": { + "status": "owner_attested", + "training_use": true, + "public_sample_preparation": true, + "evidence": "Owner confirmed on 2026-09-08 that these Stray Scanner clips are owned and may be used; clay is excluded." + }, + "pose_sample_fps": 15.0, + "license": "cc-by-4.0" +} \ No newline at end of file diff --git a/episodes/pepper-slicing.json b/episodes/pepper-slicing.json new file mode 100644 index 0000000000000000000000000000000000000000..6008a45ed530967c485697a222bc4fb636c004c7 --- /dev/null +++ b/episodes/pepper-slicing.json @@ -0,0 +1,24 @@ +{ + "schema_version": "1.0.0", + "capture_id": "pepper-slicing", + "asset_id": "166703cbbc48dea2", + "embodiment": "human_egocentric", + "dataset_type": "observational_demonstration", + "instruction": "Prepare and slice the bell pepper on the cutting board using a kitchen knife.", + "instruction_source": "assistant_video_inspection", + "session_group": "kitchen_capture_group_unverified", + "split": "sample", + "robot_actions": "absent", + "robot_state": "absent", + "annotation_accuracy": "not_independently_evaluated", + "privacy_review": "automated_full_video_face_scan; sampled_visual_inspection; no_human_attestation", + "annotation_review": "assistant_sampled_visual_review; independent_accuracy_not_measured", + "rights": { + "status": "owner_attested", + "training_use": true, + "public_sample_preparation": true, + "evidence": "Owner stated: the Stray Scanner recordings are owned and may be used for this training-data sample. The clay clip is not owned and is excluded. This is an owner attestation, not an independently verified signed legal release." + }, + "pose_sample_fps": 15.0, + "license": "cc-by-4.0" +} \ No newline at end of file diff --git a/media/sample-overview.jpg b/media/sample-overview.jpg new file mode 100644 index 0000000000000000000000000000000000000000..70bef5577c934598b87c774b6954566d9bbf77b8 --- /dev/null +++ b/media/sample-overview.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28573b0781f45e2ddb8ec9993fcc3bce127c57986c346dbb38723c034eeaf303 +size 215481 diff --git a/observation_reader.py b/observation_reader.py new file mode 100644 index 0000000000000000000000000000000000000000..31b3d32d5f8a6c10c85715753d9a900257b44ec8 --- /dev/null +++ b/observation_reader.py @@ -0,0 +1,88 @@ +"""Standalone reader for Diffraction human egocentric RGB-D samples. + +Dependencies: numpy, polars, opencv-python. No pipeline or robot software needed. +""" +from __future__ import annotations +import json +import zipfile +from pathlib import Path +import cv2 +import numpy as np +import polars as pl + + +class ObservationDataset: + def __init__(self, root): + self.root = Path(root) + self.info = json.loads((self.root / "dataset.json").read_text(encoding="utf-8")) + self.episodes = {e["capture_id"]: e for e in self.info["episodes"]} + + def table(self, capture_id, name): + e = self.episodes[capture_id] + return pl.read_parquet(self.root / e["signals"][name]) + + def frame(self, capture_id, frame_index): + """Return aligned native RGB, metric depth, confidence, K and camera pose. + + ARKit pose is device VIO; no ground-truth or robot-action claim is implied. + Depth zero is invalid. Confidence filtering is explicit and reproducible. + """ + e = self.episodes[capture_id] + if not isinstance(frame_index, int) or not 0 <= frame_index < e["frame_count"]: + raise IndexError(frame_index) + mapping = self.table(capture_id, "frame_mapping").filter(pl.col("rgb_frame_index") == frame_index).row(0, named=True) + source_frame_index = mapping["source_frame_index"] + intr = self.table(capture_id, "camera_intrinsics").filter(pl.col("source_frame_index") == source_frame_index).row(0, named=True) + pose = self.table(capture_id, "arkit_poses").filter(pl.col("t_s") == mapping["t_s"]).row(0, named=True) + cap = cv2.VideoCapture(str(self.root / e["video"])) + try: + cap.set(cv2.CAP_PROP_POS_FRAMES, frame_index) + ok, bgr = cap.read() + finally: + cap.release() + if not ok: raise RuntimeError(f"RGB decode failed at frame {frame_index}") + stem = f"{source_frame_index:06d}.png" + with zipfile.ZipFile(self.root / e["sensors"]) as z: + depth_raw = cv2.imdecode(np.frombuffer(z.read("depth/" + stem), np.uint8), cv2.IMREAD_UNCHANGED) + conf = cv2.imdecode(np.frombuffer(z.read("confidence/" + stem), np.uint8), cv2.IMREAD_UNCHANGED) + if depth_raw is None or conf is None or depth_raw.shape != conf.shape: + raise ValueError("Invalid depth/confidence pair") + depth = depth_raw.astype(np.float32) / 1000. + valid = (depth > 0) & (conf >= self.info["min_depth_confidence"]) + depth[~valid] = 0 + K = np.array([[intr["fx"], 0, intr["cx"]], [0, intr["fy"], intr["cy"]], [0, 0, 1]], np.float64) + return {"rgb": cv2.cvtColor(bgr, cv2.COLOR_BGR2RGB), "depth_m": depth, + "depth_valid": valid, "confidence": conf, "K_rgb": K, + "camera_pose_xyzw": np.array([pose[k] for k in ("tx", "ty", "tz", "qx", "qy", "qz", "qw")]), + "timestamp_s": mapping["t_s"], "sensor_timestamp_s": mapping["sensor_timestamp_s"], + "instruction": e["instruction"], "source_frame_index": source_frame_index, "rgb_frame_index": frame_index} + + def annotations_near(self, capture_id, channel, timestamp_s, max_age_s=0.05): + """Sparse annotations stay absent beyond the caller's explicit age gate.""" + df = self.table(capture_id, channel) + if df.is_empty(): return df + distance = (pl.col("t_s") - timestamp_s).abs() + nearby = df.filter(distance <= max_age_s) + if nearby.is_empty(): return nearby + nearest = nearby.select((pl.col("t_s") - timestamp_s).abs().arg_min()).item() + return nearby.filter(pl.col("t_s") == nearby["t_s"][nearest]) + + +def camera_points(frame): + """Valid depth pixels backprojected in OpenCV camera axes (+x right,+y down,+z forward).""" + depth, K = frame["depth_m"], frame["K_rgb"].copy() + dh, dw = depth.shape; rh, rw = frame["rgb"].shape[:2] + K[0, :] *= dw / rw; K[1, :] *= dh / rh + yy, xx = np.indices(depth.shape) + xyz = np.stack([(xx-K[0, 2])*depth/K[0, 0], (yy-K[1, 2])*depth/K[1, 1], depth], -1) + return xyz[frame["depth_valid"]] + + +if __name__ == "__main__": + import argparse + p = argparse.ArgumentParser(); p.add_argument("root", type=Path) + args = p.parse_args(); ds = ObservationDataset(args.root) + for key, episode in ds.episodes.items(): + frame = ds.frame(key, episode["frame_count"] // 2) + points = camera_points(frame) + print(key, frame["rgb"].shape, frame["depth_m"].shape, len(points), "valid camera points") diff --git a/previews/metadata.jsonl b/previews/metadata.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..9556a921319e658f0fc2beff1bb2b1e845241ae1 --- /dev/null +++ b/previews/metadata.jsonl @@ -0,0 +1,3 @@ +{"file_name": "onion-preparation.mp4", "capture_id": "onion-preparation", "text": "Prepare and peel the onion on the cutting board using hands and a kitchen knife.", "duration_s": 75.733333, "native_rgb_frames": 4543, "split": "sample"} +{"file_name": "pepper-slicing.mp4", "capture_id": "pepper-slicing", "text": "Prepare and slice the bell pepper on the cutting board using a kitchen knife.", "duration_s": 57.75, "native_rgb_frames": 3465, "split": "sample"} +{"file_name": "pepper-dicing.mp4", "capture_id": "pepper-dicing", "text": "Dice the bell pepper strips on the cutting board using a kitchen knife.", "duration_s": 34.366667, "native_rgb_frames": 2062, "split": "sample"} diff --git a/previews/onion-preparation.mp4 b/previews/onion-preparation.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..cc9e5e404389538d970de1e8892f04eddf58d301 --- /dev/null +++ b/previews/onion-preparation.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37179bfaad964492247c48ef1418bdee941a62621d84796e4ca23144e5d195b2 +size 22188062 diff --git a/previews/pepper-dicing.mp4 b/previews/pepper-dicing.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..7cd992142dc812b13d3adf84ed9acffae3dbe702 --- /dev/null +++ b/previews/pepper-dicing.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73bbb6078f833b536f93af57f2c2f825d43f73754a2ac950dde928b2bb6a5799 +size 12418804 diff --git a/previews/pepper-slicing.mp4 b/previews/pepper-slicing.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..ba4f472db9bc06a31cca08ddb143250768f23aef --- /dev/null +++ b/previews/pepper-slicing.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26abb7272170dc4c390882dc7330040bef0326f955690aaeabcdcb82cbf38c60 +size 20383051 diff --git a/processing_record.json b/processing_record.json new file mode 100644 index 0000000000000000000000000000000000000000..1e1e5aef1c7c729c8cb0ab744c11148f8d8fe748 --- /dev/null +++ b/processing_record.json @@ -0,0 +1,134 @@ +{ + "git_revision": "aa413018067fa4283774b805cd2588fda1dd3f48", + "working_tree_changes": true, + "validation": "See validation.json; no independent annotation ground truth or robot transfer experiment", + "configuration": { + "pose_fps": 15, + "object_tracking_fps": 5, + "max_wearer_hands": 2, + "min_depth_confidence": 1, + "privacy_face_score_threshold": 0.9 + }, + "dependencies": { + "numpy": "2.4.6", + "polars": "1.41.0", + "torch": "2.11.0+cu128", + "rtmlib": "0.0.15", + "onnxruntime-gpu": "1.26.0", + "supervision": "0.28.0", + "transformers": "5.9.0" + }, + "source_sha256": { + "src/video_processor/benchmark.py": "c55618b56d9ad47370ca70cba1542f26feabd8455b8fc0f22cba52c9fd3345d4", + "src/video_processor/calibration.py": "8da0c230c60033f420db8bf716646c1031809fcdc0d024aede92aced0c67da61", + "src/video_processor/cli.py": "89b694ade68cc350249481a46b0a8a0643b264d419f315c9e752f87325cfed57", + "src/video_processor/commissioning.py": "de1a46178ec057967cbd013c8267451fd88d67200c555f2528c7db3285e450dd", + "src/video_processor/datasheet.py": "2fa70f2063cc1720c9348ddc37b88118b37d8e43e73d0a29612eddfa9ae5492a", + "src/video_processor/delivery.py": "13f2b3e37b142e214a43788d088b1a4cde7577f82f2a5efd09f65dd01626a143", + "src/video_processor/eval.py": "9a8d7c22d2b27ea442754dbb94316e03dc2ef9bdec1d71312ce0a6aa8cad34aa", + "src/video_processor/eval_ab.py": "2189736fd7c0988102a849987e0250e836a9ae23da07c438c8ca35674c0d4921", + "src/video_processor/hand_methods_report.py": "96ff27c0d323dc31d357beac88d899c817924bb3cb2a9fd97323bc18552e7db5", + "src/video_processor/human_capture.py": "ac642abd81b09d41bdc9d13651618529b0d66f65827c638c3214ed76ef094165", + "src/video_processor/ledger.py": "8ce1fcd3b61ddb39a591c4ede19fa6338921065d850163da949dd57b9891a025", + "src/video_processor/metadata.py": "3404b83f19eb3b8dbd150543eda566edd0e13313cb0636cd29b4afb63873ae54", + "src/video_processor/metrics.py": "6b46d8aa84678688b500ccdf34c605979bfa8f314aa049fa94158bbf9fc509ca", + "src/video_processor/observation_reader.py": "a3cd51e1920831acde188b61081071e46fbebb3a68e07f6dfc094342188ea2f0", + "src/video_processor/overlay.py": "470596f20522e7ef2b0b0684d63351bdc8c9c1c7f5004362498e50023f3ba9d5", + "src/video_processor/preview.py": "9dfcd7eae6c478df2bfe27698f58fdc4174f426c6e86eae83436fa61e0fc1e1d", + "src/video_processor/qa.py": "8b69cb8e5c2f7cc9dece2349bc072000a971e525ed22a7d09e428eca30685fd5", + "src/video_processor/review.py": "6cb4bbddb15bfedbfb5aa8fb751811180efcf556bcc50e001c6fa3ae039d6cdd", + "src/video_processor/shard_fitness.py": "f9a4c1e669b26c8080aa6816e0743a003bd1c1fbf0138899f6732ecfadbfe1a2", + "src/video_processor/sync.py": "08b1d57882e96d88e885f3619b963062a598c2175c33b1b37f5f120d906f774b", + "src/video_processor/train_probe.py": "c286a3122461ef7724ae25ca28b7b192653f6a09b8402b2a196873cdbcca9912", + "src/video_processor/verify_shard.py": "1b283bf8a9c1187e1f1850c2a059e89d6ce68c14428730dd535e6a68a0a57bd0", + "src/video_processor/__init__.py": "63ce1368a1839e8dd46e9004dd479afc7444f0f1c7f10e8cb5ae0bcd4cc6e004", + "src/video_processor/adapters/gr00t_format.py": "00ace122c9c9d2dea8ca49830141d3a24e060662a548027524a967796d404181", + "src/video_processor/adapters/gr00t_overlay.py": "b27a50ee5c55c27478ee71d0b09a5f482a9fe4f366a859f6f864ba8ada75def3", + "src/video_processor/adapters/human_observation.py": "b4183eeba2acaff82de439099023b216bd0ef66e3e47653de21cdeef2104be34", + "src/video_processor/adapters/lerobot_format.py": "05819f1f249671cce5e660346383ffb352aad0066ea63c1f7e60d135a8aa2e0f", + "src/video_processor/adapters/rerun_viewer.py": "602579c5cbd2ddd0700b535db4e0676b1caef694c45d5bfe24ab5705a944777c", + "src/video_processor/adapters/rlds.py": "b2559da53833df96d15a0c1b433921382041e70389cf60bfdebc5ebf81581bd2", + "src/video_processor/adapters/webdataset.py": "853456bad67d5744fe80b04acd04de983aea842ed23c433b9c84d720fd43d73c", + "src/video_processor/adapters/__init__.py": "8086da3bdf3b166a41464110cba225479776b376cd91d5af70171c59c8428ba8", + "src/video_processor/catalog/gaps.py": "82e3f41e619bd0cf22c3d61affa58ee671be5cceeaed6b537bff2b5365b25bb3", + "src/video_processor/catalog/index.py": "6d52ebab5291d3686e127ea5771b38c641b9822305d9ec163833516c754ea38b", + "src/video_processor/catalog/__init__.py": "477fdc654101bc4d9311eb2fcba591a929ab6570aa6e948a55d99c0cd66da9e8", + "src/video_processor/cert/canonical.py": "98098160a6dffba3a7c77bb4299df41aefea4365a5631893799eceb3e39114f5", + "src/video_processor/cert/keys.py": "4d6633153dee85807f5ff19321f4dacf9b1eb2639febeed54464009571d22d36", + "src/video_processor/cert/models.py": "dd8abc5b5175ab6ef4243029ab87fe340cd6e106b0c9d712597c3f4a0bf6d3e8", + "src/video_processor/cert/revocation.py": "6c5b75018bc56b1f9b1398893e74c6e6fe0b6b7a2297114e48153e0a74bc6c49", + "src/video_processor/cert/signing.py": "5230753a86893a4322f27586d4ef02015c72bdf6ee051376d35805f57a15c3f5", + "src/video_processor/cert/transparency.py": "80d03a0bc821cebd636d320a5ac0652d25ef10cb7d7b3bfbae1121d89492c585", + "src/video_processor/cert/verify.py": "6ae2a1b55639d0c00a2eaa8a90c3f287f4f739452c4b9b717e44286639335850", + "src/video_processor/cert/__init__.py": "9028db1471bc3a938b7449299acb48a6dc70ce03553bc8d21aea00fa2b28ec53", + "src/video_processor/cir/models.py": "469638e81d26f43a6f47a3555cb6c40e33059a8ba1c77f7be4a2ba252ed60c30", + "src/video_processor/cir/stats.py": "31d60fa4be9725eeaf7b6b4a6ca7b1cb1c7b1eda911b6947ab822cd69ae10698", + "src/video_processor/cir/validators.py": "c91e8680f864c5fce0de4487c78779b77f85733989cb11033049a6f6d02b2a88", + "src/video_processor/cir/__init__.py": "1545da51ca93cceb1b71774695b7a005ff25ff4a58b889daeef43fd5c3f24344", + "src/video_processor/enrich/actions.py": "e1984106a528641721d0a5f5f76458e758a7057649d49951d9462bf20e86e067", + "src/video_processor/enrich/action_primitives.py": "0e370548ae75cc73272a271ee0c319c40aa1c29421c73bb42b58c92c2b211aae", + "src/video_processor/enrich/arkit.py": "aacadaf58b4b5a9f1d0bc10618f704593947eb327061762631c7b00a5788255a", + "src/video_processor/enrich/arkit_depth.py": "694f2ee1ab909183acd2121219fbae749ca4faedd1ace9aceaffbd6a235399d9", + "src/video_processor/enrich/asr.py": "c15b4d1f164c77af8b2ede5575b2415cb512666f9b6c51c6afadedc6e5bbde26", + "src/video_processor/enrich/audio_events.py": "99a58ca25179672e35af4c5c211807d12407cb74026301e45a4ca9fe66c0ce7f", + "src/video_processor/enrich/body3d.py": "bbe38a7929a8fc1b498c8d686be00aebba2f8daadb644f8d83df1116eda6af7d", + "src/video_processor/enrich/captions.py": "8f7bc412331403f427e431267cbb9cfcf1ab1beb56e5202cb13268f53e2b56e1", + "src/video_processor/enrich/contact.py": "e4e8130c3e9a6ee16a4676f379dee4f15e99d60f351f615c32b8478f2ed8aaef", + "src/video_processor/enrich/depth.py": "f000795f5e9af52d256c46bc6327b1e04eca44f1b846d0d2d89c3f2675294675", + "src/video_processor/enrich/detect.py": "6a962d498584fef134c28c232fc4698541de73f2106f210722c4a52e1fcc019f", + "src/video_processor/enrich/ego_hands.py": "5f3a0fc7ddab2420ddf3a425274a87a75a6484316b7f02d784196341e57b4d6c", + "src/video_processor/enrich/fidelity.py": "925082ad69daa531efd1c818db30af2e00b71a7ab79767294182c4461fef18c3", + "src/video_processor/enrich/frames.py": "f80c1eda1b4a650f3b9fe4c7066a24d6553f66cb9dba8b53ecf603f6f2f520ff", + "src/video_processor/enrich/hands.py": "9427095bb76e5e840adbe794d5c2ea5e9b36ce69637409a6af9bd26aaaf830d1", + "src/video_processor/enrich/hands3d.py": "35afe558fca371eaf8379e4e53906214b7dfeebc00f5466733b9536c53947b70", + "src/video_processor/enrich/hands_fusion.py": "f3aac3668eca843b55a9b79b1264902a1e94949017c7c15e800de5f0e46b5960", + "src/video_processor/enrich/hands_temporal.py": "7f613e4958a84d43a378bfc19ddc817a868934e1bb50fbd799ba8f116b4d9164", + "src/video_processor/enrich/hands_world.py": "1e5c12573ea22e675258352ad362bacb8ff31c2eb5e3dff4879228e224f10946", + "src/video_processor/enrich/imu.py": "1134bd4e17f59b562a0de28b15fbe3d4c2ae9b91c7139651e16c86030e4e3365", + "src/video_processor/enrich/inpaint.py": "9ee1dda9c4b4e554d002f20b58a7096d0efe9af38746bdd0d71afaf824dc1b6c", + "src/video_processor/enrich/mebx.py": "cb76cd9b2d840345661e18df8e05a4a25f596977cef5e031fcc896e69aeea415", + "src/video_processor/enrich/object6d.py": "748d3ec91b944c6c842d28113cfce8494530096c320b5be86fe59d3e6876b296", + "src/video_processor/enrich/phases.py": "3a1be9d81facd0c82190d3aab8249af75b071e8f8a63e7b07b1a9c261cef6949", + "src/video_processor/enrich/pose.py": "fbd4e5af4575ce16b0db1e0dac9cebe2c9a55deea23bfcd4dca44f58f2e90200", + "src/video_processor/enrich/pose_temporal.py": "7db3680fe18980c9e049459b7b7d31de5f3a720c032962f3091d3ad40ff320bb", + "src/video_processor/enrich/privacy.py": "d53cd51ba696d8b38f0f48015dc5ff8d0f839844fcd67f3eeca22a454a65dd05", + "src/video_processor/enrich/provenance.py": "5c205843ef4bb7f7eb632ce2da6eea485a2722f47bb45436e43a75fc4b75a3cf", + "src/video_processor/enrich/quality.py": "881fe93d0f4d7be316d1b3b61a20e4ac60cdd23c0b99c3df944d7005b172e73a", + "src/video_processor/enrich/reconstruct.py": "aaa9f12844097bda713607b642c55b17fc01f377de716e334c678c886479c2db", + "src/video_processor/enrich/retarget.py": "d005aa1ea558ce343956d5dcc627ec9a9da00c51728599a73267a5a0dc90cd57", + "src/video_processor/enrich/sensor_geometry.py": "65ec978f13dbbf18a804acb89494cd6d3d0720ca588807ef00bce8479b11bd62", + "src/video_processor/enrich/shots.py": "25430299f23f76cf6401adcce8e718797a527a003793855857c665bfb5466e1d", + "src/video_processor/enrich/signals.py": "28c79c85cc06955f4b024596a9830eaa9e0450995818a258f12ca5b39096723a", + "src/video_processor/enrich/taxonomy.py": "011ba8cad76c354bfd15c94dfd44771cbbe78d65d85824a51c79d78572aad421", + "src/video_processor/enrich/tracking.py": "c750b8b09274edb40a2ace34e7277868f27e15e413f4c85dc2143c25f478be08", + "src/video_processor/enrich/trajectory.py": "53cc0956047be36b6be4248bce45d0ac06f27fdb921b16c2451a599503e83783", + "src/video_processor/enrich/vocabulary.py": "cad28f16f4a66e11b92328af8ee25ae12cc89bf35e4a884fa43aefef8a10d6e0", + "src/video_processor/enrich/__init__.py": "400d296a6701907a2930d4458e01bc0a8f36359812fbbb94845b685095d7acce", + "src/video_processor/enrich/hands_backends/mediapipe_backend.py": "4cf93e7ef222209b7ab8c8268dfe0faf924192c08d9c1c59a1f9b70d882c35d4", + "src/video_processor/enrich/hands_backends/rtmpose_hand_backend.py": "4e913d87cd9bd2854326c70868d15e9b4aec6092cd26b8fa209e9ccf828b902c", + "src/video_processor/enrich/hands_backends/__init__.py": "cd207bb2863537eb96e8d7d0d482a336e518e2da15c88e777392303ce26fdeaf", + "src/video_processor/enrich/inpaint_backends/lama_backend.py": "45d43e675c0671114f7613a59cdabc5244c1f365f1d9a6d3f6bbd0bb279b1944", + "src/video_processor/enrich/inpaint_backends/__init__.py": "830cbb68a4870a178cf829ab4f69877da13c7377c599f48a909d9bb5089d223b", + "src/video_processor/enrich/object6d_backends/cotracker_multiview_backend.py": "94f47cd82d06734dc20722d73465aa049ccea9f0949a096ff8d25a9146fc22f8", + "src/video_processor/enrich/object6d_backends/foundationpose_backend.py": "5eeb8366516884d9b54ad62e25b9ad1538ad7ebe1bb0774270ebd6489129cebb", + "src/video_processor/enrich/object6d_backends/__init__.py": "ccaa2993576be163dc8d72a85d0851097ff998d0983d4c8aaeae550163bc9334", + "src/video_processor/ingest/capture.py": "45a313edf3e0554a83481a195ae55c84f814ffc94e6da57c993a5904bb438d3f", + "src/video_processor/ingest/record3d.py": "6d0fa93f402428b37c2827acb76af54059f66fcc6e9acb2477febe338f7fd03f", + "src/video_processor/ingest/sensor_clock.py": "b850fd80d2e8dd406a8314f43fa39d3733aac78ee86199d514bb2c6bed86ae8a", + "src/video_processor/ingest/stage0.py": "4910bd99ef8dadf268fbaa8d87b14a8cec285d3d1689f6c538fe8a416f997b3e", + "src/video_processor/ingest/stray_scanner.py": "ace1ed9af5431484a94faec49e622a59efff0ebc6206720a92929b543519e0bd", + "src/video_processor/ingest/__init__.py": "83bea82f6cf3528370f225d268e63bbcb79ff19dd8df76fa3fe4e96d9d3a3f77", + "src/video_processor/robot/episodes.py": "25c4b3f916964a137b6a2c191eb6f7ce3dbed1cb75a888e04e01309ffe1d6119", + "src/video_processor/robot/g1.py": "68c0b3039cba32de3c479a5675b22c434925419753549ba75c3ae9d938e591a7", + "src/video_processor/robot/so101.py": "5b11ffedde2f9e97c6f432418e26c905277a1dbf33930f4b8fb5806d0cc31842", + "src/video_processor/robot/__init__.py": "fe806cde91b7d049d1e5841fb0ed9d6d8548b48809a0103c4ec127e9e11e1243" + }, + "annotation_notes": "Raw hands capped at two; temporal gap filling can produce extra short tracks. See QUALITY.md.", + "test_suite": { + "passed": 504, + "skipped": 3, + "deselected": 2, + "command": "python -m pytest -q apps/video-processor/tests", + "follow_up": "Final license preflight and module compilation passed; isolated artifact validator passed." + } +} \ No newline at end of file diff --git a/quality/onion-preparation.json b/quality/onion-preparation.json new file mode 100644 index 0000000000000000000000000000000000000000..06cab3b0046cadafe629792a448f2cc09a07a01d --- /dev/null +++ b/quality/onion-preparation.json @@ -0,0 +1,563 @@ +{ + "schema_version": "1.0.0", + "asset_id": "4a25f7c7080ee803", + "dataset_type": "human_egocentric_observation", + "channels": { + "quality": { + "rows": 76, + "source": "measured", + "estimator": null, + "columns": { + "t_s": "Float64", + "sharpness": "Float64", + "exposure": "Float64" + }, + "null_counts": { + "t_s": 0, + "sharpness": 0, + "exposure": 0 + }, + "unique_timestamps": 76 + }, + "tracks_raw": { + "rows": 1349, + "source": "estimated", + "estimator": "owlv2:base-patch16-ensemble+openvocab+bytetrack", + "columns": { + "t_s": "Float64", + "track_id": "Int64", + "label": "String", + "confidence": "Float64", + "x1": "Float64", + "y1": "Float64", + "x2": "Float64", + "y2": "Float64" + }, + "null_counts": { + "t_s": 0, + "track_id": 0, + "label": 0, + "confidence": 0, + "x1": 0, + "y1": 0, + "x2": 0, + "y2": 0 + }, + "unique_timestamps": 379 + }, + "tracks": { + "rows": 1410, + "source": "estimated", + "estimator": "owlv2:base-patch16-ensemble+openvocab+bytetrack+track_temporal:bridge+oneeuro:v1", + "columns": { + "t_s": "Float64", + "track_id": "Int64", + "label": "String", + "confidence": "Float64", + "x1": "Float64", + "y1": "Float64", + "x2": "Float64", + "y2": "Float64", + "provenance": "String" + }, + "null_counts": { + "t_s": 0, + "track_id": 0, + "label": 0, + "confidence": 61, + "x1": 0, + "y1": 0, + "x2": 0, + "y2": 0, + "provenance": 0 + }, + "unique_timestamps": 379, + "provenance_rows": [ + { + "provenance": "detected", + "len": 60 + }, + { + "provenance": "smoothed", + "len": 1289 + }, + { + "provenance": "interpolated", + "len": 61 + } + ] + }, + "hand_pose_raw": { + "rows": 43722, + "source": "estimated", + "estimator": "rtmpose:rtmw-x+hand5-cascade+ego_duplicate_suppression:v1", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "kp_index": "Int64", + "kp_name": "String", + "x": "Float64", + "y": "Float64", + "z": "Float64", + "wx": "Float64", + "wy": "Float64", + "wz": "Float64", + "kp_score": "Float64" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "kp_index": 0, + "kp_name": 0, + "x": 0, + "y": 0, + "z": 43722, + "wx": 43722, + "wy": 43722, + "wz": 43722, + "kp_score": 0 + }, + "unique_timestamps": 1136, + "handedness_rows": [ + { + "handedness": "left", + "len": 9051 + }, + { + "handedness": "unknown", + "len": 26166 + }, + { + "handedness": "right", + "len": 8505 + } + ] + }, + "hand_pose": { + "rows": 45864, + "source": "estimated", + "estimator": "rtmpose:rtmw-x+hand5-cascade+ego_duplicate_suppression:v1+hands_temporal:greedy+oneeuro:v1", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "kp_index": "Int64", + "kp_name": "String", + "x": "Float64", + "y": "Float64", + "z": "Float64", + "wx": "Float64", + "wy": "Float64", + "wz": "Float64", + "kp_score": "Float64", + "provenance": "String", + "det_index": "Int64" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "kp_index": 0, + "kp_name": 0, + "x": 0, + "y": 0, + "z": 45864, + "wx": 45864, + "wy": 45864, + "wz": 45864, + "kp_score": 0, + "provenance": 0, + "det_index": 2457 + }, + "unique_timestamps": 1136, + "provenance_rows": [ + { + "provenance": "interpolated", + "len": 2457 + }, + { + "provenance": "detected", + "len": 399 + }, + { + "provenance": "smoothed", + "len": 43008 + } + ], + "handedness_rows": [ + { + "handedness": "right", + "len": 11592 + }, + { + "handedness": "unknown", + "len": 31983 + }, + { + "handedness": "left", + "len": 2289 + } + ] + }, + "hand_world_trajectory": { + "rows": 1998, + "source": "estimated", + "estimator": "arkit_world+rtmpose", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "px": "Float64", + "py": "Float64", + "pz": "Float64", + "qx": "Float64", + "qy": "Float64", + "qz": "Float64", + "qw": "Float64", + "cam_px": "Float64", + "cam_py": "Float64", + "cam_pz": "Float64", + "orient_valid": "Boolean", + "provenance": "String" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "px": 0, + "py": 0, + "pz": 0, + "qx": 1565, + "qy": 1565, + "qz": 1565, + "qw": 1565, + "cam_px": 0, + "cam_py": 0, + "cam_pz": 0, + "orient_valid": 0, + "provenance": 0 + }, + "unique_timestamps": 1116, + "provenance_rows": [ + { + "provenance": "detected", + "len": 11 + }, + { + "provenance": "interpolated", + "len": 102 + }, + { + "provenance": "smoothed", + "len": 1885 + } + ], + "handedness_rows": [ + { + "handedness": "right", + "len": 448 + }, + { + "handedness": "left", + "len": 94 + }, + { + "handedness": "unknown", + "len": 1456 + } + ] + }, + "contact": { + "rows": 4979, + "source": "estimated", + "estimator": "geometric:handpose-x-tracks+depthgate+debounce", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "track_id": "Int64", + "label": "String", + "target_kind": "String", + "iou": "Float64", + "fingertips_inside": "Int64", + "tip_depth_m": "Float64", + "obj_depth_m": "Float64", + "depth_gap_m": "Float64", + "depth_tier": "String", + "method": "String", + "provenance": "String", + "contact": "Boolean", + "contact_state": "Boolean" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "track_id": 0, + "label": 0, + "target_kind": 0, + "iou": 0, + "fingertips_inside": 0, + "tip_depth_m": 15, + "obj_depth_m": 0, + "depth_gap_m": 15, + "depth_tier": 15, + "method": 0, + "provenance": 0, + "contact": 0, + "contact_state": 0 + }, + "unique_timestamps": 1136, + "provenance_rows": [ + { + "provenance": "detected", + "len": 5 + }, + { + "provenance": "interpolated", + "len": 348 + }, + { + "provenance": "smoothed", + "len": 4626 + } + ], + "handedness_rows": [ + { + "handedness": "left", + "len": 193 + }, + { + "handedness": "right", + "len": 1084 + }, + { + "handedness": "unknown", + "len": 3702 + } + ] + }, + "contact_events": { + "rows": 92, + "source": "estimated", + "estimator": "geometric:handpose-x-tracks+depthgate+debounce", + "columns": { + "hand": "Int64", + "handedness": "String", + "track_id": "Int64", + "label": "String", + "target_kind": "String", + "t_on_s": "Float64", + "t_off_s": "Float64", + "duration_s": "Float64", + "n_contact_samples": "Int64", + "method": "String", + "depth_tier": "String", + "provenance": "String" + }, + "null_counts": { + "hand": 0, + "handedness": 0, + "track_id": 0, + "label": 0, + "target_kind": 0, + "t_on_s": 0, + "t_off_s": 1, + "duration_s": 1, + "n_contact_samples": 0, + "method": 0, + "depth_tier": 0, + "provenance": 0 + }, + "provenance_rows": [ + { + "provenance": "interpolated", + "len": 45 + }, + { + "provenance": "smoothed", + "len": 47 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 58 + }, + { + "handedness": "left", + "len": 6 + }, + { + "handedness": "right", + "len": 28 + } + ] + }, + "arkit_poses": { + "rows": 4544, + "source": "estimated", + "estimator": "arkit:stray_scanner", + "columns": { + "t_s": "Float64", + "tx": "Float64", + "ty": "Float64", + "tz": "Float64", + "qx": "Float64", + "qy": "Float64", + "qz": "Float64", + "qw": "Float64" + }, + "null_counts": { + "t_s": 0, + "tx": 0, + "ty": 0, + "tz": 0, + "qx": 0, + "qy": 0, + "qz": 0, + "qw": 0 + }, + "unique_timestamps": 4544 + }, + "frame_mapping": { + "rows": 4544, + "source": "measured", + "estimator": "stray:explicit_frame_id", + "columns": { + "t_s": "Float64", + "source_frame_index": "Int64", + "video_pts_s": "Float64", + "sensor_timestamp_s": "Float64", + "sensor_t_s": "Float64", + "rgb_decodable": "Boolean", + "rgb_frame_index": "Int64" + }, + "null_counts": { + "t_s": 0, + "source_frame_index": 0, + "video_pts_s": 0, + "sensor_timestamp_s": 0, + "sensor_t_s": 0, + "rgb_decodable": 0, + "rgb_frame_index": 1 + }, + "unique_timestamps": 4544 + }, + "camera_intrinsics": { + "rows": 4544, + "source": "measured", + "estimator": "stray:device_calibration", + "columns": { + "t_s": "Float64", + "source_frame_index": "Int64", + "fx": "Float64", + "fy": "Float64", + "cx": "Float64", + "cy": "Float64", + "width": "Int64", + "height": "Int64", + "calibration_source": "String" + }, + "null_counts": { + "t_s": 0, + "source_frame_index": 0, + "fx": 0, + "fy": 0, + "cx": 0, + "cy": 0, + "width": 0, + "height": 0, + "calibration_source": 0 + }, + "unique_timestamps": 4544 + }, + "device_imu": { + "rows": 7624, + "source": "measured", + "estimator": "stray:raw_device_imu", + "columns": { + "sensor_timestamp_s": "Float64", + "sensor_t_s": "Float64", + "t_s": "Float64", + "clock_mapping_valid": "Boolean", + "a_x": "Float64", + "a_y": "Float64", + "a_z": "Float64", + "alpha_x": "Float64", + "alpha_y": "Float64", + "alpha_z": "Float64" + }, + "null_counts": { + "sensor_timestamp_s": 0, + "sensor_t_s": 0, + "t_s": 13, + "clock_mapping_valid": 0, + "a_x": 0, + "a_y": 0, + "a_z": 0, + "alpha_x": 0, + "alpha_y": 0, + "alpha_z": 0 + }, + "unique_timestamps": 7611 + } + }, + "annotation_accuracy": "not_independently_evaluated", + "public_release_ready": true, + "release_checks": { + "license": "cc-by-4.0", + "ownership": "owner_attested", + "privacy_review": "automated_full_video_face_scan; sampled_visual_inspection; no_human_attestation", + "annotation_review": "assistant_sampled_visual_review; independent_accuracy_not_measured", + "technical_validation": "passed; see validation.json" + }, + "sensor_completeness": { + "frame_mapping": 4544, + "arkit_poses": 4544, + "camera_intrinsics": 4544, + "measured_depth_index": 4544, + "device_imu": 7624, + "rgb_frames": 4543, + "displayed_rgb_frames": 4543, + "frame_tables_match_rgb": true + }, + "warnings": [ + "Annotation coverage is not an accuracy measurement.", + "Device ARKit pose is a VIO estimate, not independent motion-capture ground truth.", + "Raw device acceleration units require capture-version verification; no conversion applied.", + "No robot commands, force, tactile measurements or execution success are provided." + ], + "hand_candidate_selection": { + "candidates": 3706, + "kept": 2082, + "duplicate_groups": 1454, + "label_conflicts": 1268, + "max_hands": 2 + }, + "clock_mapping": { + "method": "explicit_source_frame_id_with_discard_flags", + "mapping_version": 2, + "displayed_frame_count": 4543, + "discarded_packet_count": 1, + "time_domain": "rgb_pts_relative_to_first_frame", + "frame_count": 4544, + "max_original_clock_difference_ms": 137.34329233423637, + "physical_sync_accuracy": "not_independently_measured" + }, + "internal_only_channels": [ + "body_pose", + "privacy", + "measured_depth_index", + "hand_pose_candidates" + ], + "release_scope": "public evaluation sample; estimated annotations experimental" +} \ No newline at end of file diff --git a/quality/pepper-dicing.json b/quality/pepper-dicing.json new file mode 100644 index 0000000000000000000000000000000000000000..6efa0af1b4ef0836e1699be514803b82dc2f2e46 --- /dev/null +++ b/quality/pepper-dicing.json @@ -0,0 +1,563 @@ +{ + "schema_version": "1.0.0", + "asset_id": "fa7c7f295d02aab5", + "dataset_type": "human_egocentric_observation", + "channels": { + "quality": { + "rows": 34, + "source": "measured", + "estimator": null, + "columns": { + "t_s": "Float64", + "sharpness": "Float64", + "exposure": "Float64" + }, + "null_counts": { + "t_s": 0, + "sharpness": 0, + "exposure": 0 + }, + "unique_timestamps": 34 + }, + "tracks_raw": { + "rows": 610, + "source": "estimated", + "estimator": "owlv2:base-patch16-ensemble+openvocab+bytetrack", + "columns": { + "t_s": "Float64", + "track_id": "Int64", + "label": "String", + "confidence": "Float64", + "x1": "Float64", + "y1": "Float64", + "x2": "Float64", + "y2": "Float64" + }, + "null_counts": { + "t_s": 0, + "track_id": 0, + "label": 0, + "confidence": 0, + "x1": 0, + "y1": 0, + "x2": 0, + "y2": 0 + }, + "unique_timestamps": 172 + }, + "tracks": { + "rows": 624, + "source": "estimated", + "estimator": "owlv2:base-patch16-ensemble+openvocab+bytetrack+track_temporal:bridge+oneeuro:v1", + "columns": { + "t_s": "Float64", + "track_id": "Int64", + "label": "String", + "confidence": "Float64", + "x1": "Float64", + "y1": "Float64", + "x2": "Float64", + "y2": "Float64", + "provenance": "String" + }, + "null_counts": { + "t_s": 0, + "track_id": 0, + "label": 0, + "confidence": 14, + "x1": 0, + "y1": 0, + "x2": 0, + "y2": 0, + "provenance": 0 + }, + "unique_timestamps": 172, + "provenance_rows": [ + { + "provenance": "detected", + "len": 25 + }, + { + "provenance": "smoothed", + "len": 585 + }, + { + "provenance": "interpolated", + "len": 14 + } + ] + }, + "hand_pose_raw": { + "rows": 19761, + "source": "estimated", + "estimator": "rtmpose:rtmw-x+hand5-cascade+ego_duplicate_suppression:v1", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "kp_index": "Int64", + "kp_name": "String", + "x": "Float64", + "y": "Float64", + "z": "Float64", + "wx": "Float64", + "wy": "Float64", + "wz": "Float64", + "kp_score": "Float64" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "kp_index": 0, + "kp_name": 0, + "x": 0, + "y": 0, + "z": 19761, + "wx": 19761, + "wy": 19761, + "wz": 19761, + "kp_score": 0 + }, + "unique_timestamps": 516, + "handedness_rows": [ + { + "handedness": "left", + "len": 4305 + }, + { + "handedness": "right", + "len": 4158 + }, + { + "handedness": "unknown", + "len": 11298 + } + ] + }, + "hand_pose": { + "rows": 20013, + "source": "estimated", + "estimator": "rtmpose:rtmw-x+hand5-cascade+ego_duplicate_suppression:v1+hands_temporal:greedy+oneeuro:v1", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "kp_index": "Int64", + "kp_name": "String", + "x": "Float64", + "y": "Float64", + "z": "Float64", + "wx": "Float64", + "wy": "Float64", + "wz": "Float64", + "kp_score": "Float64", + "provenance": "String", + "det_index": "Int64" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "kp_index": 0, + "kp_name": 0, + "x": 0, + "y": 0, + "z": 20013, + "wx": 20013, + "wy": 20013, + "wz": 20013, + "kp_score": 0, + "provenance": 0, + "det_index": 294 + }, + "unique_timestamps": 515, + "provenance_rows": [ + { + "provenance": "smoothed", + "len": 19572 + }, + { + "provenance": "detected", + "len": 147 + }, + { + "provenance": "interpolated", + "len": 294 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 19047 + }, + { + "handedness": "left", + "len": 483 + }, + { + "handedness": "right", + "len": 483 + } + ] + }, + "hand_world_trajectory": { + "rows": 886, + "source": "estimated", + "estimator": "arkit_world+rtmpose", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "px": "Float64", + "py": "Float64", + "pz": "Float64", + "qx": "Float64", + "qy": "Float64", + "qz": "Float64", + "qw": "Float64", + "cam_px": "Float64", + "cam_py": "Float64", + "cam_pz": "Float64", + "orient_valid": "Boolean", + "provenance": "String" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "px": 0, + "py": 0, + "pz": 0, + "qx": 842, + "qy": 842, + "qz": 842, + "qw": 842, + "cam_px": 0, + "cam_py": 0, + "cam_pz": 0, + "orient_valid": 0, + "provenance": 0 + }, + "unique_timestamps": 506, + "provenance_rows": [ + { + "provenance": "smoothed", + "len": 871 + }, + { + "provenance": "interpolated", + "len": 11 + }, + { + "provenance": "detected", + "len": 4 + } + ], + "handedness_rows": [ + { + "handedness": "left", + "len": 23 + }, + { + "handedness": "right", + "len": 21 + }, + { + "handedness": "unknown", + "len": 842 + } + ] + }, + "contact": { + "rows": 2419, + "source": "estimated", + "estimator": "geometric:handpose-x-tracks+depthgate+debounce", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "track_id": "Int64", + "label": "String", + "target_kind": "String", + "iou": "Float64", + "fingertips_inside": "Int64", + "tip_depth_m": "Float64", + "obj_depth_m": "Float64", + "depth_gap_m": "Float64", + "depth_tier": "String", + "method": "String", + "provenance": "String", + "contact": "Boolean", + "contact_state": "Boolean" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "track_id": 0, + "label": 0, + "target_kind": 0, + "iou": 0, + "fingertips_inside": 0, + "tip_depth_m": 22, + "obj_depth_m": 3, + "depth_gap_m": 25, + "depth_tier": 25, + "method": 0, + "provenance": 0, + "contact": 0, + "contact_state": 0 + }, + "unique_timestamps": 512, + "provenance_rows": [ + { + "provenance": "smoothed", + "len": 2330 + }, + { + "provenance": "interpolated", + "len": 85 + }, + { + "provenance": "detected", + "len": 4 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 2328 + }, + { + "handedness": "left", + "len": 50 + }, + { + "handedness": "right", + "len": 41 + } + ] + }, + "contact_events": { + "rows": 41, + "source": "estimated", + "estimator": "geometric:handpose-x-tracks+depthgate+debounce", + "columns": { + "hand": "Int64", + "handedness": "String", + "track_id": "Int64", + "label": "String", + "target_kind": "String", + "t_on_s": "Float64", + "t_off_s": "Float64", + "duration_s": "Float64", + "n_contact_samples": "Int64", + "method": "String", + "depth_tier": "String", + "provenance": "String" + }, + "null_counts": { + "hand": 0, + "handedness": 0, + "track_id": 0, + "label": 0, + "target_kind": 0, + "t_on_s": 0, + "t_off_s": 4, + "duration_s": 4, + "n_contact_samples": 0, + "method": 0, + "depth_tier": 0, + "provenance": 0 + }, + "provenance_rows": [ + { + "provenance": "smoothed", + "len": 23 + }, + { + "provenance": "interpolated", + "len": 18 + } + ], + "handedness_rows": [ + { + "handedness": "left", + "len": 5 + }, + { + "handedness": "unknown", + "len": 33 + }, + { + "handedness": "right", + "len": 3 + } + ] + }, + "arkit_poses": { + "rows": 2063, + "source": "estimated", + "estimator": "arkit:stray_scanner", + "columns": { + "t_s": "Float64", + "tx": "Float64", + "ty": "Float64", + "tz": "Float64", + "qx": "Float64", + "qy": "Float64", + "qz": "Float64", + "qw": "Float64" + }, + "null_counts": { + "t_s": 0, + "tx": 0, + "ty": 0, + "tz": 0, + "qx": 0, + "qy": 0, + "qz": 0, + "qw": 0 + }, + "unique_timestamps": 2063 + }, + "frame_mapping": { + "rows": 2063, + "source": "measured", + "estimator": "stray:explicit_frame_id", + "columns": { + "t_s": "Float64", + "source_frame_index": "Int64", + "video_pts_s": "Float64", + "sensor_timestamp_s": "Float64", + "sensor_t_s": "Float64", + "rgb_decodable": "Boolean", + "rgb_frame_index": "Int64" + }, + "null_counts": { + "t_s": 0, + "source_frame_index": 0, + "video_pts_s": 0, + "sensor_timestamp_s": 0, + "sensor_t_s": 0, + "rgb_decodable": 0, + "rgb_frame_index": 1 + }, + "unique_timestamps": 2063 + }, + "camera_intrinsics": { + "rows": 2063, + "source": "measured", + "estimator": "stray:device_calibration", + "columns": { + "t_s": "Float64", + "source_frame_index": "Int64", + "fx": "Float64", + "fy": "Float64", + "cx": "Float64", + "cy": "Float64", + "width": "Int64", + "height": "Int64", + "calibration_source": "String" + }, + "null_counts": { + "t_s": 0, + "source_frame_index": 0, + "fx": 0, + "fy": 0, + "cx": 0, + "cy": 0, + "width": 0, + "height": 0, + "calibration_source": 0 + }, + "unique_timestamps": 2063 + }, + "device_imu": { + "rows": 3459, + "source": "measured", + "estimator": "stray:raw_device_imu", + "columns": { + "sensor_timestamp_s": "Float64", + "sensor_t_s": "Float64", + "t_s": "Float64", + "clock_mapping_valid": "Boolean", + "a_x": "Float64", + "a_y": "Float64", + "a_z": "Float64", + "alpha_x": "Float64", + "alpha_y": "Float64", + "alpha_z": "Float64" + }, + "null_counts": { + "sensor_timestamp_s": 0, + "sensor_t_s": 0, + "t_s": 14, + "clock_mapping_valid": 0, + "a_x": 0, + "a_y": 0, + "a_z": 0, + "alpha_x": 0, + "alpha_y": 0, + "alpha_z": 0 + }, + "unique_timestamps": 3445 + } + }, + "annotation_accuracy": "not_independently_evaluated", + "public_release_ready": true, + "release_checks": { + "license": "cc-by-4.0", + "ownership": "owner_attested", + "privacy_review": "automated_full_video_face_scan; sampled_visual_inspection; no_human_attestation", + "annotation_review": "assistant_sampled_visual_review; independent_accuracy_not_measured", + "technical_validation": "passed; see validation.json" + }, + "sensor_completeness": { + "frame_mapping": 2063, + "arkit_poses": 2063, + "camera_intrinsics": 2063, + "measured_depth_index": 2063, + "device_imu": 3459, + "rgb_frames": 2062, + "displayed_rgb_frames": 2062, + "frame_tables_match_rgb": true + }, + "warnings": [ + "Annotation coverage is not an accuracy measurement.", + "Device ARKit pose is a VIO estimate, not independent motion-capture ground truth.", + "Raw device acceleration units require capture-version verification; no conversion applied.", + "No robot commands, force, tactile measurements or execution success are provided." + ], + "hand_candidate_selection": { + "candidates": 1828, + "kept": 941, + "duplicate_groups": 697, + "label_conflicts": 570, + "max_hands": 2 + }, + "clock_mapping": { + "method": "explicit_source_frame_id_with_discard_flags", + "mapping_version": 2, + "displayed_frame_count": 2062, + "discarded_packet_count": 1, + "time_domain": "rgb_pts_relative_to_first_frame", + "frame_count": 2063, + "max_original_clock_difference_ms": 101.40445799915909, + "physical_sync_accuracy": "not_independently_measured" + }, + "internal_only_channels": [ + "body_pose", + "privacy", + "measured_depth_index", + "hand_pose_candidates" + ], + "release_scope": "public evaluation sample; estimated annotations experimental" +} \ No newline at end of file diff --git a/quality/pepper-slicing.json b/quality/pepper-slicing.json new file mode 100644 index 0000000000000000000000000000000000000000..4df68c1aed602ea7abf8ddc05140f817d2714487 --- /dev/null +++ b/quality/pepper-slicing.json @@ -0,0 +1,563 @@ +{ + "schema_version": "1.0.0", + "asset_id": "166703cbbc48dea2", + "dataset_type": "human_egocentric_observation", + "channels": { + "quality": { + "rows": 58, + "source": "measured", + "estimator": null, + "columns": { + "t_s": "Float64", + "sharpness": "Float64", + "exposure": "Float64" + }, + "null_counts": { + "t_s": 0, + "sharpness": 0, + "exposure": 0 + }, + "unique_timestamps": 58 + }, + "tracks_raw": { + "rows": 931, + "source": "estimated", + "estimator": "owlv2:base-patch16-ensemble+openvocab+bytetrack", + "columns": { + "t_s": "Float64", + "track_id": "Int64", + "label": "String", + "confidence": "Float64", + "x1": "Float64", + "y1": "Float64", + "x2": "Float64", + "y2": "Float64" + }, + "null_counts": { + "t_s": 0, + "track_id": 0, + "label": 0, + "confidence": 0, + "x1": 0, + "y1": 0, + "x2": 0, + "y2": 0 + }, + "unique_timestamps": 289 + }, + "tracks": { + "rows": 1002, + "source": "estimated", + "estimator": "owlv2:base-patch16-ensemble+openvocab+bytetrack+track_temporal:bridge+oneeuro:v1", + "columns": { + "t_s": "Float64", + "track_id": "Int64", + "label": "String", + "confidence": "Float64", + "x1": "Float64", + "y1": "Float64", + "x2": "Float64", + "y2": "Float64", + "provenance": "String" + }, + "null_counts": { + "t_s": 0, + "track_id": 0, + "label": 0, + "confidence": 71, + "x1": 0, + "y1": 0, + "x2": 0, + "y2": 0, + "provenance": 0 + }, + "unique_timestamps": 289, + "provenance_rows": [ + { + "provenance": "interpolated", + "len": 71 + }, + { + "provenance": "smoothed", + "len": 881 + }, + { + "provenance": "detected", + "len": 50 + } + ] + }, + "hand_pose_raw": { + "rows": 34398, + "source": "estimated", + "estimator": "rtmpose:rtmw-x+hand5-cascade+ego_duplicate_suppression:v1", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "kp_index": "Int64", + "kp_name": "String", + "x": "Float64", + "y": "Float64", + "z": "Float64", + "wx": "Float64", + "wy": "Float64", + "wz": "Float64", + "kp_score": "Float64" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "kp_index": 0, + "kp_name": 0, + "x": 0, + "y": 0, + "z": 34398, + "wx": 34398, + "wy": 34398, + "wz": 34398, + "kp_score": 0 + }, + "unique_timestamps": 866, + "handedness_rows": [ + { + "handedness": "right", + "len": 5061 + }, + { + "handedness": "left", + "len": 3192 + }, + { + "handedness": "unknown", + "len": 26145 + } + ] + }, + "hand_pose": { + "rows": 35427, + "source": "estimated", + "estimator": "rtmpose:rtmw-x+hand5-cascade+ego_duplicate_suppression:v1+hands_temporal:greedy+oneeuro:v1", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "kp_index": "Int64", + "kp_name": "String", + "x": "Float64", + "y": "Float64", + "z": "Float64", + "wx": "Float64", + "wy": "Float64", + "wz": "Float64", + "kp_score": "Float64", + "provenance": "String", + "det_index": "Int64" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "kp_index": 0, + "kp_name": 0, + "x": 0, + "y": 0, + "z": 35427, + "wx": 35427, + "wy": 35427, + "wz": 35427, + "kp_score": 0, + "provenance": 0, + "det_index": 1218 + }, + "unique_timestamps": 866, + "provenance_rows": [ + { + "provenance": "detected", + "len": 399 + }, + { + "provenance": "smoothed", + "len": 33810 + }, + { + "provenance": "interpolated", + "len": 1218 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 33852 + }, + { + "handedness": "left", + "len": 882 + }, + { + "handedness": "right", + "len": 693 + } + ] + }, + "hand_world_trajectory": { + "rows": 1582, + "source": "estimated", + "estimator": "arkit_world+rtmpose", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "hand_score": "Float64", + "px": "Float64", + "py": "Float64", + "pz": "Float64", + "qx": "Float64", + "qy": "Float64", + "qz": "Float64", + "qw": "Float64", + "cam_px": "Float64", + "cam_py": "Float64", + "cam_pz": "Float64", + "orient_valid": "Boolean", + "provenance": "String" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "hand_score": 0, + "px": 0, + "py": 0, + "pz": 0, + "qx": 1525, + "qy": 1525, + "qz": 1525, + "qw": 1525, + "cam_px": 0, + "cam_py": 0, + "cam_pz": 0, + "orient_valid": 0, + "provenance": 0 + }, + "unique_timestamps": 852, + "provenance_rows": [ + { + "provenance": "smoothed", + "len": 1521 + }, + { + "provenance": "detected", + "len": 16 + }, + { + "provenance": "interpolated", + "len": 45 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 1514 + }, + { + "handedness": "left", + "len": 39 + }, + { + "handedness": "right", + "len": 29 + } + ] + }, + "contact": { + "rows": 3654, + "source": "estimated", + "estimator": "geometric:handpose-x-tracks+depthgate+debounce", + "columns": { + "t_s": "Float64", + "hand": "Int64", + "handedness": "String", + "track_id": "Int64", + "label": "String", + "target_kind": "String", + "iou": "Float64", + "fingertips_inside": "Int64", + "tip_depth_m": "Float64", + "obj_depth_m": "Float64", + "depth_gap_m": "Float64", + "depth_tier": "String", + "method": "String", + "provenance": "String", + "contact": "Boolean", + "contact_state": "Boolean" + }, + "null_counts": { + "t_s": 0, + "hand": 0, + "handedness": 0, + "track_id": 0, + "label": 0, + "target_kind": 0, + "iou": 0, + "fingertips_inside": 0, + "tip_depth_m": 2, + "obj_depth_m": 0, + "depth_gap_m": 2, + "depth_tier": 2, + "method": 0, + "provenance": 0, + "contact": 0, + "contact_state": 0 + }, + "unique_timestamps": 866, + "provenance_rows": [ + { + "provenance": "detected", + "len": 5 + }, + { + "provenance": "interpolated", + "len": 296 + }, + { + "provenance": "smoothed", + "len": 3353 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 3540 + }, + { + "handedness": "left", + "len": 65 + }, + { + "handedness": "right", + "len": 49 + } + ] + }, + "contact_events": { + "rows": 103, + "source": "estimated", + "estimator": "geometric:handpose-x-tracks+depthgate+debounce", + "columns": { + "hand": "Int64", + "handedness": "String", + "track_id": "Int64", + "label": "String", + "target_kind": "String", + "t_on_s": "Float64", + "t_off_s": "Float64", + "duration_s": "Float64", + "n_contact_samples": "Int64", + "method": "String", + "depth_tier": "String", + "provenance": "String" + }, + "null_counts": { + "hand": 0, + "handedness": 0, + "track_id": 0, + "label": 0, + "target_kind": 0, + "t_on_s": 0, + "t_off_s": 1, + "duration_s": 1, + "n_contact_samples": 0, + "method": 0, + "depth_tier": 0, + "provenance": 0 + }, + "provenance_rows": [ + { + "provenance": "interpolated", + "len": 37 + }, + { + "provenance": "smoothed", + "len": 66 + } + ], + "handedness_rows": [ + { + "handedness": "unknown", + "len": 92 + }, + { + "handedness": "right", + "len": 3 + }, + { + "handedness": "left", + "len": 8 + } + ] + }, + "arkit_poses": { + "rows": 3466, + "source": "estimated", + "estimator": "arkit:stray_scanner", + "columns": { + "t_s": "Float64", + "tx": "Float64", + "ty": "Float64", + "tz": "Float64", + "qx": "Float64", + "qy": "Float64", + "qz": "Float64", + "qw": "Float64" + }, + "null_counts": { + "t_s": 0, + "tx": 0, + "ty": 0, + "tz": 0, + "qx": 0, + "qy": 0, + "qz": 0, + "qw": 0 + }, + "unique_timestamps": 3466 + }, + "frame_mapping": { + "rows": 3466, + "source": "measured", + "estimator": "stray:explicit_frame_id", + "columns": { + "t_s": "Float64", + "source_frame_index": "Int64", + "video_pts_s": "Float64", + "sensor_timestamp_s": "Float64", + "sensor_t_s": "Float64", + "rgb_decodable": "Boolean", + "rgb_frame_index": "Int64" + }, + "null_counts": { + "t_s": 0, + "source_frame_index": 0, + "video_pts_s": 0, + "sensor_timestamp_s": 0, + "sensor_t_s": 0, + "rgb_decodable": 0, + "rgb_frame_index": 1 + }, + "unique_timestamps": 3466 + }, + "camera_intrinsics": { + "rows": 3466, + "source": "measured", + "estimator": "stray:device_calibration", + "columns": { + "t_s": "Float64", + "source_frame_index": "Int64", + "fx": "Float64", + "fy": "Float64", + "cx": "Float64", + "cy": "Float64", + "width": "Int64", + "height": "Int64", + "calibration_source": "String" + }, + "null_counts": { + "t_s": 0, + "source_frame_index": 0, + "fx": 0, + "fy": 0, + "cx": 0, + "cy": 0, + "width": 0, + "height": 0, + "calibration_source": 0 + }, + "unique_timestamps": 3466 + }, + "device_imu": { + "rows": 5810, + "source": "measured", + "estimator": "stray:raw_device_imu", + "columns": { + "sensor_timestamp_s": "Float64", + "sensor_t_s": "Float64", + "t_s": "Float64", + "clock_mapping_valid": "Boolean", + "a_x": "Float64", + "a_y": "Float64", + "a_z": "Float64", + "alpha_x": "Float64", + "alpha_y": "Float64", + "alpha_z": "Float64" + }, + "null_counts": { + "sensor_timestamp_s": 0, + "sensor_t_s": 0, + "t_s": 14, + "clock_mapping_valid": 0, + "a_x": 0, + "a_y": 0, + "a_z": 0, + "alpha_x": 0, + "alpha_y": 0, + "alpha_z": 0 + }, + "unique_timestamps": 5796 + } + }, + "annotation_accuracy": "not_independently_evaluated", + "public_release_ready": true, + "release_checks": { + "license": "cc-by-4.0", + "ownership": "owner_attested", + "privacy_review": "automated_full_video_face_scan; sampled_visual_inspection; no_human_attestation", + "annotation_review": "assistant_sampled_visual_review; independent_accuracy_not_measured", + "technical_validation": "passed; see validation.json" + }, + "sensor_completeness": { + "frame_mapping": 3466, + "arkit_poses": 3466, + "camera_intrinsics": 3466, + "measured_depth_index": 3466, + "device_imu": 5810, + "rgb_frames": 3465, + "displayed_rgb_frames": 3465, + "frame_tables_match_rgb": true + }, + "warnings": [ + "Annotation coverage is not an accuracy measurement.", + "Device ARKit pose is a VIO estimate, not independent motion-capture ground truth.", + "Raw device acceleration units require capture-version verification; no conversion applied.", + "No robot commands, force, tactile measurements or execution success are provided." + ], + "hand_candidate_selection": { + "candidates": 3176, + "kept": 1638, + "duplicate_groups": 1346, + "label_conflicts": 1250, + "max_hands": 2 + }, + "clock_mapping": { + "method": "explicit_source_frame_id_with_discard_flags", + "mapping_version": 2, + "displayed_frame_count": 3465, + "discarded_packet_count": 1, + "time_domain": "rgb_pts_relative_to_first_frame", + "frame_count": 3466, + "max_original_clock_difference_ms": 86.05029166598399, + "physical_sync_accuracy": "not_independently_measured" + }, + "internal_only_channels": [ + "body_pose", + "privacy", + "measured_depth_index", + "hand_pose_candidates" + ], + "release_scope": "public evaluation sample; estimated annotations experimental" +} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..18181ba6da4db665eca08cc125f91d9e038a6220 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +numpy>=1.26,<3 +polars>=1,<2 +opencv-python>=4.10,<5 diff --git a/review/onion-preparation-overlay.mp4 b/review/onion-preparation-overlay.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..755eb0db32f8980f8577ec766d14bce19de4b635 --- /dev/null +++ b/review/onion-preparation-overlay.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ee9d3c75da721a39c65cefe2004231564bc9298c6a26b8dae623fdc8108e262 +size 41104551 diff --git a/review/pepper-dicing-overlay.mp4 b/review/pepper-dicing-overlay.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..47555f2665e85a17be2920f720138d2db3c8329e --- /dev/null +++ b/review/pepper-dicing-overlay.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aad594507f78e2667c9092bc756a1ab4fba4fe949f5bca8eceb52e93695d14bb +size 20062460 diff --git a/review/pepper-slicing-overlay.mp4 b/review/pepper-slicing-overlay.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..913da2822b1e06eff7e181092aca56901c0e4781 --- /dev/null +++ b/review/pepper-slicing-overlay.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:caf98485a6e87585fe9cdfbcfd8ec2505d2cf0c25903be492df6c2a9c9024a90 +size 35128548 diff --git a/sensors/onion-preparation.zip b/sensors/onion-preparation.zip new file mode 100644 index 0000000000000000000000000000000000000000..7a399b1c0548a7425f350cf067d8e113a815869c --- /dev/null +++ b/sensors/onion-preparation.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3257b74551aed7ed90adffc7d2462a11234b984ad9d2b393c241420cb0520ca +size 97188646 diff --git a/sensors/pepper-dicing.zip b/sensors/pepper-dicing.zip new file mode 100644 index 0000000000000000000000000000000000000000..950243bfce8d6fbbe423d7dedd3fd6c10c9051ec --- /dev/null +++ b/sensors/pepper-dicing.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:477b42ac2c8044dc3ecec64a9f86429cc379f3e6ab7ba1a0c7ad24f48db45fa5 +size 44398868 diff --git a/sensors/pepper-slicing.zip b/sensors/pepper-slicing.zip new file mode 100644 index 0000000000000000000000000000000000000000..f8181b63dcc43842812afd46001e112f443e87b4 --- /dev/null +++ b/sensors/pepper-slicing.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6ad8727007b28c635c0626b0e250c34981e46ac681d2009b143ed5117b139bc +size 75892341 diff --git a/source_preservation.json b/source_preservation.json new file mode 100644 index 0000000000000000000000000000000000000000..93a4e2a6481d1a5ec9f5227dcfd3d5065d727805 --- /dev/null +++ b/source_preservation.json @@ -0,0 +1,24 @@ +{ + "status": "passed", + "method": "SHA-256 comparison of decoded ZIP member bytes, including original native RGB", + "episodes": [ + { + "capture_id": "onion-preparation", + "source_archive_sha256": "4a25f7c7080ee803ce6e9d4837ae2de68df296b37f60e37b43dce02ce04d87a4", + "native_video_unchanged": true, + "sensor_members_byte_identical": 9091 + }, + { + "capture_id": "pepper-slicing", + "source_archive_sha256": "166703cbbc48dea22dbde6b7ef461c51199f244bb5d86a60fce1449066d062b4", + "native_video_unchanged": true, + "sensor_members_byte_identical": 6935 + }, + { + "capture_id": "pepper-dicing", + "source_archive_sha256": "fa7c7f295d02aab54901688f44d666283ba43f35a97a2b03c3ea7fe2351ce49b", + "native_video_unchanged": true, + "sensor_members_byte_identical": 4129 + } + ] +} \ No newline at end of file diff --git a/validate_release.py b/validate_release.py new file mode 100644 index 0000000000000000000000000000000000000000..6863910fb06a7c008ea138095124cddc7cf0ba63 --- /dev/null +++ b/validate_release.py @@ -0,0 +1,55 @@ +"""Validate the actual portable release with no processing-stack imports.""" +from pathlib import Path +import sys,json,hashlib,math,subprocess,argparse,zipfile +sys.dont_write_bytecode=True +import numpy as np +import polars as pl +parser=argparse.ArgumentParser(description=__doc__);parser.add_argument("root",type=Path);parser.add_argument("--write-report",action="store_true") +args=parser.parse_args();root=args.root.resolve();sys.path.insert(0,str(root)) +from observation_reader import ObservationDataset,camera_points +from datasets import load_dataset,Video +sample=ObservationDataset(root);report={"reader_environment":"isolated numpy/polars/opencv + Hugging Face Datasets", "episodes":[], "annotation_accuracy":"not_independently_measured", "robot_transfer":"not_evaluated"} +assert len(sample.episodes)==3 +for key,e in sample.episodes.items(): + mapping=sample.table(key,"frame_mapping");display=mapping.filter(pl.col("rgb_decodable")) + assert display.height==e["frame_count"] + assert mapping["source_frame_index"].to_list()==list(range(mapping.height)) + with zipfile.ZipFile(root/e["sensors"]) as archive: + names=set(archive.namelist()) + for source_idx in mapping["source_frame_index"]: + assert all(f"{kind}/{source_idx:06d}.png" in names for kind in ("depth","confidence")) + assert display["rgb_frame_index"].to_list()==list(range(e["frame_count"])) + assert display["t_s"][0]==0 + indices=[0,e["frame_count"]//4,e["frame_count"]//2,3*e["frame_count"]//4,e["frame_count"]-1] + tests=[] + for idx in indices: + frame=sample.frame(key,idx) + assert frame["rgb"].shape==(e["height"],e["width"],3) + assert frame["confidence"].shape==frame["depth_m"].shape + assert np.isfinite(frame["K_rgb"]).all() and frame["K_rgb"][0,0]>0 + assert np.isfinite(frame["camera_pose_xyzw"]).all() + assert abs(np.linalg.norm(frame["camera_pose_xyzw"][3:])-1)<1e-3 + assert (frame["depth_m"][~frame["depth_valid"]]==0).all() + points=camera_points(frame); assert np.isfinite(points).all() and len(points)>0 + tests.append({"rgb_frame_index":idx,"source_frame_index":frame["source_frame_index"],"valid_depth_points":len(points)}) + hand=sample.table(key,"hand_pose") + assert all(hand[k].null_count()==hand.height for k in ("z","wx","wy","wz")) + assert sample.annotations_near(key,"hand_pose",1e6).height==0 + report["episodes"].append({"capture_id":key,"displayed_rgb_frames":e["frame_count"],"source_sensor_frames":mapping.height,"decoded_samples":tests,"hand_rows":hand.height,"handedness_rows":hand.group_by("handedness").len().sort("handedness").to_dicts()}) +# Load the embedded preview catalog with the actual Hugging Face library. +catalog=load_dataset("parquet",data_files={"sample":str(root/"data/episodes.parquet")})["sample"] +assert isinstance(catalog.features["video"],Video) +catalog=catalog.cast_column("video",Video(decode=False));assert len(catalog)==3 +for row in catalog: + assert row["video"]["bytes"] and row["instruction"] +report["huggingface_preview"]={"rows":3,"video_feature":True,"embedded_video_bytes":True} +checked=0 +for line in (root/"checksums.sha256").read_text().splitlines(): + expected,rel=line.split(" ",1);actual=hashlib.file_digest((root/rel).open("rb"),"sha256").hexdigest() + assert actual==expected,rel + checked+=1 +report["verified_artifact_hashes"]=checked +report["status"]="passed" +if args.write_report: + (root/"validation.json").write_text(json.dumps(report,indent=2),encoding="utf-8") +print(json.dumps(report,indent=2)) diff --git a/validation.json b/validation.json new file mode 100644 index 0000000000000000000000000000000000000000..178fd225a47875dba8004811fdb2d95729adb7de --- /dev/null +++ b/validation.json @@ -0,0 +1,155 @@ +{ + "reader_environment": "isolated numpy/polars/opencv + Hugging Face Datasets", + "episodes": [ + { + "capture_id": "onion-preparation", + "displayed_rgb_frames": 4543, + "source_sensor_frames": 4544, + "decoded_samples": [ + { + "rgb_frame_index": 0, + "source_frame_index": 1, + "valid_depth_points": 45045 + }, + { + "rgb_frame_index": 1135, + "source_frame_index": 1136, + "valid_depth_points": 45331 + }, + { + "rgb_frame_index": 2271, + "source_frame_index": 2272, + "valid_depth_points": 44679 + }, + { + "rgb_frame_index": 3407, + "source_frame_index": 3408, + "valid_depth_points": 46985 + }, + { + "rgb_frame_index": 4542, + "source_frame_index": 4543, + "valid_depth_points": 44510 + } + ], + "hand_rows": 45864, + "handedness_rows": [ + { + "handedness": "left", + "len": 2289 + }, + { + "handedness": "right", + "len": 11592 + }, + { + "handedness": "unknown", + "len": 31983 + } + ] + }, + { + "capture_id": "pepper-slicing", + "displayed_rgb_frames": 3465, + "source_sensor_frames": 3466, + "decoded_samples": [ + { + "rgb_frame_index": 0, + "source_frame_index": 1, + "valid_depth_points": 45011 + }, + { + "rgb_frame_index": 866, + "source_frame_index": 867, + "valid_depth_points": 43863 + }, + { + "rgb_frame_index": 1732, + "source_frame_index": 1733, + "valid_depth_points": 45088 + }, + { + "rgb_frame_index": 2598, + "source_frame_index": 2599, + "valid_depth_points": 44886 + }, + { + "rgb_frame_index": 3464, + "source_frame_index": 3465, + "valid_depth_points": 46286 + } + ], + "hand_rows": 35427, + "handedness_rows": [ + { + "handedness": "left", + "len": 882 + }, + { + "handedness": "right", + "len": 693 + }, + { + "handedness": "unknown", + "len": 33852 + } + ] + }, + { + "capture_id": "pepper-dicing", + "displayed_rgb_frames": 2062, + "source_sensor_frames": 2063, + "decoded_samples": [ + { + "rgb_frame_index": 0, + "source_frame_index": 1, + "valid_depth_points": 43785 + }, + { + "rgb_frame_index": 515, + "source_frame_index": 516, + "valid_depth_points": 47428 + }, + { + "rgb_frame_index": 1031, + "source_frame_index": 1032, + "valid_depth_points": 46908 + }, + { + "rgb_frame_index": 1546, + "source_frame_index": 1547, + "valid_depth_points": 45537 + }, + { + "rgb_frame_index": 2061, + "source_frame_index": 2062, + "valid_depth_points": 45390 + } + ], + "hand_rows": 20013, + "handedness_rows": [ + { + "handedness": "left", + "len": 483 + }, + { + "handedness": "right", + "len": 483 + }, + { + "handedness": "unknown", + "len": 19047 + } + ] + } + ], + "annotation_accuracy": "not_independently_measured", + "robot_transfer": "not_evaluated", + "huggingface_preview": { + "rows": 3, + "video_feature": true, + "embedded_video_bytes": true + }, + "verified_artifact_hashes": 68, + "status": "passed" +} \ No newline at end of file diff --git a/videos/onion-preparation.mp4 b/videos/onion-preparation.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..eb1fa77a9aa9176209fb0e84cb3e2703e7c58eef --- /dev/null +++ b/videos/onion-preparation.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7279f0d51cfc9ea5d01088aaa45a1777036da8300f0316462befad9a25bdbcab +size 89001130 diff --git a/videos/pepper-dicing.mp4 b/videos/pepper-dicing.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..e0a148068174540db25c9ff2dc4c66c9a70a906e --- /dev/null +++ b/videos/pepper-dicing.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e164e7b06fa2f73e41f87eba48f59ef9b808a9b99516a9a02e6cda3afcf7558b +size 40507413 diff --git a/videos/pepper-slicing.mp4 b/videos/pepper-slicing.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..58cb8041ea55d9be2cd557c54169dd8207830f71 --- /dev/null +++ b/videos/pepper-slicing.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a7efeadc9a2bd2cdac97c7f55df35ef6cb144b64c98d707251f5caae168f1da +size 67520303