File size: 9,034 Bytes
87569e5
a83e8c3
87569e5
 
 
 
 
 
 
 
 
 
 
 
43c14fd
b6157a8
bc9ae09
33486dc
eadfdcf
0723984
caf21dd
87569e5
 
 
 
43c14fd
b6157a8
bc9ae09
33486dc
eadfdcf
0723984
caf21dd
87569e5
 
 
 
 
 
 
 
 
 
 
 
43c14fd
b6157a8
 
 
 
 
bc9ae09
 
 
 
 
33486dc
 
 
 
 
eadfdcf
 
 
 
 
0723984
 
 
 
 
caf21dd
 
 
 
 
87569e5
 
43c14fd
87569e5
a83e8c3
 
 
 
 
 
 
 
 
87569e5
33486dc
87569e5
05129ea
 
 
 
a83e8c3
87569e5
a83e8c3
87569e5
a83e8c3
87569e5
a83e8c3
 
 
 
 
87569e5
a83e8c3
 
87569e5
a83e8c3
 
 
 
87569e5
 
 
43c14fd
b6157a8
bc9ae09
33486dc
eadfdcf
0723984
caf21dd
87569e5
a83e8c3
 
 
 
 
87569e5
a83e8c3
 
87569e5
a83e8c3
87569e5
a83e8c3
 
87569e5
a83e8c3
87569e5
a83e8c3
 
 
87569e5
a83e8c3
87569e5
a83e8c3
 
 
 
 
 
 
 
87569e5
a83e8c3
 
 
 
87569e5
a83e8c3
 
 
87569e5
a83e8c3
 
 
 
 
87569e5
a83e8c3
 
 
 
 
 
87569e5
a83e8c3
87569e5
a83e8c3
 
 
 
 
 
87569e5
a83e8c3
 
 
87569e5
a83e8c3
 
 
984580c
a83e8c3
984580c
a83e8c3
 
 
 
984580c
a83e8c3
 
 
 
 
 
87569e5
a83e8c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
---

pretty_name: Optical Switch 01 — Cable Insertions
tags:
- robotics
- computer-vision
- video
- image-segmentation
- tracking
configs:
- config_name: preview
  default: true
  data_files:
  - split: capture
    path:
    - preview/pair_01.parquet
    - preview/pair_10.parquet
    - preview/pair_11.parquet
    - preview/pair_13.parquet
    - preview/pair_14.parquet
    - preview/pair_15.parquet
    - preview/pair_16.parquet
- config_name: frames
  data_files:
  - split: capture
    path:
    - frames/pair_01/*.parquet
    - frames/pair_10/*.parquet
    - frames/pair_11/*.parquet
    - frames/pair_13/*.parquet
    - frames/pair_14/*.parquet
    - frames/pair_15/*.parquet
    - frames/pair_16/*.parquet
- config_name: episodes
  data_files:
  - split: capture
    path: metadata/episodes.parquet
- config_name: recordings
  data_files:
  - split: capture
    path: metadata/recordings.parquet
- config_name: pair_01
  data_files:
  - split: capture
    path:
    - frames/pair_01/*.parquet
- config_name: pair_10
  data_files:
  - split: capture
    path:
    - frames/pair_10/*.parquet
- config_name: pair_11
  data_files:
  - split: capture
    path:
    - frames/pair_11/*.parquet
- config_name: pair_13
  data_files:
  - split: capture
    path:
    - frames/pair_13/*.parquet
- config_name: pair_14
  data_files:
  - split: capture
    path:
    - frames/pair_14/*.parquet
- config_name: pair_15
  data_files:
  - split: capture
    path:
    - frames/pair_15/*.parquet
- config_name: pair_16
  data_files:
  - split: capture
    path:
    - frames/pair_16/*.parquet
---


# Optical Switch 01 — Cable Insertions

Paired camera recordings of a person connecting and disconnecting one to four
optical cable assemblies at a switch. This dataset supports a **cable instance

segmentation challenge** and temporal tracking research in real handling footage.
Cable crossings, overlap, and occlusion by hands or hardware make it useful for
testing whether a method can keep individual cables identifiable as the scene
changes.

Researchers are invited to run their segmentation and tracking methods on these
recordings and share results, including difficult or failed cases.

The dataset contains **7 pairs, 14 recordings, and 96,169 full-resolution JPEG frames**. Pair 5 is excluded because it is an incomplete take with unequal camera coverage.

Each listed pair includes both original MOVs and its complete full-resolution JPEG
sequences. Only complete pairs are published. Pair IDs retain their capture
identifiers, so the published IDs do not need to be consecutive.

![Contact sheet of the two camera recordings from Pair 1](previews/pair_01.jpg)

## Contents

| Subset | Contents |
| --- | --- |
| `preview` | Smaller JPEGs sampled from every recording at approximately five-second intervals for browsing. |
| `frames` | Full-resolution JPEG sequences, one image per decoded frame, across all pairs. |
| `pair_XX` | Full-resolution JPEG sequences for one pair, such as `pair_01`. |
| `episodes` | Browsing intervals in each camera's own timeline: coarse phases for Pair 1 and full-take intervals for the other pairs. |
| `recordings` | Camera models, durations, frame counts, original-video paths, and SHA-256 checksums. |

The complete source recordings are available as ProRes 422 MOV files.
Every pair uses the same camera identifiers:

| Camera ID | Camera model |
| --- | --- |
| `cam1` | iPhone 15 Pro |
| `cam2` | iPhone 16 Pro |

| Pair | Cable assemblies | cam1 / cam2 duration | Frames, both cameras | Original MOVs | Preview |
| --- | ---: | --- | ---: | --- | --- |
| pair_01 | 4 | 250.76 / 250.84 s | 30,104 | [cam1](videos/pair_01/cam1.mov) / [cam2](videos/pair_01/cam2.mov) | [Contact sheet](previews/pair_01.jpg) |

| pair_10 | 2 | 146.28 / 146.38 s | 17,564 | [cam1](videos/pair_10/cam1.mov) / [cam2](videos/pair_10/cam2.mov) | [Contact sheet](previews/pair_10.jpg) |
| pair_11 | 2 | 89.79 / 89.75 s | 10,775 | [cam1](videos/pair_11/cam1.mov) / [cam2](videos/pair_11/cam2.mov) | [Contact sheet](previews/pair_11.jpg) |

| pair_13 | 3 | 150.53 / 150.56 s | 18,070 | [cam1](videos/pair_13/cam1.mov) / [cam2](videos/pair_13/cam2.mov) | [Contact sheet](previews/pair_13.jpg) |
| pair_14 | 1 | 29.20 / 29.13 s | 3,501 | [cam1](videos/pair_14/cam1.mov) / [cam2](videos/pair_14/cam2.mov) | [Contact sheet](previews/pair_14.jpg) |

| pair_15 | 1 | 26.94 / 26.95 s | 3,234 | [cam1](videos/pair_15/cam1.mov) / [cam2](videos/pair_15/cam2.mov) | [Contact sheet](previews/pair_15.jpg) |
| pair_16 | 2 | 107.63 / 107.66 s | 12,921 | [cam1](videos/pair_16/cam1.mov) / [cam2](videos/pair_16/cam2.mov) | [Contact sheet](previews/pair_16.jpg) |



All recordings are 3840 × 2160, 10-bit ProRes 422, BT.709, at a nominal 60 fps.

Their timing varies slightly. Treat each recording's time base independently.

The same frame index across two recordings does not establish synchronization.

The originals include the captured audio. The `sync_offset_seconds` field is

null because inter-camera alignment has not been calibrated.



Recording metadata and source checksums are in `metadata/recordings.parquet`

and `metadata/pair_XX/camN.json`.

## Load or export the frames

```python

from pathlib import Path



from datasets import Image, load_dataset



repo = "ModeMaisonLabs/optical-switch-01-cable-insertions"

preview = load_dataset(repo, "preview", split="capture", streaming=True)

next(iter(preview))["image"].show()



episodes = load_dataset(repo, "episodes", split="capture", streaming=True)



frames = load_dataset(repo, "frames", split="capture", streaming=True)

# To load just one pair, use "pair_01" instead of "frames".

frames = frames.cast_column("image", Image(decode=False))

for row in frames:

    directory = Path("jpeg_sequences") / row["pair_id"] / row["camera_id"]

    directory.mkdir(parents=True, exist_ok=True)

    (directory / f"{row['frame_index']:06d}.jpg").write_bytes(row["image"]["bytes"])

```

To work with a ProRes recording from Python, download it with
`huggingface_hub.hf_hub_download(repo, filename="videos/pair_01/cam1.mov", repo_type="dataset")`.
The returned local path can be opened with FFmpeg or with
`datasets.Video` and TorchCodec.

Every pair uses the same folder structure: `videos/pair_XX/camN.mov` for originals,
`frames/pair_XX/camN-NNN.parquet` for JPEG sequences, `preview/pair_XX.parquet`
for browsing images, and `previews/pair_XX.jpg` for a contact sheet.

`frame_index` is zero-based and follows presentation order within its
`recording_id`, which identifies the pair and camera, such as `pair_01_cam1`.
The exact source timestamp in seconds is
`source_pts * time_base_num / time_base_den`. `timestamp_seconds` is the
floating-point form for filtering and display. `episode_id` is nullable.

Episode intervals are start-inclusive and end-exclusive. Pair 1's coarse
insertion, connected-handling, and removal intervals were selected from visual
review at five-second intervals and include lead-in or settling time; they are
marked `annotation_granularity="coarse_phase"`. Other pairs have one interval per
recording, marked `annotation_granularity="full_take"`. These intervals do not mark
individual connector contact events or establish camera synchronization.

## Image processing

The JPEG sequences are encoded directly from ProRes with FFmpeg, preserving
resolution and presentation order. The pipeline converts limited-range
BT.709 to full-range JPEG YCbCr, uses 4:4:4 sampling, and sets the encoder
quality scale to 1. Standard JPEG uses 8-bit samples and adds quantization.
Use the original MOVs for work that needs source precision. Preview images
are resized to 960 × 540 for quick browsing.

Eight sample JPEGs across both cameras in Pair 1 measured 44.99–46.16 dB RGB PSNR
against an 8-bit RGB decode of the corresponding ProRes frames. Mean absolute
channel error was 0.91–1.05 on a 0–255 scale.

Original MOVs are verified with SHA-256. Frame counts and ordered timestamps are
checked against source metadata, and JPEG bytes are checked after Parquet
serialization.

## Scope

The segmentation challenge is to distinguish individual optical cable assemblies
and keep each cable's identity consistent through time, including through cable
crossings and occlusion. These recordings provide the source footage for running
and comparing segmentation and tracking methods.

The dataset contains multiple paired takes of one switch setup. It provides no
segmentation masks, cable trajectories, camera calibration, or force
measurements. An evaluation protocol is not included. Use the single `capture`
split for qualitative development and exploration. Adjacent frames and both
camera views of the same pair should stay together if you use this data in a
larger evaluation.

**Citation** · Mode Maison Labs, *Optical Switch 01 — Cable Insertions*, 2026.