The UXO Dataset 2024 includes a convenient viewer script that allows you to step through recordings and visualize synchronized sonar, camera, and trajectory data.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dfki-ric/uxo-dataset2024/llms.txt
Use this file to discover all available pages before exploring further.
The Dataset Viewer
Theview_recording.py script provides an interactive Qt-based GUI for exploring the dataset. It displays:
- ARIS sonar frames (raw or polar-transformed)
- Synchronized GoPro camera frames
- Gantry trajectory and pose information
- Frame and file metadata
- Recording notes
Basic Usage
To view a recording, use the following command:Example
Replace
<target_type> and <recording-folder> with the actual paths from your downloaded dataset.Command-Line Options
The viewer supports several command-line arguments to customize the display:Path to the recording directory to view
Display polar-transformed sonar images instead of raw sonar data. Use
--no-polar to view raw frames.Apply colormap to sonar images for better visualization. Use
--no-colorize for grayscale.Enable LRU caching to speed up navigation by keeping frames in memory. Useful for repeated viewing.
Usage Examples
Viewer Interface
The viewer window is divided into several sections:Sonar Display (Left)
Shows the ARIS sonar frame for the current position. By default, displays polar-transformed images with a colormap applied (TWILIGHT_SHIFTED).
Camera Display (Top Right)
Shows the synchronized GoPro camera frame corresponding to the current sonar frame.
Position Information
Displays the current frame index and position in the recording (e.g., “Frame 42 (1 / 150)”).
Trajectory Information
Shows gantry crane position data including transforms between sonar and targets.
Keyboard Controls
Navigate through the recording using keyboard shortcuts:Quit the viewer
Understanding the Display
Sonar Visualization
The ARIS sonar data can be displayed in two formats:- Polar Transformed (Default)
- Raw Format
Polar-transformed images represent what the sonar was actually “seeing” - the acoustic image projected into a 2D plane. This format is more intuitive for human interpretation.
- Resolution: 1000 pixels per meter (configurable)
- Format: PNG with compression
- Colormap: TWILIGHT_SHIFTED (can be disabled with
--no-colorize)
Camera Frames
The GoPro frames are:- Extracted from UHD (5.3K) source footage
- Downsampled to Full HD (1920x1080) for export
- Synchronized with sonar frames via motion matching
- Saved as individual JPEG files indexed by ARIS frame number
Trajectory Data
The gantry information panel shows:- Position and orientation of the gantry crane
- Accurate transforms between sonar and UXO targets
- Timestamps synchronized with ARIS frame indices
Advanced Usage
Enabling Frame Caching
For faster navigation when repeatedly viewing the same frames:Caching increases memory usage but significantly improves performance when jumping back and forth between frames.
Viewing Multiple Recordings
To compare different recordings, open multiple viewer instances:Troubleshooting
Viewer won't start
Viewer won't start
Ensure PyQt5 is properly installed:On Linux, you may need system dependencies:
Images not loading
Images not loading
Verify the recording directory structure:Required directories:
aris_polar/oraris_raw/gopro/gantry.csvaris_frame_meta.csvaris_file_meta.yaml
GoPro frames missing
GoPro frames missing
Some recordings may not have complete GoPro coverage. The viewer will display sonar data even if camera frames are unavailable for certain indices.
Colormap issues
Colormap issues
If the colormap appears incorrect, try viewing without colorization:
Next Steps
Dataset Structure
Learn about the organization and file formats
Processing Scripts
Explore the preprocessing pipeline