Skip to main content

Pre-recorded

To use the HoloCapturerPipeline with pre-recorded datasets, we must modify the cameraconfig.json file.

Requirements

  • A pre-recorded dataset.

PreRecordedDataset

Integration

  1. Open the Unity project in the explorer and open the file cameraconfig.json.

CameraConfigFile

  1. There are 3 main parameters to be aware of:
    • camera_type: the type of camera input you want to use. In this case, recorder.
    • device_config
      • input_path: the path to a pre-recorded dataset.
      • reconstruction_step: the type of data we want to use.
    • cameras: the section where the cameras in use are defined and their transformation matrices.

CameraConfigParameters

  1. Change the content of camera_type to recorder.

  2. Change the input_path to the one of your pre-recorded dataset with bars in this direction /.

  3. Change the reconstruction_step according to the type of data present in the pre-recorded. You can consult it via the name of the folder containing the data. It must match the HoloCapturerPipeline representation type. The available options are depth, pm, and xyz.

PreRecordedReconstructionStep

In the image case, the reconstruction_step step would have to be depth abd the HoloCapturerPipeline representation type would have to be HOLOCAPTURER_DEPTH.

Configuration parameters

Consult CameraConfig documentation for all configuration parameters available.

Use cases and good practices

Pre-recorded paths

Make sure that the path is correct and that the bars are in this direction /.