Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -34,10 +34,28 @@ Full profiling details: [`tools/taco_analysis/profile_comparison.md`](tools/taco
|
|
| 34 |
* **12** allocentric cameras per sequence at **512x376**
|
| 35 |
* 2D segmentation masks at **375x512**
|
| 36 |
* Egocentric RGB-D videos (original resolution)
|
| 37 |
-
* Hand-object pose annotations
|
| 38 |
* **206** high-resolution object models
|
| 39 |
* Camera parameters (intrinsics rescaled)
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
### Downloading
|
| 42 |
|
| 43 |
```bash
|
|
@@ -52,16 +70,32 @@ cd taco_dataset_resized
|
|
| 52 |
for z in *.zip; do unzip -qn "$z"; done
|
| 53 |
```
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
```python
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
repo_type="dataset",
|
| 61 |
-
local_dir="taco_dataset_resized",
|
| 62 |
-
max_workers=1,
|
| 63 |
-
)
|
| 64 |
```
|
|
|
|
| 65 |
### Related
|
| 66 |
|
| 67 |
- **Original full-resolution dataset**: [mzhobro/taco_dataset](https://huggingface.co/datasets/mzhobro/taco_dataset)
|
|
@@ -72,6 +106,7 @@ The `tools/` directory contains:
|
|
| 72 |
- `taco_dataset_loader.py` — PyTorch Dataset class for loading TACO data
|
| 73 |
- `view_sampler.py` — Camera view sampling strategies
|
| 74 |
- `generate_taco_csv.py` — Generate `taco_info.csv` metadata
|
|
|
|
| 75 |
- `taco_analysis/` — Analysis and visualization scripts (dataset stats, camera extrinsics, epipolar lines, mesh overlays, profiling)
|
| 76 |
- `resizing_pipeline/` — Scripts used to produce this resized dataset from the original
|
| 77 |
|
|
|
|
| 34 |
* **12** allocentric cameras per sequence at **512x376**
|
| 35 |
* 2D segmentation masks at **375x512**
|
| 36 |
* Egocentric RGB-D videos (original resolution)
|
| 37 |
+
* Hand-object pose annotations + pre-computed 3D hand joints
|
| 38 |
* **206** high-resolution object models
|
| 39 |
* Camera parameters (intrinsics rescaled)
|
| 40 |
|
| 41 |
+
### Archive Contents
|
| 42 |
+
|
| 43 |
+
| Archive | Size | Contents |
|
| 44 |
+
| --- | ---: | --- |
|
| 45 |
+
| `Marker_Removed_Allocentric_RGB_Videos.zip` | 4.3 GB | 12 camera MP4s per sequence (512x376) |
|
| 46 |
+
| `2D_Segmentation.zip` | 145 GB | Per-camera segmentation masks (375x512 npy) |
|
| 47 |
+
| `Hand_Poses.zip` | 25.9 GB | MANO params (pkl) + pre-computed 3D joints (npy) |
|
| 48 |
+
| `Hand_Poses_3D.zip` | 160 MB | **3D joints only** — `hand_joints.npy` per sequence `(T, 2, 21, 3)` float32 |
|
| 49 |
+
| `Object_Poses.zip` | 64 MB | Object 6DoF transforms (npy) |
|
| 50 |
+
| `Egocentric_RGB_Videos.zip` | 641 MB | Egocentric RGB videos |
|
| 51 |
+
| `Egocentric_Depth_Videos.zip.*` | 959 MB | Egocentric depth videos (split archive) |
|
| 52 |
+
| `object_models_released.zip` | ~1.2 GB | 206 high-res object meshes |
|
| 53 |
+
| `mano_v1_2.zip` | small | MANO hand model files |
|
| 54 |
+
|
| 55 |
+
`Allocentric_Camera_Parameters/` and `taco_info.csv` are stored directly (not zipped).
|
| 56 |
+
|
| 57 |
+
**Tip:** If you only need 3D hand joints (not raw MANO parameters), download `Hand_Poses_3D.zip` (160 MB) instead of `Hand_Poses.zip` (26 GB).
|
| 58 |
+
|
| 59 |
### Downloading
|
| 60 |
|
| 61 |
```bash
|
|
|
|
| 70 |
for z in *.zip; do unzip -qn "$z"; done
|
| 71 |
```
|
| 72 |
|
| 73 |
+
```bash
|
| 74 |
+
# Minimal download (allocentric videos + cameras + 3D hand joints only)
|
| 75 |
+
huggingface-cli download mzhobro/taco_dataset_resized \
|
| 76 |
+
--repo-type dataset \
|
| 77 |
+
--include "*.csv" "*.sh" "*.md" \
|
| 78 |
+
"Marker_Removed_Allocentric_RGB_Videos.zip" \
|
| 79 |
+
"Allocentric_Camera_Parameters/**" \
|
| 80 |
+
"Hand_Poses_3D.zip" \
|
| 81 |
+
--local-dir taco_dataset_resized
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
### Hand Poses 3D Format
|
| 85 |
+
|
| 86 |
+
`Hand_Poses_3D/{action}/{sequence_id}/hand_joints.npy` — shape `(T, 2, 21, 3)`:
|
| 87 |
+
- **T**: number of frames
|
| 88 |
+
- **Dim 1**: 0=left hand, 1=right hand
|
| 89 |
+
- **21 joints**: wrist, index(MCP,PIP,DIP,tip), middle(...), ring(...), pinky(...), thumb(CMC,MCP,IP,tip)
|
| 90 |
+
- **3**: xyz world coordinates in meters
|
| 91 |
+
|
| 92 |
```python
|
| 93 |
+
# Loading in the dataset loader
|
| 94 |
+
ds = TACODataset(..., load_hand_joints=True)
|
| 95 |
+
sample = ds[0]
|
| 96 |
+
sample["hand_joints"] # (T, 2, 21, 3) float32
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
```
|
| 98 |
+
|
| 99 |
### Related
|
| 100 |
|
| 101 |
- **Original full-resolution dataset**: [mzhobro/taco_dataset](https://huggingface.co/datasets/mzhobro/taco_dataset)
|
|
|
|
| 106 |
- `taco_dataset_loader.py` — PyTorch Dataset class for loading TACO data
|
| 107 |
- `view_sampler.py` — Camera view sampling strategies
|
| 108 |
- `generate_taco_csv.py` — Generate `taco_info.csv` metadata
|
| 109 |
+
- `precompute_hand_joints.py` — Pre-compute 3D hand joints from MANO parameters
|
| 110 |
- `taco_analysis/` — Analysis and visualization scripts (dataset stats, camera extrinsics, epipolar lines, mesh overlays, profiling)
|
| 111 |
- `resizing_pipeline/` — Scripts used to produce this resized dataset from the original
|
| 112 |
|