arunkumar04 commited on
Commit
270d356
·
verified ·
1 Parent(s): 3483af9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +302 -1
README.md CHANGED
@@ -1,3 +1,304 @@
1
  ---
2
- license: cc-by-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-nc-sa-4.0
3
+ pretty_name: SPARK-2021 (SPAcecraft Recognition leveraging Knowledge of space environment)
4
+ language:
5
+ - en
6
+ size_categories:
7
+ - 100K<n<1M
8
+ task_categories:
9
+ - image-classification
10
+ - object-detection
11
+ task_ids:
12
+ - multi-class-image-classification
13
+ tags:
14
+ - spacecraft
15
+ - satellite
16
+ - space-debris
17
+ - space-situational-awareness
18
+ - rgb-d
19
+ - multi-modal
20
+ - synthetic
21
+ annotations_creators:
22
+ - machine-generated
23
+ language_creators:
24
+ - machine-generated
25
+ source_datasets:
26
+ - original
27
+ configs:
28
+ - config_name: default
29
+ data_files:
30
+ - split: train
31
+ path: data/train/spark-train-*.tar
32
+ - split: validation
33
+ path: data/validation/spark-validation-*.tar
34
+ dataset_info:
35
+ features:
36
+ - name: rgb
37
+ dtype: image
38
+ - name: depth
39
+ dtype: image
40
+ - name: label
41
+ dtype:
42
+ class_label:
43
+ names:
44
+ '0': AcrimSat
45
+ '1': Aquarius
46
+ '2': Aura
47
+ '3': Calipso
48
+ '4': Cloudsat
49
+ '5': CubeSat
50
+ '6': Debris
51
+ '7': Jason
52
+ '8': Sentinel-6
53
+ '9': Terra
54
+ '10': TRMM
55
+ - name: bbox
56
+ sequence: int32
57
+ length: 4
58
+ - name: filename
59
+ dtype: string
60
  ---
61
+
62
+ # SPARK-2021: SPAcecraft Recognition leveraging Knowledge of space environment
63
+
64
+ SPARK is a large-scale **multi-modal (RGB + depth) synthetic image dataset** for space object
65
+ recognition and detection, generated under a photo-realistic space simulation environment.
66
+ It was released by the [CVI² group at SnT, University of Luxembourg](https://cvi2.uni.lu/spark-2021/)
67
+ in the context of the **SPARK Challenge at IEEE ICIP 2021**.
68
+
69
+ The dataset targets **Space Situational Awareness (SSA)** applications — on-orbit servicing,
70
+ active debris removal, formation flying, and rendezvous & proximity operations — where the
71
+ scarcity of annotated spaceborne imagery is a primary bottleneck for data-driven perception.
72
+
73
+ | | |
74
+ |---|---|
75
+ | **Modalities** | RGB, depth (segmentation masks available in the original release) |
76
+ | **Images** | ~150k RGB + ~150k depth |
77
+ | **Classes** | 11 (10 satellite models + 1 combined debris class) |
78
+ | **Annotations** | Class label + 2D bounding box per image |
79
+ | **Simulator** | Unity3D, LEO scenarios around a photo-realistic Earth |
80
+ | **Type** | Fully synthetic |
81
+
82
+ ---
83
+
84
+ ## Dataset structure
85
+
86
+ The dataset is published as **WebDataset shards** so that it streams efficiently and pairs the
87
+ two modalities inside a single sample:
88
+
89
+ ```
90
+ data/
91
+ ├── train/
92
+ │ ├── spark-train-000000.tar
93
+ │ ├── spark-train-000001.tar
94
+ │ └── ...
95
+ └── validation/
96
+ ├── spark-validation-000000.tar
97
+ └── ...
98
+ ```
99
+
100
+ Each sample inside a shard has the form:
101
+
102
+ ```
103
+ <key>.rgb.jpg # RGB image
104
+ <key>.depth.png # 16-bit depth map, same geometry as the RGB frame
105
+ <key>.json # {"label": 3, "class": "Calipso", "bbox": [R_min, C_min, R_max, C_max]}
106
+ ```
107
+
108
+ ### Splits
109
+
110
+ | Split | Samples | Notes |
111
+ |---|---|---|
112
+ | `train` | _TODO_ | Public training split of the SPARK 2021 challenge |
113
+ | `validation` | _TODO_ | Public validation split (labels released) |
114
+ | `test` | not included | Challenge test labels were kept private |
115
+
116
+ Class composition of the full release: **12,500 images per satellite class** (10 classes) and
117
+ **5,000 images per debris object** across 5 debris models, all merged into a single `Debris`
118
+ class (25,000 images) — 150,000 images in total per modality.
119
+
120
+ ### Classes
121
+
122
+ | Index | Class | Type |
123
+ |---|---|---|
124
+ | 0 | AcrimSat | Satellite |
125
+ | 1 | Aquarius | Satellite |
126
+ | 2 | Aura | Satellite |
127
+ | 3 | Calipso | Satellite |
128
+ | 4 | Cloudsat | Satellite |
129
+ | 5 | CubeSat | Satellite (1RU generic CubeSat) |
130
+ | 6 | Debris | Debris (5 models merged) |
131
+ | 7 | Jason | Satellite |
132
+ | 8 | Sentinel-6 | Satellite |
133
+ | 9 | Terra | Satellite |
134
+ | 10 | TRMM | Satellite |
135
+
136
+ Satellite models come from [NASA 3D Resources](https://nasa3d.arc.nasa.gov/). Debris objects are
137
+ corrupted-texture parts of satellites and rockets: space shuttle external tank, orbital docking
138
+ system, damaged communication dish, thermal protection tiles, and connector ring.
139
+
140
+ ### ⚠️ Bounding-box convention
141
+
142
+ Boxes follow the **original SPARK convention**, which is *row/column ordered*, not the usual
143
+ `x, y` ordering:
144
+
145
+ ```
146
+ bbox = [R_min, C_min, R_max, C_max] # == [y_min, x_min, y_max, x_max]
147
+ ```
148
+
149
+ Conversions:
150
+
151
+ ```python
152
+ r_min, c_min, r_max, c_max = bbox
153
+
154
+ # Pascal VOC / torchvision (x1, y1, x2, y2)
155
+ voc = [c_min, r_min, c_max, r_max]
156
+
157
+ # COCO (x, y, w, h)
158
+ coco = [c_min, r_min, c_max - c_min, r_max - r_min]
159
+
160
+ # YOLO (normalised cx, cy, w, h) for an image of size (H, W)
161
+ yolo = [((c_min + c_max) / 2) / W, ((r_min + r_max) / 2) / H,
162
+ (c_max - c_min) / W, (r_max - r_min) / H]
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Usage
168
+
169
+ ```python
170
+ from datasets import load_dataset
171
+
172
+ ds = load_dataset("<org>/spark-2021", split="train")
173
+ sample = ds[0]
174
+
175
+ sample["rgb"] # PIL.Image, RGB
176
+ sample["depth"] # PIL.Image, 16-bit single channel
177
+ sample["label"] # int in [0, 10]
178
+ sample["bbox"] # [R_min, C_min, R_max, C_max]
179
+ ```
180
+
181
+ ### Streaming (recommended — the full dataset is large)
182
+
183
+ ```python
184
+ ds = load_dataset("<org>/spark-2021", split="train", streaming=True)
185
+ for sample in ds.take(8):
186
+ print(sample["label"], sample["bbox"], sample["rgb"].size)
187
+ ```
188
+
189
+ ### RGB-only classification
190
+
191
+ ```python
192
+ ds = load_dataset("<org>/spark-2021", split="train").remove_columns("depth")
193
+ ```
194
+
195
+ ### Depth handling
196
+
197
+ Depth maps are stored as 16-bit PNGs. Convert to a float array before use:
198
+
199
+ ```python
200
+ import numpy as np
201
+ depth = np.asarray(sample["depth"], dtype=np.float32) # raw sensor units
202
+ ```
203
+
204
+ Note that the released depth maps are known to be noisy and to contain holes; several challenge
205
+ entries applied morphological opening / hole filling before using them.
206
+
207
+ ---
208
+
209
+ ## Dataset creation
210
+
211
+ SPARK was rendered in **Unity3D**, with:
212
+
213
+ - **Earth model** — high-resolution textured 16k-polygon model based on the NASA Blue Marble
214
+ collection, including clouds, cloud shadows, and atmospheric outer scattering.
215
+ - **Background** — high-resolution ESO panorama of the Milky Way.
216
+ - **Target** — one of the 10 satellite models or 5 debris models, randomly placed inside the
217
+ camera field of view, in LEO.
218
+ - **Chaser** — observer platform carrying a pinhole RGB camera with known intrinsics plus a
219
+ depth camera.
220
+
221
+ The Sun and the Earth are randomly rotated about their axes in every frame. The dataset is
222
+ deliberately spanned along four axes of variation:
223
+
224
+ 1. **Scene illumination** — including extreme cases where sunlight directly faces the sensor or
225
+ reflects off the target/Earth, producing lens flare and sensor blooming.
226
+ 2. **Scene background** — Earth-in-background (rich texture, ocean/cloud specularity) vs. deep
227
+ space (featureless, sparse stars).
228
+ 3. **Range** — varying camera-to-target distance, i.e. varying target occupation of the frame.
229
+ 4. **Sensor noise** — zero-mean white Gaussian noise at varying levels, emulating the high
230
+ dynamic range and small-sensor noise of spaceborne imagers.
231
+
232
+ The baseline study in the SPARK paper found accuracy degrading systematically with lower
233
+ illumination, longer range, and increasing noise, with the **far-range + low-illumination**
234
+ subset being the hardest regime. Fine-tuning ImageNet-pretrained backbones outperformed both
235
+ random initialisation and frozen feature extraction, and RGB-D fusion reached 90.05% validation
236
+ accuracy versus 75% (RGB only) and 88.01% (depth only) at 64×64 input resolution.
237
+
238
+ ---
239
+
240
+ ## Original challenge protocol
241
+
242
+ The ICIP 2021 competition defined two tasks and two dedicated metrics.
243
+
244
+ **Task 1 — Classification.** Errors were weighted by severity: misclassifying a satellite as
245
+ another satellite (level 1/4), a satellite as debris (level 2/4), and — most severely — debris as
246
+ a satellite (level 4/4). Ranking used an F2-score-based metric combined with the proportion of
247
+ correctly classified non-debris samples.
248
+
249
+ **Task 2 — Detection.** Inspired by the COCO protocol: the proportion of images with both a
250
+ correct class prediction and an IoU above threshold, averaged over several IoU thresholds.
251
+
252
+ These metrics are documented here for reproducibility; this repository does not host an
253
+ evaluation server.
254
+
255
+ ---
256
+
257
+ ## Intended uses
258
+
259
+ - Spacecraft and debris **classification** and **detection** under space imaging conditions
260
+ - **Multi-modal RGB-D** fusion research
261
+ - **Robustness studies** with respect to illumination, range, and sensor noise
262
+ - Pretraining / representation learning for downstream proximity-operations perception
263
+
264
+ ### Out of scope and limitations
265
+
266
+ - **Fully synthetic.** Models trained on SPARK alone will exhibit a substantial sim-to-real
267
+ domain gap and should not be treated as flight-qualified without hardware-in-the-loop or
268
+ on-orbit validation.
269
+ - **Renderer artefacts.** Illumination, flare, and noise are approximations of the true space
270
+ radiometric environment; depth maps are simulated, not from a flight-representative sensor.
271
+ - **Class imbalance.** The single `Debris` class aggregates five geometrically distinct objects.
272
+ - **No pose labels.** SPARK provides class and bounding box only. For 6-DoF pose, see SPEED /
273
+ SPEED+ or URSO.
274
+
275
+ ---
276
+
277
+ ## Citation
278
+
279
+ If you use SPARK, please cite both the dataset paper and the challenge paper:
280
+
281
+ ```bibtex
282
+
283
+ @inproceedings{musallam2021sparkchallenge,
284
+ title = {Spacecraft Recognition Leveraging Knowledge of Space Environment:
285
+ Simulator, Dataset, Competition Design and Analysis},
286
+ author = {Musallam, Mohamed Adel and Gaudilli{\`e}re, Vincent and Ghorbel, Enjie and
287
+ Al Ismaeil, Kassem and Perez, Marcos Damian and Poucet, Michel and Aouada, Djamila},
288
+ booktitle = {IEEE International Conference on Image Processing Challenges (ICIPC)},
289
+ pages = {11--15},
290
+ year = {2021},
291
+ doi = {10.1109/ICIPC53495.2021.9620184}
292
+ }
293
+ ```
294
+
295
+ ## Acknowledgements
296
+
297
+ Dataset produced by the Computer Vision, Imaging & Machine Intelligence (CVI²) research group,
298
+ Interdisciplinary Centre for Security, Reliability and Trust (SnT), University of Luxembourg,
299
+ in collaboration with LMO.
300
+
301
+ ## Contact
302
+
303
+ Project page: <https://cvi2.uni.lu/spark-2021/>
304
+ Issues with this Hugging Face mirror: open a discussion on this repository.