Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    UnicodeDecodeError
Message:      'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/csv/csv.py", line 196, in _generate_tables
                  csv_file_reader = pd.read_csv(file, iterator=True, dtype=dtype, **self.config.pd_read_csv_kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/streaming.py", line 73, in wrapper
                  return function(*args, download_config=download_config, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1279, in xpandas_read_csv
                  return pd.read_csv(xopen(filepath_or_buffer, "rb", download_config=download_config), **kwargs)
                         ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1026, in read_csv
                  return _read(filepath_or_buffer, kwds)
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 620, in _read
                  parser = TextFileReader(filepath_or_buffer, **kwds)
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1620, in __init__
                  self._engine = self._make_engine(f, self.engine)
                                 ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1898, in _make_engine
                  return mapping[engine](f, **self.options)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 93, in __init__
                  self._reader = parsers.TextReader(src, **kwds)
                                 ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "pandas/_libs/parsers.pyx", line 574, in pandas._libs.parsers.TextReader.__cinit__
                File "pandas/_libs/parsers.pyx", line 663, in pandas._libs.parsers.TextReader._get_header
                File "pandas/_libs/parsers.pyx", line 874, in pandas._libs.parsers.TextReader._tokenize_rows
                File "pandas/_libs/parsers.pyx", line 891, in pandas._libs.parsers.TextReader._check_tokenize_status
                File "pandas/_libs/parsers.pyx", line 2053, in pandas._libs.parsers.raise_parser_error
                File "<frozen codecs>", line 325, in decode
              UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

filename
string
Tx
float64
Ty
float64
Tz
float64
Qx
float64
Qy
float64
Qz
float64
Qw
float64
sequence
string
img000_RT590.jpg
-0.575309
-0.537577
5.059654
-0.645659
-0.344653
-0.068912
0.677931
RT590
img001_RT590.jpg
-0.575502
-0.505868
5.081721
-0.647998
-0.342521
-0.067112
0.67696
RT590
img002_RT590.jpg
-0.577065
-0.474217
5.103787
-0.650327
-0.340384
-0.065311
0.675979
RT590
img003_RT590.jpg
-0.579996
-0.44268
5.125854
-0.652647
-0.338243
-0.063509
0.674989
RT590
img004_RT590.jpg
-0.584288
-0.411316
5.147921
-0.654958
-0.336097
-0.061706
0.673989
RT590
img005_RT590.jpg
-0.589933
-0.38018
5.169988
-0.657259
-0.333946
-0.059902
0.67298
RT590
img006_RT590.jpg
-0.596919
-0.349329
5.192054
-0.659551
-0.33179
-0.058098
0.671961
RT590
img007_RT590.jpg
-0.605235
-0.31882
5.214121
-0.661834
-0.329629
-0.056292
0.670933
RT590
img008_RT590.jpg
-0.614864
-0.288707
5.236188
-0.664107
-0.327464
-0.054486
0.669895
RT590
img009_RT590.jpg
-0.625789
-0.259046
5.258254
-0.666371
-0.325294
-0.052679
0.668848
RT590
img010_RT590.jpg
-0.63799
-0.229889
5.280321
-0.668626
-0.32312
-0.050872
0.667791
RT590
img011_RT590.jpg
-0.651444
-0.201291
5.302388
-0.670871
-0.320941
-0.049063
0.666725
RT590
img012_RT590.jpg
-0.666126
-0.173302
5.324455
-0.673106
-0.318757
-0.047254
0.665649
RT590
img013_RT590.jpg
-0.682012
-0.145975
5.346521
-0.675332
-0.316569
-0.045444
0.664564
RT590
img014_RT590.jpg
-0.699071
-0.119358
5.368588
-0.677549
-0.314377
-0.043634
0.663469
RT590
img015_RT590.jpg
-0.717272
-0.093501
5.390655
-0.679755
-0.31218
-0.041823
0.662365
RT590
img016_RT590.jpg
-0.736584
-0.06845
5.412721
-0.681952
-0.309978
-0.040011
0.661252
RT590
img017_RT590.jpg
-0.756971
-0.044252
5.434788
-0.68414
-0.307772
-0.038199
0.660129
RT590
img018_RT590.jpg
-0.778396
-0.02095
5.456855
-0.686317
-0.305562
-0.036386
0.658996
RT590
img019_RT590.jpg
-0.800822
0.001413
5.478922
-0.688485
-0.303348
-0.034573
0.657855
RT590
img020_RT590.jpg
-0.824207
0.022796
5.500988
-0.690643
-0.301129
-0.032759
0.656704
RT590
img021_RT590.jpg
-0.848511
0.043158
5.523055
-0.692792
-0.298905
-0.030945
0.655544
RT590
img022_RT590.jpg
-0.873689
0.062464
5.545122
-0.69493
-0.296678
-0.02913
0.654374
RT590
img023_RT590.jpg
-0.899697
0.080677
5.567188
-0.697059
-0.294446
-0.027315
0.653195
RT590
img024_RT590.jpg
-0.926487
0.097763
5.589255
-0.699178
-0.292211
-0.025499
0.652007
RT590
img025_RT590.jpg
-0.954013
0.113691
5.611322
-0.701287
-0.289971
-0.023683
0.65081
RT590
img026_RT590.jpg
-0.982225
0.12843
5.633389
-0.703385
-0.287727
-0.021867
0.649603
RT590
img027_RT590.jpg
-1.011073
0.141953
5.655455
-0.705474
-0.285478
-0.020051
0.648387
RT590
img028_RT590.jpg
-1.040504
0.154235
5.677522
-0.707553
-0.283226
-0.018234
0.647162
RT590
img029_RT590.jpg
-1.070467
0.165252
5.699589
-0.709622
-0.28097
-0.016417
0.645928
RT590
img030_RT590.jpg
-1.100909
0.174983
5.721656
-0.711681
-0.27871
-0.0146
0.644685
RT590
img031_RT590.jpg
-1.131774
0.18341
5.743722
-0.713729
-0.276446
-0.012782
0.643432
RT590
img032_RT590.jpg
-1.163009
0.190514
5.765789
-0.715768
-0.274178
-0.010965
0.64217
RT590
img033_RT590.jpg
-1.194556
0.196283
5.787856
-0.717796
-0.271906
-0.009147
0.640899
RT590
img034_RT590.jpg
-1.226361
0.200704
5.809922
-0.719814
-0.26963
-0.007329
0.63962
RT590
img035_RT590.jpg
-1.258366
0.203767
5.831989
-0.721822
-0.26735
-0.005511
0.638331
RT590
img036_RT590.jpg
-1.290514
0.205467
5.854056
-0.72382
-0.265067
-0.003693
0.637033
RT590
img037_RT590.jpg
-1.322749
0.205796
5.876123
-0.725808
-0.262779
-0.001874
0.635725
RT590
img038_RT590.jpg
-1.355012
0.204754
5.898189
-0.727785
-0.260488
-0.000056
0.634409
RT590
img039_RT590.jpg
-1.387246
0.20234
5.920256
-0.729751
-0.258194
0.001762
0.633084
RT590
img040_RT590.jpg
-1.419394
0.198557
5.942323
-0.731708
-0.255895
0.00358
0.63175
RT590
img041_RT590.jpg
-1.451399
0.193409
5.964389
-0.733654
-0.253594
0.005398
0.630407
RT590
img042_RT590.jpg
-1.483203
0.186904
5.986456
-0.73559
-0.251288
0.007216
0.629055
RT590
img043_RT590.jpg
-1.51475
0.179051
6.008523
-0.737515
-0.248979
0.009034
0.627694
RT590
img044_RT590.jpg
-1.545983
0.169862
6.03059
-0.73943
-0.246666
0.010852
0.626324
RT590
img045_RT590.jpg
-1.576848
0.159352
6.052656
-0.741334
-0.24435
0.01267
0.624945
RT590
img046_RT590.jpg
-1.607288
0.147537
6.074723
-0.743227
-0.24203
0.014487
0.623558
RT590
img047_RT590.jpg
-1.63725
0.134436
6.09679
-0.745111
-0.239707
0.016305
0.622161
RT590
img048_RT590.jpg
-1.666681
0.12007
6.118856
-0.746983
-0.237381
0.018122
0.620756
RT590
img049_RT590.jpg
-1.695527
0.104462
6.140923
-0.748845
-0.235051
0.019939
0.619342
RT590
img050_RT590.jpg
-1.723737
0.087639
6.16299
-0.750696
-0.232718
0.021755
0.617919
RT590
img051_RT590.jpg
-1.751261
0.069627
6.185057
-0.752537
-0.230381
0.023571
0.616487
RT590
img052_RT590.jpg
-1.77805
0.050457
6.207123
-0.754367
-0.228042
0.025387
0.615047
RT590
img053_RT590.jpg
-1.804056
0.03016
6.22919
-0.756186
-0.225699
0.027203
0.613598
RT590
img054_RT590.jpg
-1.829232
0.00877
6.251257
-0.757995
-0.223352
0.029018
0.61214
RT590
img055_RT590.jpg
-1.853533
-0.013677
6.273323
-0.759793
-0.221003
0.030833
0.610673
RT590
img056_RT590.jpg
-1.876917
-0.037144
6.29539
-0.76158
-0.218651
0.032647
0.609198
RT590
img057_RT590.jpg
-1.89934
-0.061591
6.317457
-0.763356
-0.216295
0.034461
0.607714
RT590
img058_RT590.jpg
-1.920763
-0.086977
6.339524
-0.765121
-0.213936
0.036274
0.606222
RT590
img059_RT590.jpg
-1.941147
-0.11326
6.36159
-0.766876
-0.211575
0.038087
0.604721
RT590
img060_RT590.jpg
-1.960456
-0.140395
6.383657
-0.76862
-0.20921
0.039899
0.603211
RT590
img061_RT590.jpg
-1.978654
-0.168336
6.405724
-0.770352
-0.206842
0.041711
0.601693
RT590
img062_RT590.jpg
-1.99571
-0.197037
6.42779
-0.772074
-0.204472
0.043522
0.600166
RT590
img063_RT590.jpg
-2.011592
-0.226448
6.449857
-0.773785
-0.202098
0.045332
0.59863
RT590
img064_RT590.jpg
-2.026272
-0.256521
6.471924
-0.775485
-0.199722
0.047142
0.597087
RT590
img065_RT590.jpg
-2.039722
-0.287203
6.493991
-0.777173
-0.197343
0.048951
0.595534
RT590
img066_RT590.jpg
-2.051919
-0.318444
6.516057
-0.778851
-0.194961
0.05076
0.593974
RT590
img067_RT590.jpg
-2.06284
-0.350189
6.538124
-0.780518
-0.192576
0.052568
0.592404
RT590
img068_RT590.jpg
-2.072466
-0.382386
6.560191
-0.782174
-0.190188
0.054375
0.590827
RT590
img069_RT590.jpg
-2.080777
-0.41498
6.582258
-0.783818
-0.187798
0.056181
0.589241
RT590
img070_RT590.jpg
-2.08776
-0.447914
6.604324
-0.785452
-0.185405
0.057986
0.587646
RT590
img071_RT590.jpg
-2.0934
-0.481134
6.626391
-0.787074
-0.18301
0.059791
0.586044
RT590
img072_RT590.jpg
-2.097688
-0.514583
6.648458
-0.788685
-0.180611
0.061595
0.584433
RT590
img073_RT590.jpg
-2.100614
-0.548204
6.670524
-0.790285
-0.178211
0.063398
0.582813
RT590
img074_RT590.jpg
-2.102173
-0.581939
6.692591
-0.791874
-0.175808
0.0652
0.581186
RT590
img075_RT590.jpg
-2.102361
-0.615732
6.714658
-0.793451
-0.173402
0.067001
0.57955
RT590
img076_RT590.jpg
-2.101176
-0.649525
6.736725
-0.795017
-0.170994
0.068801
0.577906
RT590
img077_RT590.jpg
-2.098621
-0.68326
6.758791
-0.796572
-0.168583
0.0706
0.576254
RT590
img078_RT590.jpg
-2.094698
-0.71688
6.780858
-0.798116
-0.16617
0.072398
0.574593
RT590
img079_RT590.jpg
-2.089414
-0.750329
6.802925
-0.799648
-0.163755
0.074195
0.572925
RT590
img080_RT590.jpg
-2.082777
-0.783548
6.824991
-0.801169
-0.161337
0.075991
0.571248
RT590
img081_RT590.jpg
-2.074798
-0.816483
6.847058
-0.802678
-0.158917
0.077786
0.569563
RT590
img082_RT590.jpg
-2.06549
-0.849076
6.869125
-0.804176
-0.156495
0.07958
0.56787
RT590
img083_RT590.jpg
-2.054868
-0.881272
6.891192
-0.805663
-0.15407
0.081373
0.566169
RT590
img084_RT590.jpg
-2.04295
-0.913017
6.913258
-0.807138
-0.151644
0.083165
0.56446
RT590
img085_RT590.jpg
-2.029757
-0.944257
6.935325
-0.808602
-0.149215
0.084955
0.562743
RT590
img086_RT590.jpg
-2.01531
-0.974939
6.957392
-0.810055
-0.146784
0.086744
0.561018
RT590
img087_RT590.jpg
-1.999634
-1.005011
6.979458
-0.811495
-0.144351
0.088532
0.559285
RT590
img088_RT590.jpg
-1.982755
-1.034422
7.001525
-0.812925
-0.141916
0.090319
0.557544
RT590
img089_RT590.jpg
-1.964703
-1.063122
7.023592
-0.814343
-0.139479
0.092104
0.555795
RT590
img090_RT590.jpg
-1.945508
-1.091062
7.045659
-0.815749
-0.13704
0.093889
0.554039
RT590
img091_RT590.jpg
-1.925202
-1.118197
7.067725
-0.817143
-0.134599
0.095671
0.552274
RT590
img092_RT590.jpg
-1.903822
-1.144478
7.089792
-0.818526
-0.132156
0.097453
0.550502
RT590
img093_RT590.jpg
-1.881402
-1.169863
7.111859
-0.819898
-0.129711
0.099233
0.548721
RT590
img094_RT590.jpg
-1.857983
-1.194309
7.133925
-0.821258
-0.127265
0.101012
0.546933
RT590
img095_RT590.jpg
-1.833603
-1.217775
7.155992
-0.822606
-0.124816
0.102789
0.545138
RT590
img096_RT590.jpg
-1.808305
-1.240221
7.178059
-0.823942
-0.122366
0.104565
0.543334
RT590
img097_RT590.jpg
-1.782132
-1.261609
7.200126
-0.825267
-0.119914
0.106339
0.541523
RT590
img098_RT590.jpg
-1.75513
-1.281905
7.222192
-0.82658
-0.117461
0.108112
0.539704
RT590
img099_RT590.jpg
-1.727345
-1.301073
7.244259
-0.827881
-0.115005
0.109883
0.537877
RT590
End of preview.

SPARK 2024 — Stream 2: Spacecraft Trajectory Estimation

This dataset comes from Stream 2 of the SPARK 2024 challenge (SPAcecraft Recognition leveraging Knowledge of space environment). The task is 6-DoF pose / trajectory estimation of a target spacecraft from monocular camera images: given a sequence of images, estimate the relative position (translation) and orientation (quaternion) of the spacecraft with respect to the camera at every frame.

Dataset Summary

Split Sequences Images Size
Train 100 (RT500RT599) 30,000 ~6.8 GB
Test 4 (RT001RT004) 2,123 ~600 MB
  • Image format: JPEG, 1440 × 1080, RGB
  • Labels: per-frame 6-DoF pose — translation (Tx, Ty, Tz) in meters and orientation as a unit quaternion (Qx, Qy, Qz, Qw) (scalar-last convention, compatible with scipy.spatial.transform.Rotation)
  • Camera intrinsics: provided in K.txt (3×3 matrix)
  • Mockup scale: 2.5

Dataset Structure

.
├── K.txt                  # Camera intrinsic matrix (3×3)
├── train.csv              # Pose labels for all training images
├── test.csv               # Pose labels for all test images
├── train/                 # 100 trajectory folders
│   ├── RT500/
│   │   ├── img000_RT500.jpg
│   │   ├── img001_RT500.jpg
│   │   └── ...
│   └── ...
├── test/                  # 4 trajectory folders
│   ├── RT001/
│   └── ...
├── visualize_data.py      # Script to project pose axes onto images
└── requirements.txt       # Dependencies for the visualization script

Annotations (train.csv / test.csv)

Each row describes one image:

Column Description
filename Image file name, e.g. img000_RT590.jpg
sequence Trajectory ID, e.g. RT590 (also the folder name)
Tx, Ty, Tz Translation of the spacecraft in the camera frame (meters)
Qx, Qy, Qz, Qw Orientation quaternion (scalar-last)

Camera Intrinsics (K.txt)

[[1744.92206139719, 0, 720.0],
 [0, 1746.58640701753, 540.0],
 [0, 0, 1]]

Usage

Download

pip install huggingface_hub
hf download <username>/spark2024-stream-2 --repo-type dataset --local-dir spark2024-stream-2

Load the labels and an image

import numpy as np
import pandas as pd
from PIL import Image

df = pd.read_csv("train.csv")
row = df.iloc[0]

img = Image.open(f"train/{row.sequence}/{row.filename}")
translation = row[["Tx", "Ty", "Tz"]].to_numpy(dtype=float)
quaternion = row[["Qx", "Qy", "Qz", "Qw"]].to_numpy(dtype=float)  # scalar-last

with open("K.txt") as f:
    K = np.array(eval(f.read()))

Visualize ground-truth poses

visualize_data.py projects the spacecraft body axes onto random training images using the ground-truth pose and the camera intrinsics:

pip install -r requirements.txt
python visualize_data.py

Intended Uses

  • 6-DoF spacecraft pose estimation from monocular images
  • Sequential / trajectory-based pose estimation and filtering
  • Domain adaptation and sim-to-real research for space imagery

Citation

If you use this dataset, please cite the SPARK challenge organized by the CVI² group at SnT, University of Luxembourg:

@dataset{rathinam_2024,
  author       = {Rathinam, Arunkumar and
                  Mohamed Ali, Mohamed Adel and
                  Gaudilliere, Vincent and
                  Aouada, Djamila},
  title        = {SPARK 2024: Datasets for Spacecraft Semantic
                   Segmentation and Spacecraft Trajectory Estimation
                  },
  month        = feb,
  year         = 2024,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.10908215},
  url          = {https://doi.org/10.5281/zenodo.10908215},
}
Downloads last month
20