zed-opencv-native
zed-opencv-native copied to clipboard
The program cannot automatically download the camera calibration file
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
When I try to run zed_opencv_native.py, I get the following error message:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\{name removed}\AppData\Roaming\Stereolabs\settings\SN{serial number}.conf_sw9hj4f.tmp'
Steps to Reproduce
- Run "python zed_opencv_native.py {My Serial Number}" ...
Expected Result
That the code would automatically download the calibration file for my device.
Actual Result
I get the following error:
C:\Users{name removed}\OneDrive\Optical Flow\zed-opencv-native-master\zed-opencv-native-master\python>python zed_opencv_native.py 35962572
Traceback (most recent call last):
File "C:\Users{name removed}\OneDrive\Optical Flow\zed-opencv-native-master\zed-opencv-native-master\python\zed_opencv_native.py", line 189, in
ZED Camera model
ZED2i
Environment
Python 3.10
Anything else?
I was able to bypass this bug by:
- Manually downloading the config file from: http://calib.stereolabs.com/?SN=
- Creating the folder: C:\Users{name removed}\AppData\Roaming\Stereolabs\settings
- Putting the config file in that folder