Read Write Camera Config
Write Camera Config
Viewer
Click change camera config
Then click advanced settings
Then click save
Code
cam_config = cam.getCameraConfig()
cam_config.write("file_location.bin")
Read Camera Config
Viewer
Click change camera config
Then click advanced settings
Then click save
Then click set to apply it to the current camera
Code
cam_config = tof.CameraConfig("file_location.bin")
cam.setCameraConfig(cam_config)