nfntn
August 21, 2023, 4:10pm
1
Hi,
While messing around with the values in the calibration files (.conf) to ensure these get applied, I experienced that ZED SDK may choose to automatically redownload the factory calibration and overwrite the file I had modified.
What does trigger a camera calibration values to be redownloaded despite the .conf file already being present?
Best
Hi,
Some values set to 0 such as the disto, baseline, convergence can trigger a re download of the calibration file.
You can look into this guide : https://www.stereolabs.com/docs/opencv/calibration/ to see how to use a custom calibration file.
Stereolabs Support
nfntn
August 22, 2023, 9:37am
3
Thanks.
Whereas the current default zed configuration file supports a 8 parameter distortion model,
How to Calibrate your ZED camera with OpenCV - Stereolabs only mentions the 5 parameter distortion model
Left and Right Distortion coefficients : as 5x1 Matrix [k1, K2, P1, P2, K3]
Does ZED loading the opencv based yaml format support 8 parameters distortion?
not for the moment, this will be updated in the coming release, probably in v4.0.7 of the ZED SDK.
1 Like
bmegli
February 1, 2024, 2:49pm
5
Auto download of calibration files may also lead to interesting problems when running from docker container.
As mapping calibration file path from container to host storage is not documented for docker:
calibration file doesn’t survive after restart of container
offline docker system may have even trouble starting correctly
Some notes in:
opened 12:23PM - 29 Jan 24 UTC
bug
### Preliminary Checks
- [X] This issue is not a duplicate. Before opening a … new issue, please search existing issues.
- [X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.
### Description
Docker camera system fails in offline (no internet) setup.
The reason is ZED SDK downloads camera calibration file over internet (when online) to:
- `/usr/local/zed/settings`
- this is not mapped from docker to host container
- in consequence when running offline docker container is unable to get this file
- and doesn't have it from running online
Mapping this path is not documented anywhere (docker docs are in several places), as far as I see.
### Steps to Reproduce
1. Unplug ZED-X system from the internet
2. Run docker container for ZED-X
3. System fails
Probably problem is similar for other ZED cameras
### Expected Result
Offline system with camera(s) works just the same as online (with internet access).
### Actual Result
Offline system doesn't work.
### ZED Camera model
ZED-X
### Environment
```shell
OS: Ubuntu 20.04 (Jetson L4T)
CPU: ARM64
GPU: Nvidia Jetson AGX Orin
ZED SDK: 4.0.8
ROS: Noetic
Docker image: based on `stereolabs/zed:4.0-runtime-l4t-r35.3`
```
### Anything else?
_No response_
------------------------
Edit:
- changed phrasing