Read Write Camera Config

Write Camera Config

Viewer

Click change camera config

open camera config

Then click advanced settings

open advanced setting

Then click save

save camera config

Code

cam_config = cam.getCameraConfig()
cam_config.write("file_location.bin")

Read Camera Config

Viewer

Click change camera config

open camera config

Then click advanced settings

open advanced setting

Then click save

load camera config

Then click set to apply it to the current camera

apply camera config

Code

cam_config = tof.CameraConfig("file_location.bin")
cam.setCameraConfig(cam_config)