SLAMcore Dataset Recorder

The SLAMcore SDK enables you to record the camera and IMU data streams and store them under a dataset on disk, via the SLAMcore Dataset Recorder application.

Usage

To record a dataset using your camera, run the following from a terminal window:

# Launch the SLAMcore Dataset Recorder
$ slamcore_dataset_recorder

Application UI

_images/dataset_recorder_gui.png

Fig. 12 SLAMcore Dataset Recorder - User Interface

To change the dataset’s destination directory, click on the folder icon Select Directory Button.

To record a dataset, press the red Record button Record Button or hit the space bar key. The application will display the duration of the current dataset recording.

To stop recording, press the blue Stop button Stop Button or hit the space bar key again. Once the dataset has been written to disk, the application will display a pop-up with the path to the recorded dataset directory, as in the figure below.

_images/dataset_recorder_gui_dataset_written.png

Fig. 13 SLAMcore Dataset Recorder - Dataset Written Confirmation

Warning

Do not close the application until the pop-up is displayed to ensure all data is written to disk.

Once written, the dataset can be used as input to other SLAMcore software tools.

See Dataset Compressor on how to perform PNG compression in a recorded dataset and saves storage space on your machine.

Command-Line Options

At start-up, the SLAMcore Dataset Recorder accepts the following command-line options:

-h,--help

Print this help message and exit

--help-all

Expand all help

-v,--version

Display the version

-c,--config-file :FILE ...

Path to the configuration file(s)

RealSense Subcommand Options

The following options only apply to RealSense cameras.

realsense

Detect RealSense camera

--dev,--device

Integer device index for multiple reader types

--color,--no-color

Enable or disable the colour stream (Contact support@slamcore.com to enable this feature on your SLAMcore account.)

--depth,--no-depth

Enable or disable the depth stream (See FAQs for detailed explanation)

--ir,--no-ir

Enable or disable the infrared stream

--fps

Override reader’s FPS (See FAQs for options)

Mynteye2 Subcommand Options

The following options only apply to Mynteye2 cameras.

mynteye2

Detect Mynteye2 camera

--dev,--device

Integer device index for multiple reader types

--fps

Override reader’s FPS (See FAQs for options)