EGO-v2 / README.md
The11One's picture
Update README.md
d0ba6e5 verified
|
Raw History Blame Contribute Delete
16.7 kB
metadata
license: apache-2.0
pretty_name: Human Ego Wrist6D Motion Dataset
task_categories:
  - robotics
tags:
  - lerobot
  - orbbec
  - orbbec-ego
  - hand-pose
  - egocentric
  - human-hand-motion
  - wrist-pose
  - motion-prediction
  - vla
  - behavior-cloning
configs:
  - config_name: default
    data_files:
      - split: train
        path:
          - >-
            lerobot_EGO_AK7J864000C_20260907_113656_camera_left_part0001/data/chunk-*/*.parquet
          - >-
            lerobot_EGO_AK88961007R_20260922_175837_camera_left_part0001_clip_0001/data/chunk-*/*.parquet
          - >-
            lerobot_EGO_AK8M96100R5_20261014_144247_camera_left_part0002_clip_0001/data/chunk-*/*.parquet
          - >-
            lerobot_EGO_AZEL764000C_20261012_140800_camera_left_part0001_whole/data/chunk-*/*.parquet
          - >-
            lerobot_EGO_AZEL764000C_20261012_142431_camera_left_part0002_whole/data/chunk-*/*.parquet

Human Ego Wrist6D Motion Dataset

Dataset Description

This dataset contains human egocentric recordings captured using Orbbec Ego devices, together with reconstructed wrist, hand, camera, and optional object motion. The reconstruction outputs are organized in the LeRobot v3.0 format for human motion modeling, vision-to-wrist-motion prediction, and research on behavior cloning (BC) and vision-language-action (VLA) models after suitable retargeting.

This Hugging Face dataset repository hosts five independent LeRobot subsets in separate top-level directories. Together they contain 10 episodes and 15,022 frames at 30 FPS, corresponding to approximately 8 minutes 21 seconds of trajectory time. The subsets retain their own metadata, episode indices, task indices, statistics, video streams, and coordinate conventions; they have not been merged into one LeRobot dataset root.

  • Capture device: Orbbec Ego.
  • Embodiment type: human_ego_wrist6d.
  • Source: Human egocentric recordings and derived motion reconstruction outputs.
  • Modalities: RGB video, left/right wrist pose, camera pose and intrinsics, hand reconstruction features, optional object reconstruction, and validity metadata.
  • Primary state/action representation: 18-dimensional absolute left/right wrist pose.

Data Collection and Processing

The source recordings were collected using Orbbec Ego devices. All five subsets include left and right egocentric RGB streams; subset S3 additionally includes left and right wrist-view RGB streams. The available streams are listed in each subset's meta/info.json under camera_keys and features.

The published wrist, hand, camera, and object pose features are derived reconstruction results, rather than a claim of direct device measurements or independently validated motion-capture ground truth. The converted video features are RGB, are marked as non-depth video, and contain no audio according to the metadata. No additional hardware specifications or reconstruction accuracy claims are made here.

Dataset Statistics

Property Value
LeRobot codebase version v3.0
Independent subsets 5
Episodes across subsets 10
Frames across subsets 15,022
Sampling rate 30 FPS
Approximate trajectory duration (frames / FPS) 500.73 seconds
Sum of local task counts 10
Episodes with valid object tracking, per metadata 5
Episodes with absent object reconstruction 5
Episodes marked as untrusted object tracking 0

Task counts are summed from local metadata and do not imply ten distinct semantic task categories. Episode and task indices are local to each subset.

Subset Inventory

Image resolution below is width × height.

ID Subdirectory Episodes Frames Views RGB resolution Coordinate convention
S1 lerobot_EGO_AK7J864000C_20260907_113656_camera_left_part0001 6 3,643 2 1600 × 1200 gravity_aligned_z_up
S2 lerobot_EGO_AK88961007R_20260922_175837_camera_left_part0001_clip_0001 1 4,019 2 1920 × 1200 gravity_aligned_z_up
S3 lerobot_EGO_AK8M96100R5_20261014_144247_camera_left_part0002_clip_0001 1 465 4 1920 × 1200 gravity_aligned_z_up
S4 lerobot_EGO_AZEL764000C_20261012_140800_camera_left_part0001_whole 1 6,309 2 1600 × 1200 opencv_camera
S5 lerobot_EGO_AZEL764000C_20261012_142431_camera_left_part0002_whole 1 586 2 1600 × 1200 gravity_aligned_z_up

All subsets declare a training split: S1 uses train: 0:6, and S2–S5 each use train: 0:1. No validation or test split is declared. Split by source recording or episode when constructing evaluation sets, and avoid placing adjacent frames from the same recording in different splits.

Repository Structure

README.md
<subset-directory>/
├── data/
│   └── chunk-000/
│       └── file-000.parquet
├── meta/
│   ├── info.json
│   ├── stats.json
│   ├── tasks.parquet
│   ├── object_track_flags.json
│   └── episodes/
│       └── chunk-000/
│           └── file-000.parquet
└── videos/
    ├── observation.images.ego_left/
    │   └── chunk-000/file-*.mp4
    ├── observation.images.ego_right/
    │   └── chunk-000/file-*.mp4
    ├── observation.images.wrist_left/   # S3 only
    │   └── chunk-000/file-*.mp4
    └── observation.images.wrist_right/  # S3 only
        └── chunk-000/file-*.mp4

There are five <subset-directory> entries, named exactly as in the inventory above. Paths in each meta/info.json are relative to that subset's root:

data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet
videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4

Feature Schema

Wrist State and Action

Both observation.state and action have dtype float32 and shape (18,):

[L_pos3, L_rot6d, R_pos3, R_rot6d]

Each hand contributes three position values and six rotation values. The metadata specifies:

hand_pose_space: wrist6d_world
rotation_6d_convention: first_two_rows_row_major
action_convention: absolute_next_state

The 6D rotation is formed from the first two rows of a rotation matrix, in row-major order. Conversion code must preserve this convention.

Within each episode, the intended action convention is:

action[t] = observation.state[t + 1]

The action is an absolute next-frame wrist pose, rather than a displacement or velocity. As described in the source card, the final frame repeats the current state as a placeholder action. Exclude episode-terminal frames from next-frame supervision and verify terminal handling in the exported data before training. Never create next-frame targets across episode boundaries.

These human wrist poses require coordinate alignment, calibration, and robot-specific retargeting before they can be used for robot execution.

RGB Video

Feature Availability Shape (height, width, channels)
observation.images.ego_left All subsets (1200, 1600, 3) in S1/S4/S5; (1200, 1920, 3) in S2/S3
observation.images.ego_right All subsets Same as the corresponding left stream
observation.images.wrist_left S3 only (1200, 1920, 3)
observation.images.wrist_right S3 only (1200, 1920, 3)

The metadata specifies 30 FPS, libx264, yuv420p, no depth maps, and no audio for these video features. Training across subsets requires an explicit strategy for different image widths and missing wrist-view streams. Verify temporal alignment between video and trajectory data for the intended application.

Geometry, Hand, and Index Features

The following non-video schema is shared by all five subsets. Shapes follow meta/info.json.

Feature Dtype Shape
observation.camera_to_world float32 (16,)
observation.camera_valid bool (1,)
observation.camera_intrinsics float32 (4,)
observation.object_to_camera float32 (16,)
observation.object_to_world float32 (16,)
observation.object_scale float32 (1,)
observation.object_valid bool (1,)
observation.hand_left.wrist_camera float32 (16,)
observation.hand_left.wrist_world float32 (16,)
observation.hand_left.finger_pose float32 (45,)
observation.hand_left.betas float32 (10,)
observation.hand_left.scale float32 (1,)
observation.hand_left.valid bool (1,)
observation.hand_right.wrist_camera float32 (16,)
observation.hand_right.wrist_world float32 (16,)
observation.hand_right.finger_pose float32 (45,)
observation.hand_right.betas float32 (10,)
observation.hand_right.scale float32 (1,)
observation.hand_right.valid bool (1,)
episode_index int64 (1,)
frame_index int64 (1,)
timestamp float32 (1,)
next.done bool (1,)
index int64 (1,)
task_index int64 (1,)
  • observation.camera_to_world stores a flattened 4 × 4 camera-to-world transform.
  • observation.camera_intrinsics stores [fx, fy, cx, cy]. This single feature does not establish separate intrinsics for every available video stream; inspect calibration provenance before multi-camera geometric use.
  • observation.object_to_camera and observation.object_to_world store flattened 4 × 4 transforms; observation.object_scale stores reconstructed object scale.
  • observation.hand_left.wrist_camera / wrist_world and their right-hand counterparts store flattened 4 × 4 wrist transforms.
  • The 16-element transform features use row-major storage.
  • Each hand has a 45-value finger_pose feature named as 15 triples, a 10-value betas vector, a scale, and a validity flag. The metadata does not fully define the anatomical or model semantics of finger_pose; consult the reconstruction pipeline before interpreting it as joint positions or angles.
  • episode_index, frame_index, timestamp, index, and task_index identify temporal samples within each subset; next.done is the exported terminal flag.

Coordinate Conventions

The coordinate convention is not uniform across all subsets. Always read the selected subset's meta/info.json, especially frame.frame, frame.axis, and frame.world_origin.

Subsets Frame label Axes Gravity axis
S1, S2, S3, S5 world_gravity_aligned X right, Y horizontal camera forward, Z up negative_z
S4 world_slam OpenCV camera convention: X right, Y down, Z forward positive_y

All subsets declare world_origin: first_camera_pose and camera_motion_compensated: true. These are reconstruction-local world frames; they do not establish one shared global origin across recordings. Normalize coordinate conventions before pooling pose targets across subsets.

In S1, the top-level frame.n_frames and frame.camera_is_valid_frames both report 330, while the subset contains 3,643 frames across six episodes. Treat these top-level values as insufficient for aggregate camera-validity statistics; use per-frame validity flags when analyzing the full subset.

Validity and Object Tracking

The following counts are taken from hand_valid_frames and object_states in each subset's metadata, rather than a fresh frame-by-frame audit.

Subset Frames Valid left-hand frames Valid right-hand frames Object-valid episodes Object-absent episodes
S1 3,643 3,643 3,643 3 3
S2 4,019 3,782 4,019 0 1
S3 465 465 465 0 1
S4 6,309 6,309 6,309 1 0
S5 586 586 586 1 0

S2 contains 237 frames where the left hand is not marked valid. Use the per-frame observation.hand_left.valid and observation.hand_right.valid flags when selecting supervision targets; a next-frame target requires appropriate validity at the target frame as well.

Object channels are present in the schema even when no object was reconstructed. For episodes marked absent, metadata states that object transforms are identity matrices, scale is 1.0, and observation.object_valid is false. These values are placeholders and do not represent valid object supervision. Gate object losses and analysis on the validity flag. Camera-derived supervision should likewise respect observation.camera_valid.

Hugging Face Dataset Viewer

The YAML header defines one configuration per subset and explicitly selects only data/chunk-*/*.parquet as the training split. Choose a configuration in the Dataset Viewer to inspect its trajectory rows. Metadata Parquet files such as meta/tasks.parquet and meta/episodes/... are excluded because they describe different tables.

These configurations expose tabular trajectory data; they do not merge the subsets or change their local indices and coordinate conventions. LeRobot video streams remain separate MP4 files. Selecting trajectory Parquet files in YAML does not automatically turn those external videos into playable video columns in the generic Dataset Viewer. Use LeRobot or a dedicated visualization workflow for synchronized video and motion inspection.

Loading from This Repository

Because the repository contains multiple LeRobot roots in subdirectories, select and download a subset before loading it. Calling LeRobotDataset with only this repository ID does not select a nested subset automatically.

Install huggingface_hub and a LeRobot release compatible with the v3.0 format. Replace YOUR_USERNAME/YOUR_DATASET with the actual repository ID:

from pathlib import Path
from huggingface_hub import snapshot_download
from lerobot.datasets.lerobot_dataset import LeRobotDataset

repo_id = "YOUR_USERNAME/YOUR_DATASET"
subset = "lerobot_EGO_AK7J864000C_20260907_113656_camera_left_part0001"

# Download the selected subset while preserving its directory structure.
# For a private repository, first authenticate with `hf auth login`.
snapshot_root = snapshot_download(
    repo_id=repo_id,
    repo_type="dataset",
    allow_patterns=[f"{subset}/**"],
)
subset_root = Path(snapshot_root) / subset
assert (subset_root / "meta" / "info.json").is_file()

ds = LeRobotDataset(repo_id=repo_id, root=subset_root)
print(ds)

Change subset to another directory from the inventory to load a different subset. This loads each subset separately and does not merge the five datasets. A unified training dataset requires explicit handling of local indices, coordinate frames, camera availability, image resolution, and statistics.

Recommended Uses and Limitations

  • Vision-to-wrist-motion prediction: condition on available images and current wrist state to predict the absolute next-frame wrist pose.
  • Human hand motion modeling: use wrist and auxiliary hand features with validity masking and verified reconstruction semantics.
  • Camera-aware or object-aware modeling: use camera and optional object geometry only where the corresponding validity flags permit it.
  • Robot VLA / BC research: use derived human motion as supervision after robot-specific mapping. Metadata declares requires_retarget_for_robot_execution: true.

The data contains reconstructed motion and may include reconstruction errors or missing tracks. Numerical validity, video alignment, next-frame target semantics, and transform conventions should be checked for the intended training pipeline. The ten episodes constitute a small collection and do not establish broad task or participant coverage. Semantic language instruction quality is not established by the local task counts alone.

Provenance

Each subset records source episode identifiers in episode_tags and reconstruction source references in episode_sources. Preserve this provenance when deriving or merging datasets. Acquisition used Orbbec Ego devices; subsequent reconstruction and LeRobot conversion produced the published numerical features.

License

This dataset is licensed under the Apache License, Version 2.0. Use, modification, and redistribution are subject to its terms and conditions.

Privacy and Responsible Use

Egocentric recordings may contain identifiable people or environmental information. Public release and redistribution should follow the data owner's permissions and applicable consent requirements. This card does not establish that a privacy or consent audit has been completed.

Citation

Acquisition hardware: Orbbec Ego.