RAC-Flow / README.md
Appendix41's picture
Publish RAC-Flow recordings and paired RGB/depth viewer
447d801 verified
|
Raw History Blame Contribute Delete
3.18 kB
---
pretty_name: RAC-Flow
license: apache-2.0
tags:
- rgb-d
- inertial-sensors
- multimodal
configs:
- config_name: preview
default: true
data_files:
- split: preview
path: preview/samples.parquet
---
# RAC-Flow
Color frames, depth frames and inertial sensor records from **10 recording groups and 30 trials**.
The complete recordings are distributed as ten ZIP archives (52.67 GB total). The Dataset Viewer
shows **179 labeled RGB/depth pairs**, a browsing sample, not a train or test split.
![Color and display-mapped depth frames, shown side by side for six label codes](assets/examples.jpg)
Each pair above shows the color frame on the left and a rendering of its depth frame on the right.
## Files
| Path | Contents |
| --- | --- |
| `S01.zip` through `S10.zip` | Complete archives, each containing trials `01`, `02` and `03` |
| `preview/samples.parquet` | Viewer sample with `recording`, `trial`, `label`, `frame`, `color` and `depth_preview` |
| `metadata/inventory.json` | Per-archive image counts, CSV counts, byte sizes and SHA-256 digests |
| `SHA256SUMS` | SHA-256 checksums for all ten ZIP files |
The archives contain **272,795 color PNGs, 272,788 depth PNGs and 366 CSV files**.
Inside a trial, `color/` and `depth/` hold timestamp-named frames. `left.csv`, `right.csv` and
`back.csv` contain timestamped accelerometer, gyroscope and angle channels. `label_visual.csv`
maps image filenames to label codes; other CSVs include interval annotations and paired-frame
metadata. Use the original filenames and CSV rows for alignment; image counts can differ.
## Reading the preview
For each recording, trial and observed label, the preview selects the middle filename in
timestamp order among labeled frames with **both** images present. The codes `CL`, `DR`, `DS`,
`LG`, `UR` and `US` are preserved as recorded. This sampling intentionally does not preserve
class frequencies.
The `color` column contains the original PNG bytes for the selected frame. `depth_preview`
maps the nonzero 2nd to 98th percentile range **per frame** into grayscale: nearer values are
brighter and zeros are black. Brightness is not comparable across frames. For numerical
analysis, read the depth PNG inside the ZIP, not the display image.
```python
from datasets import load_dataset
from huggingface_hub import hf_hub_download
preview = load_dataset("Appendix41/RAC-Flow", "preview", split="preview")
example = preview[0]
print(example["recording"], example["trial"], example["label"], example["frame"])
example["color"].show()
example["depth_preview"].show()
# Download one complete recording group, independently of the viewer sample.
archive = hf_hub_download("Appendix41/RAC-Flow", "S01.zip", repo_type="dataset")
```
## 中文说明
完整数据在 `S01.zip` 至 `S10.zip` 中。网页预览按记录组、场次和标签抽样,同一行是同一时间戳的彩色帧和深度帧。
预览里的灰度深度图经过逐帧对比度映射,不能直接当作距离值;定量分析请使用压缩包中的原始深度 PNG。
## License
Apache License 2.0. See [LICENSE](LICENSE).