Closed saratrajput closed 3 years ago
It is indeed in /usr/local/zed/settings/
by default, but in the docker container, it is wiped at each launch.
You can either mount a volume like docker run -v /usr/local/zed/settings/:/usr/local/zed/settings/ ....
Or you can specify in the InitParameters a different settings path (API doc)
import pyzed.sl as sl
zed = sl.Camera()
init_params = sl.InitParameters()
init_params.optional_settings_path = "/custom/folder"
err = zed.open(init_params)
I'm launching zed camera from within docker. The zed calibration file is downloaded every time a new docker container is launched. Instructions at link1 and link2 mention to place the calibration file in
/usr/local/zed/settings/
directory. I'm wondering if there is a way to place the the calibration file in the repository itself and specify the location with Python API?