Datasets:
Update README with motion annotations docs, usage examples, and known limitations
Browse files9 unmodified lines101112131415161718192021222324252 unmodified lines282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737414 unmodified lines89909192939495969798991001011021031041051061071081091101111121131141151161172 unmodified lines1201211221231241251261271281291301311329 unmodified lines- manipulation- 6dof- mediapipesize_categories:- 10K<n<100Klanguage:- enpretty_name: Dynamic Intelligence Humanoid Robots Training Dataset---# Dynamic Intelligence - Humanoid Robots Training DatasetRGB-D hand manipulation dataset captured with iPhone 13 TrueDepth sensor for humanoid robot training.## 📊 Dataset Overview2 unmodified lines| Episodes | 97 || Total Frames | ~28,000 || FPS | 30 || Tasks | 10 manipulation tasks (folding, picking, placing) |---## 📁 Structure```data/├── data/chunk-000/ # Parquet files per episode│ ├── episode_000000.parquet│ ├── episode_000001.parquet│ └── ...├── videos/chunk-000/rgb/ # MP4 videos per episode│ ├── episode_000000.mp4│ └── ...└── meta/├── info.json # Dataset metadata├── stats.json # Feature statistics├── events.json # Disturbance/recovery annotations└── depth_quality_summary.json # Depth QC metrics```---## 🎯 Parquet Schema (per episode)| Column | Type | Description ||--------|------|-------------|| `episode_index` | int64 | Episode number (0-96) || `frame_index` | int64 | Frame within episode || `timestamp` | float64 | Time in seconds || `language_instruction` | string | Task description (e.g., "Fold the white t-shirt") || `observation.state` | float[90] | 15 hand joints × 6 DoF (x,y,z in cm + yaw,pitch,roll in deg) || `action` | float[90] | Same as state (for imitation learning) || `observation.images.rgb` | struct | Video path + timestamp |---## 📋 Events Metadata (`meta/events.json`)Annotated disturbances and recovery actions for select episodes.### Disturbance Types| Type | Description |14 unmodified lines---## 📈 Depth Quality Metrics (`meta/depth_quality_summary.json`)Quality control metrics for each episode's depth data.| Metric | Description | Dataset Average ||--------|-------------|-----------------|| `valid_depth_pct` | % of frames with valid depth at hand location | 95.5% ✅ || `plane_rms_mm` | RMS deviation from flat surface (mm) | 5.73mm ✅ |---## 🔧 Capture Setup- **Device:** iPhone 13 Pro (TrueDepth front camera)- **RGB Resolution:** 640×480 @ 30fps- **Depth Resolution:** 640×480 (synchronized with RGB)- **Depth Format:** Meters (float32)- **Hand Tracking:** MediaPipe (21 landmarks → 15 selected joints)- **6-DoF Computation:** Back-projection + vector kinematics---## 🚀 Usage with LeRobot```pythonfrom lerobot.common.datasets.lerobot_dataset import LeRobotDataset2 unmodified lines# Access episodeepisode = dataset[0]state = episode["observation.state"] # [90] hand posergb = episode["observation.images.rgb"] # Video frame```---## 📧 Contact**Organization:** [Dynamic Intelligence](https://huggingface.co/DynamicIntelligence)9 unmodified lines10111213141516171819202122232425262728292 unmodified lines323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016114 unmodified lines1761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082 unmodified lines2112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892909 unmodified lines- manipulation- 6dof- mediapipe- egocentric- motion-semanticssize_categories:- 10K<n<100Klanguage:- enpretty_name: Dynamic Intelligence - Egocentric Human Motion Annotation Dataset---# Dynamic Intelligence - Egocentric Human Motion Annotation DatasetRGB-D hand manipulation dataset captured with iPhone 13 TrueDepth sensor for humanoid robot training. Includes 6-DoF hand pose trajectories, synchronized video, and semantic motion annotations.---## 📊 Dataset Overview2 unmodified lines| Episodes | 97 || Total Frames | ~28,000 || FPS | 30 || Tasks | 10 manipulation tasks || Total Duration | ~15.5 minutes || Avg Episode Length | ~9.6 seconds |### Task Distribution| Task ID | Description | Episodes ||---------|-------------|----------|| Task 1 | Fold the white t-shirt on the bed | 8 || Task 2 | Fold the jeans on the bed | 10 || Task 3 | Fold two underwear and stack them | 10 || Task 4 | Put the pillow on the right place | 10 || Task 5 | Pick up plate and glass, put on stove | 10 || Task 6 | Go out the door and close it | 9 || Task 7 | Pick up sandals, put next to scale | 10 || Task 8 | Put cloth in basket, close drawer | 10 || Task 9 | Screw the cap on your bottle | 10 || Task 10 | Pick up two objects, put on bed | 10 |---## 📁 Repository Structure```humanoid-robots-training-dataset/│├── data/│ └── chunk-000/ # Parquet files (97 episodes)│ ├── episode_000000.parquet│ ├── episode_000001.parquet│ └── ...│├── videos/│ └── chunk-000/rgb/ # MP4 videos (synchronized)│ ├── episode_000000.mp4│ └── ...│├── meta/ # Metadata & Annotations│ ├── info.json # Dataset configuration (LeRobot format)│ ├── stats.json # Feature min/max/mean/std statistics│ ├── events.json # Disturbance & recovery annotations│ ├── depth_quality_summary.json # Per-episode depth QC metrics│ └── annotations_motion_v1_frames.json # Motion semantics annotations│└── README.md```---## 🎯 Data Schema### Parquet Columns (per frame)| Column | Type | Description ||--------|------|-------------|| `episode_index` | int64 | Episode number (0-96) || `frame_index` | int64 | Frame within episode || `timestamp` | float64 | Time in seconds || `language_instruction` | string | Task description || `observation.state` | float[252] | 21 hand joints × 2 hands × 6 DoF || `action` | float[252] | Same as state (for imitation learning) || `observation.images.rgb` | struct | Video path + timestamp |### 6-DoF Hand Pose FormatEach joint has 6 values: `[x_cm, y_cm, z_cm, yaw_deg, pitch_deg, roll_deg]`**Coordinate System:**- Origin: Camera (iPhone TrueDepth)- X: Right (positive)- Y: Down (positive)- Z: Forward (positive, into scene)---## 🏷️ Motion Semantics Annotations**File:** `meta/annotations_motion_v1_frames.json`Coarse temporal segmentation with motion intent, phase, and error labels.### Annotation Schema```json{"episode_id": "Task1_Vid2","segments": [{"start_frame": 54,"end_frame_exclusive": 140,"motion_type": "grasp", // What action is being performed"temporal_phase": "start", // start | contact | manipulate | end"actor": "both_hands", // left_hand | right_hand | both_hands"target": {"type": "cloth_region", // cloth_region | object | surface"value": "bottom_edge" // Specific target identifier},"state": {"stage": "unfolded", // Task-specific state"flatness": "wrinkled", // For folding tasks only"symmetry": "asymmetric" // For folding tasks only},"error": "none" // misalignment | slip | drop | none}]}```### Motion Types`grasp` | `pull` | `align` | `fold` | `smooth` | `insert` | `rotate` | `open` | `close` | `press` | `hold` | `release` | `place`### Why Motion Annotations?- **Temporal Structure**: Know when manipulation phases begin/end- **Intent Understanding**: What the human intends to do, not just kinematics- **Error Detection**: Labeled failure modes (slip, drop, misalignment)- **Training Signal**: Richer supervision for imitation learning---## 📋 Events Metadata**File:** `meta/events.json`Disturbances and recovery actions for select episodes.### Disturbance Types| Type | Description |14 unmodified lines---## 📈 Depth Quality Metrics**File:** `meta/depth_quality_summary.json`| Metric | Description | Dataset Average ||--------|-------------|-----------------|| `valid_depth_pct` | % frames with valid depth at hand | 95.5% ✅ || `plane_rms_mm` | RMS deviation from flat surface | 5.73mm ✅ |---## 🔧 Capture Setup| Parameter | Value ||-----------|-------|| **Device** | iPhone 13 Pro (TrueDepth front camera) || **RGB Resolution** | 640×480 @ 30fps || **Depth Resolution** | 640×480 (synchronized) || **Depth Format** | Meters (float32) || **Hand Tracking** | MediaPipe (21 landmarks per hand) || **6-DoF Computation** | Back-projection + vector kinematics |---## 🚀 Usage### With LeRobot```pythonfrom lerobot.common.datasets.lerobot_dataset import LeRobotDataset2 unmodified lines# Access episodeepisode = dataset[0]state = episode["observation.state"] # [252] hand pose (both hands)rgb = episode["observation.images.rgb"] # Video frametask = episode["language_instruction"] # Task description```### Loading Motion Annotations```pythonimport jsonfrom huggingface_hub import hf_hub_download# Download annotationspath = hf_hub_download(repo_id="DynamicIntelligence/humanoid-robots-training-dataset",filename="meta/annotations_motion_v1_frames.json",repo_type="dataset")with open(path) as f:annotations = json.load(f)# Get segments for Task1task1_episodes = annotations["tasks"]["Task1"]["episodes"]for ep in task1_episodes:print(f"{ep['episode_id']}: {len(ep['segments'])} segments")```### Combining Pose + Annotations```python# Get frame-level motion labelsdef get_motion_label(frame_idx, segments):for seg in segments:if seg["start_frame"] <= frame_idx < seg["end_frame_exclusive"]:return seg["motion_type"], seg["temporal_phase"]return None, None# Example: label each framefor frame_idx in range(episode["frame_index"].max()):motion, phase = get_motion_label(frame_idx, episode_annotations["segments"])if motion:print(f"Frame {frame_idx}: {motion} ({phase})")```---## ⚠️ Known Limitations1. **Depth Dropouts**: Some frames have invalid depth in low-light or high-motion scenarios (~4.5% of frames)2. **Hand Tracking Accuracy**: MediaPipe may lose tracking during fast movements or self-occlusion3. **Single Viewpoint**: Egocentric only - no multi-view coverage4. **Limited Object Diversity**: Same objects used across episodes within each task5. **Annotation Coverage**: Motion annotations cover primary manipulation phases; transitional frames may be unlabeled---## 📖 CitationIf you use this dataset in your research, please cite:```bibtex@dataset{dynamic_intelligence_2024,author = {Dynamic Intelligence},title = {Egocentric Human Motion Annotation Dataset},year = {2024},publisher = {Hugging Face},url = {https://huggingface.co/datasets/DynamicIntelligence/humanoid-robots-training-dataset}}```---## 📧 Contact**Organization:** [Dynamic Intelligence](https://dynamicintelligence.company)For questions or collaboration inquiries, please open a Discussion on this repository.
README.md+196-38