Pre-recorded
To use the HoloCapturerPipeline with pre-recorded datasets, we must modify the cameraconfig.json file.
Requirements
- A pre-recorded dataset.
Integration
- Open the Unity project in the explorer and open the file cameraconfig.json.
- 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.
-
Change the content of
camera_type
torecorder
. -
Change the
input_path
to the one of your pre-recorded dataset with bars in this direction/
. -
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 aredepth
,pm
, andxyz
.
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 /
.