Datasets:
Languages:
English
Size:
n<1K
Tags:
surgery
operating-room
ophthalmology
surgical-data-science
surgical-phase-recognition
speaker-diarization
License:
|
Download README.md from AngeloHenriques/Bifocal-OR: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/datasets/AngeloHenriques/Bifocal-OR/resolve/main/README.md
- Command line
-
hf download hf://datasets/AngeloHenriques/Bifocal-OR/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/AngeloHenriques/Bifocal-OR/resolve/main/README.md
12.6 kB
| license: cc-by-nc-4.0 | |
| pretty_name: Bifocal-OR | |
| language: | |
| - en | |
| task_categories: | |
| - video-classification | |
| - voice-activity-detection | |
| - audio-classification | |
| tags: | |
| - surgery | |
| - operating-room | |
| - ophthalmology | |
| - surgical-data-science | |
| - surgical-phase-recognition | |
| - speaker-diarization | |
| - multi-view | |
| - rgb-d | |
| - microscope | |
| size_categories: | |
| - n<1K | |
| viewer: false | |
| extra_gated_heading: Access to Bifocal-OR (research use only) | |
| extra_gated_prompt: >- | |
| Bifocal-OR contains identifiable video and audio of the people who took part in the | |
| recordings. They consented to the publication of the recordings for scientific research. | |
| To access the data, please agree to the terms below. | |
| extra_gated_fields: | |
| Name: text | |
| Affiliation: text | |
| Country: country | |
| I will use the dataset for non-commercial scientific research only: checkbox | |
| I will not try to identify the people in the recordings beyond what the recordings show, and I will not redistribute the data: checkbox | |
| I will cite the Bifocal-OR paper in publications that use the dataset: checkbox | |
| extra_gated_button_content: Agree and request access | |
| # Bifocal-OR: A Dual-Scale Multi-Sensor Dataset for Ophthalmic Surgery | |
| Bifocal-OR links what the surgical team does in the operating room with what happens under the | |
| microscope. It contains nine realistically simulated ophthalmic procedures (epiretinal membrane | |
| peeling on eye phantoms and an ex-vivo porcine eye), recorded with five room-wide RGB-D cameras, | |
| a microscope-mounted camera, an ambient room microphone and wearable microphones for each team | |
| member. Unscripted events such as sensor dropouts, delays, visitors and role changes were kept. | |
| **Paper:** under review (arXiv link follows) · **Code:** https://github.com/ASH-TUM/Bifocal-OR · **Project page:** https://ash-tum.github.io/Bifocal-OR/ | |
| > The paper is under review. The arXiv link and the full citation will be added when available. | |
| ## At a glance | |
| | | | | |
| | --- | --- | | |
| | Runs | 9 (Runs 1–8 plastic eye phantoms, Run 9 ex-vivo porcine eye), 32–46 min of room recording each, 5.8 h in total | | |
| | Room cameras | 5 × Orbbec Femto Mega, synchronized frames: color JPEG 1920 × 1080, depth 16-bit TIFF in millimetres 640 × 576 (NFOV); 7.5 frames/s nominal (7.48 on average), with a timestamp for every frame; 14,000–21,000 frames per camera and run | | |
| | Microscope | Basler camera in the microscope's optical path, 4024 × 3036, H.265 MP4 stored at 29 fps but captured at about 21–29 frames/s (real frame times provided), with the microphone recorded alongside | | |
| | Audio | 1 ambient room microphone (recorded by the microscope PC) + up to 6 wearable smartphone microphones, synchronized, 48 kHz / 16-bit WAV | | |
| | Size | about 520 GB (color frames 351 GB, depth frames 120 GB, microscope 29 GB, audio 12 GB) | | |
| | Phase labels | 5 phases, all runs (19,124 labeled seconds) | | |
| | Speaker labels | manually audited: Runs 3, 4, 7 · automatic pseudo-labels: Runs 1–9 | | |
| | Calibration | factory intrinsics + 3 extrinsic calibrations (1.6 / 2.7 / 4.3 px RMS) | | |
| | Fiducials | ArUco markers on every team member (head, front, back) and on 4 mobile objects; detection script `code/tools/detect_aruco.py` in the code repository | | |
| | License | CC BY-NC 4.0, gated access for research use | | |
| ## Repository structure | |
| ``` | |
| README.md this file | |
| LICENSE.md license and terms of use | |
| VALIDATION.md automatic checks of the annotation files against the paper | |
| annotations/ | |
| phases/runNN.csv phase segments per run (+ all_runs.csv) | |
| speakers/audited/runNN.* manually audited speaker activity, Runs 3, 4, 7 (.rttm and .csv) | |
| speakers/pseudo/runNN.* automatic speaker activity, Runs 1-9 (.rttm and .csv, + diagnostics/) | |
| baselines/pyannote_ambient/runNN.* far-field diarization baseline of the paper, Runs 3, 4, 7 | |
| calibration/ | |
| README.md conventions and file formats | |
| intrinsics/camera0X.json factory calibration as stored by the recording software | |
| intrinsics_opencv.json the same, converted to OpenCV matrices and distortion vectors | |
| extrinsics/*.json charuco_dist (default), after, shipped | |
| charuco_board.json ChArUco board of the recording setup | |
| charuco_recording/ the recording of the empty room with the ChArUco board (frames, timestamps) | |
| metadata/ | |
| runs.csv one row per run: date, take, tissue, split, durations, notes | |
| audio_channels.csv which wearable microphone worked in which run | |
| events.csv landmarks and deviations from the director's real-time log, in seconds on the room-camera timeline | |
| participants.csv pseudonymous participant IDs (P1-P7) and their role in every run | |
| aruco_markers.csv marker IDs per role and object | |
| workflow_playbook.xlsx/csv role-by-role workflow script (Table S1 of the paper) | |
| sync/ | |
| README.md how the time bases fit together | |
| offsets.csv per-run start of the audio and of the microscope clock on the room-camera timeline | |
| room_frame_times/runNN.csv time of every room-camera frame (seconds since the first frame) | |
| microscope_frame_times/ real time of the microscope video frames (from the encoder log) | |
| runs/runNN/ | |
| room/color/camera0X.tar color frames of one camera (color_<frame>_camera0X.jpg) | |
| room/depth/camera0X.tar depth frames of one camera (depth_<frame>_camera0X.tiff, 16-bit, millimetres, 0 = no depth) | |
| room/timestamps.arrow capture timestamps of every frame (Apache Arrow) | |
| room/exported_files.arrow frame index to file name | |
| room/calibration/ factory calibration of the five cameras for this run | |
| microscope/microscope.mp4 microscope video (Run 1: microscope_part1.mp4 and _part2.mp4) | |
| microscope/microscope_audio.wav microphone recorded with the microscope video | |
| audio/<role>.wav synchronized audio: room, surgeon, ota, runner, anesthesiologist, | |
| nurse, spectator (only channels that recorded) | |
| ``` | |
| Frame numbers are shared across the five cameras of a run (synchronized export); the capture time | |
| of every frame is in `room/timestamps.arrow`. Unpack a camera with `tar -xf camera01.tar`. | |
| ## Time bases and synchronization | |
| - **Room-camera timeline:** t = 0 is the first exported frame of the run. The time of every frame is | |
| in `sync/room_frame_times/runNN.csv` (and `room/timestamps.arrow`). Frames are 133.4 ms apart, with | |
| occasional single missing frames, so use the table rather than a constant frame rate. | |
| - **Phase labels** are in seconds on the room-camera timeline. | |
| - **Audio:** the wearable tracks were aligned to the ambient microphone with the claps at the start and | |
| end of every run (one offset plus a linear clock-drift correction per track), then refined by | |
| waveform alignment with Syncaila. The residual offset between the synced tracks is below | |
| about 65 ms at all checked points. The synced audio starts at `offset_s` (row `audio` in | |
| `sync/offsets.csv`); speaker labels are in audio time = t − offset_s. | |
| - **Microscope:** the video is stored at 29 frames/s, but frames were captured at a lower, varying | |
| rate. `sync/microscope_frame_times/` gives the real time of the frames; the microscope clock starts | |
| at `offset_s` (row `microscope`). | |
| ## Annotations | |
| ### Surgical phases | |
| Five macroscopic phases, one contiguous segment each per run (`phase_id`, `phase`, `start_s`, | |
| `end_s`, `duration_s`, in seconds on the room-camera timeline). One annotator marked the boundaries | |
| on Camera 1 with these visible cues. A blinded second annotation of all 36 boundaries agreed on | |
| 98.7 % of the labeled seconds; see the paper for the agreement per boundary: | |
| | ID | Phase | Starts when | | |
| | --- | --- | --- | | |
| | 0 | Room_Prep | the Cleaner enters the OR | | |
| | 1 | Patient_Entry | the two assistants start moving the patient table | | |
| | 2 | Sterile_Draping | the OTA brings the tape to the patient's head to fix it to the table | | |
| | 3 | Microsurgery | the Surgeon holds the ArUco marker to the eye | | |
| | 4 | Emergence | the Surgeon ends the procedure (before rising from the chair) | | |
| | – | (end of Emergence) | the last person has left the OR | | |
| Frames before the first and after the last segment are unlabeled. The annotation video played the | |
| exported frames at a constant 7.5 frames/s; the boundaries were converted to the frame timestamps | |
| (annotated second × 7.5 = frame number), which moves them by 0–6 s. | |
| ### Speaker activity | |
| One label per speech segment and role (`Surgeon`, `OTA`, `Runner`, `Anesthesiologist`, `Nurse`, | |
| `Spectator`), as RTTM (file ID `runNN`) and CSV. Overlapping speech appears as overlapping segments. | |
| - **Audited (Runs 3, 4, 7):** manually checked and corrected. Use these for evaluation. | |
| - **Pseudo (Runs 1–9):** produced automatically from the wearable microphones (300–3000 Hz | |
| bandpass, Silero VAD, energy-based attribution between microphones). The CSV adds the | |
| attribution contrast in dB per segment. Scored against the audited runs, they reach a | |
| diarization error rate of 39.5 / 49.2 / 57.6 % (Runs 3 / 4 / 7, 250 ms collar). | |
| ## Known issues | |
| - **Failed wearable microphones:** Run 1 (Surgeon, Anesthesiologist), Run 3 (Anesthesiologist), | |
| Run 9 (Surgeon). These speakers have no pseudo-labels in those runs, and their speech can show | |
| up under the nearest working microphone. The audited Run 3 labels do contain the | |
| Anesthesiologist, recovered manually. | |
| - **Microphone bleed:** in Run 7 the Surgeon's speech is mostly attributed to the OTA channel; | |
| the pseudo-labels of Run 8 show the same pattern. | |
| - **Coaching:** the Surgeon, an experienced ophthalmology resident, also coached the team, most | |
| extensively in Run 2. | |
| - **Run 1, ambient microphone:** the microscope recording (and with it the ambient microphone) was | |
| restarted, so the room track has a gap of about 2.4 min (≈1156–1301 s of the audio timeline). | |
| - **Run 1** has two microscope recordings (the recording was restarted). | |
| - **Event times:** `metadata/events.csv` is on the room-camera timeline, converted from the director's | |
| log (whose clock ran 1 h ahead of the recording PCs). Times the director noted only to the minute are | |
| marked `approximate`; deviations without a logged time have an empty `dataset_time_s`. | |
| - **Visitors:** a colleague taking photos in Run 3, two guests in Run 4 (see `metadata/events.csv`). | |
| - **Team changes:** in Run 8 a trainee observed (with a microphone, `spectator`) to prepare for Run 9, | |
| where the regular Cleaner/Nurse was absent and the trainee took that role. | |
| - **Camera 2** is the farthest from the table and partly blocked by the microscope; its depth | |
| shows an offset of about 5–10 cm in fused point clouds. | |
| - **Markers** were occasionally lost or occluded (see `metadata/events.csv`). | |
| ## Baselines | |
| See the paper for details and exact numbers. Phase recognition (TeCNO, leave-one-run-out over | |
| Runs 1–8, one frame per second on the frame timestamps, averaged over three trainings): the best | |
| single camera (Camera 5) reaches about 0.92 frame accuracy, and no fusion of the five views is better. | |
| Raw predictions switch phase often, so segmental scores are low; a ±5-s majority filter raises them | |
| substantially at unchanged accuracy. Zero-shot on the porcine Run 9: about 0.92 for Camera 3 and 0.94 | |
| for a soft vote of all five views. | |
| Far-field speaker diarization with an off-the-shelf pyannote.audio pipeline on the ambient microphone: | |
| 69.6 % mean DER on the audited runs (Run 4: 76.9 %); 74.3 % when the pipeline is given the true number | |
| of speakers. | |
| ## Ethics and consent | |
| The study was reviewed by the ethics committee of the Technical University of Munich, which | |
| classified it as a technical feasibility study and issued a waiver (2026-333-W-SB). No patients | |
| were involved. All recorded persons gave written informed consent, which covers the publication | |
| of identifiable video and audio in open-access repositories for scientific research. Faces and | |
| voices are therefore not anonymized. Please respect the terms of use. | |
| ## License | |
| CC BY-NC 4.0 (see `LICENSE.md`), with gated access for non-commercial research. | |
| ## Citation | |
| ```bibtex | |
| @article{henriques2026bifocalor, | |
| title = {Bifocal-OR: A Dual-Scale Multi-Sensor Dataset for Ophthalmic Surgery}, | |
| author = {Henriques, Angelo and Ross, Andrea and Zhang, Ling and Weisser, Mario and | |
| Arbabi, Danial and Paulmann, Henri and Sacco, Mateus and Friedrich, Jana and | |
| Nasseri, M. Ali}, | |
| note = {Under review}, | |
| year = {2026} | |
| } | |
| ``` | |
| ## Contact | |
| Angelo Henriques, Technical University of Munich (angelo.henriques@tum.de) | |