ruikle123 commited on
Commit
eb3ad04
·
1 Parent(s): df9c6b5

Update dataset card README (#6)

Browse files

- Update dataset card README (a31ef2bf268c8c746a2cc7027e2a0277a22ce5ba)

Files changed (1) hide show
  1. README.md +216 -3
README.md CHANGED
@@ -1,3 +1,216 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ pretty_name: SPIN-UV
6
+ task_categories:
7
+ - image-segmentation
8
+ tags:
9
+ - semantic-segmentation
10
+ - rgb-d
11
+ - infrared
12
+ - urban-village
13
+ - unstructured-roads
14
+ - single-track-vehicle
15
+ - multimodal-perception
16
+ - riding-state
17
+ size_categories:
18
+ - 10K<n<100K
19
+ ---
20
+
21
+ # SPIN-UV
22
+
23
+ SPIN-UV is a multimodal dataset for unstructured scene understanding in dense urban villages. It was collected from a motor-driven, human-steered single-track vehicle and pairs front-facing visual observations with frame-anchored riding-state signals. The dataset is intended to support semantic segmentation, RGB-D perception, state-conditioned traversability, temporal consistency, and motion-aware scene understanding in narrow, weakly structured urban-village corridors.
24
+
25
+ SPIN stands for Scene, Proprioception, Interaction, and Navigation. UV refers to the urban-village setting that anchors the dataset.
26
+
27
+ ## Dataset Components
28
+
29
+ The release contains two complementary parts.
30
+
31
+ ### `dataset_seg_split/`
32
+
33
+ This is the ready-to-train semantic-segmentation subset. It contains anonymized RGB images and COCO polygon annotations, split at sequence level into train, validation, and test partitions.
34
+
35
+ | Split | Images | COCO annotations |
36
+ | --- | ---: | ---: |
37
+ | train | 688 | 32,440 |
38
+ | val | 92 | 3,624 |
39
+ | test | 88 | 4,158 |
40
+ | total | 868 | 40,222 |
41
+
42
+ Each split folder contains PNG images and one COCO annotation file:
43
+
44
+ ```text
45
+ dataset_seg_split/
46
+ train/
47
+ *.png
48
+ _annotations.coco.json
49
+ val/
50
+ *.png
51
+ _annotations.coco.json
52
+ test/
53
+ *.png
54
+ _annotations.coco.json
55
+ ```
56
+
57
+ The split is sequence-level rather than image-level, so frames sampled from the same traversal do not cross train, validation, and test partitions.
58
+
59
+ ### `dataset_sequences/`
60
+
61
+ This is the processed raw multimodal sequence release. It contains 89 traversal sequences and 132,293 uploaded files after excluding per-sequence `config_snapshot.json` files.
62
+
63
+ Verified raw-sequence statistics:
64
+
65
+ | Item | Count |
66
+ | --- | ---: |
67
+ | sequences | 89 |
68
+ | uploaded raw files | 132,293 |
69
+ | excluded `config_snapshot.json` files | 89 |
70
+ | RGB frames | 26,575 |
71
+ | aligned depth images | 25,665 |
72
+ | native depth images | 26,519 |
73
+ | depth preview images | 26,502 |
74
+ | infrared images | 26,498 |
75
+ | total raw image files | 131,759 |
76
+ | frame-index rows | 27,721 |
77
+ | frame-aligned riding-state rows | 27,721 |
78
+ | high-rate riding-state rows | 347,272 |
79
+
80
+ A typical sequence is organized as:
81
+
82
+ ```text
83
+ dataset_sequences/
84
+ sequence_YYYYMMDD_HHMMSS/
85
+ events/
86
+ events.csv
87
+ frames/
88
+ rgb/
89
+ depth/
90
+ depth_native/
91
+ depth_preview/
92
+ ir/
93
+ frame_index.csv
94
+ synced_frame_state.csv
95
+ meta/
96
+ camera.json
97
+ session.json
98
+ state/
99
+ state.csv
100
+ ```
101
+
102
+ The raw sequence folders include Intel RealSense D435i RGB-D and infrared streams, timestamp records, camera metadata, traversal metadata, event logs, and state signals such as speed, wheel RPM, steering angle, roll, pitch, yaw, gyroscope, accelerometer, and temperature fields.
103
+
104
+ ## Semantic Labels
105
+
106
+ The native semantic taxonomy contains 19 labels:
107
+
108
+ ```text
109
+ bicycle, bin, building, car, clutter, dog, person, pole, rider,
110
+ road, roadblock, scooter, sidewalk, sky, trafficsign, tricycle,
111
+ truck, vegetation, wall
112
+ ```
113
+
114
+ The COCO export also contains a root category named `CUVscapes` as the Roboflow project category. The paper benchmark trains with the full native taxonomy and reports the main diagnostic mIoU on 13 analysis labels:
115
+
116
+ ```text
117
+ building, scooter, road, car, wall, clutter, sky, sidewalk,
118
+ vegetation, pole, person, tricycle, roadblock
119
+ ```
120
+
121
+ The remaining six labels, `bicycle`, `bin`, `dog`, `rider`, `trafficsign`, and `truck`, remain in the annotations as supplemental context labels.
122
+
123
+ ## Quick Start
124
+
125
+ Download only the trainable semantic-segmentation subset:
126
+
127
+ ```bash
128
+ hf download ruikle123/SPIN-UV \
129
+ --repo-type dataset \
130
+ --include "dataset_seg_split/**" \
131
+ --local-dir SPIN-UV
132
+ ```
133
+
134
+ Download the full raw sequence release:
135
+
136
+ ```bash
137
+ hf download ruikle123/SPIN-UV \
138
+ --repo-type dataset \
139
+ --include "dataset_sequences/**" \
140
+ --local-dir SPIN-UV
141
+ ```
142
+
143
+ Read a COCO annotation file:
144
+
145
+ ```python
146
+ import json
147
+ from pathlib import Path
148
+
149
+ ann_path = Path("SPIN-UV/dataset_seg_split/train/_annotations.coco.json")
150
+ with ann_path.open("r", encoding="utf-8") as f:
151
+ coco = json.load(f)
152
+
153
+ print(len(coco["images"]))
154
+ print(len(coco["annotations"]))
155
+ print([c["name"] for c in coco["categories"]])
156
+ ```
157
+
158
+ Inspect the aligned RGB-D and state streams for one sequence:
159
+
160
+ ```python
161
+ import pandas as pd
162
+ from pathlib import Path
163
+
164
+ seq = Path("SPIN-UV/dataset_sequences/sequence_19700101_080403")
165
+ frame_index = pd.read_csv(seq / "frames" / "frame_index.csv")
166
+ synced_state = pd.read_csv(seq / "frames" / "synced_frame_state.csv")
167
+
168
+ print(frame_index.columns.tolist())
169
+ print(synced_state[["frame_id", "speed_mps", "steering_angle_actual_deg", "roll_deg", "pitch_deg", "yaw_deg"]].head())
170
+ ```
171
+
172
+ ## Collection Platform
173
+
174
+ SPIN-UV was collected with a single-track vehicle platform operated by a seated human rider. The rear hub motor provides propulsion, while the human rider controls direction through the handlebar. The sensing stack records:
175
+
176
+ - RGB, aligned depth, native depth, depth preview, and infrared observations from an Intel RealSense D435i.
177
+ - Passive steering feedback.
178
+ - Rear wheel and hub-motor feedback.
179
+ - External IMU attitude and inertial measurements.
180
+ - Software timestamp alignment between visual frames and riding-state streams.
181
+
182
+ The current capture configuration stores RGB and depth at `1280x720`. Temporal analyses should use the recorded timestamps in the CSV files rather than assuming a fixed frame rate.
183
+
184
+ ## Intended Uses
185
+
186
+ This dataset is designed for:
187
+
188
+ - RGB semantic segmentation in dense urban-village scenes.
189
+ - RGB-D semantic segmentation and multimodal feature fusion.
190
+ - State-conditioned traversability and obstacle/free-space reasoning.
191
+ - Temporal and motion-aware perception for single-track vehicles.
192
+ - Domain-transfer studies from structured-road datasets to narrow urban-village corridors.
193
+
194
+ ## Limitations and Responsible Use
195
+
196
+ The dataset focuses on a specific urban-village, low-speed, single-track traversal regime. It is not intended to represent all cities, all road conditions, all weather, or all vehicle platforms. Models trained on SPIN-UV should be evaluated carefully before use outside similar environments.
197
+
198
+ The semantic subset uses anonymized RGB images. The raw sequence release contains rich multimodal traversal data and should be used only for research and development purposes consistent with the dataset license. Do not attempt to identify people, riders, locations, or private attributes from the data.
199
+
200
+ ## Citation
201
+
202
+ If you use SPIN-UV, please cite the dataset and this repository. A paper citation will be added when the manuscript is public.
203
+
204
+ ```bibtex
205
+ @dataset{spin_uv_2026,
206
+ title = {SPIN-UV: A Multimodal Dataset for Unstructured Scene Understanding in Urban Villages},
207
+ author = {SPIN-UV Authors},
208
+ year = {2026},
209
+ publisher = {Hugging Face},
210
+ url = {https://huggingface.co/datasets/ruikle123/SPIN-UV}
211
+ }
212
+ ```
213
+
214
+ ## License
215
+
216
+ This dataset is released under the Apache 2.0 license.