You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when running the updated script for the mrcal calibrationUtils.py:
$ python3 calibrationUtils.py calibration2.json ./img
Traceback (most recent call last):
File "calibrationUtils.py", line 237, in <module>
main()
File "calibrationUtils.py", line 233, in main
convert_photon_to_mrcal(args.input, args.output_folder)
File "calibrationUtils.py", line 210, in convert_photon_to_mrcal
mrcal_model = __convert_cal_to_mrcal_cameramodel(camera_cal_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibrationUtils.py", line 129, in __convert_cal_to_mrcal_cameramodel
).reshape((cal.calobjectSize.width, cal.calobjectSize.height, 3))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 135 into shape (7,7,3)
I believe its caused by images that do not have all the points of the checkerboard being detected/in frame as when I run it with a calibration that has everything in frame and detected it appears to work fine and generates the cameramodel.
I get this error when running the updated script for the mrcal calibrationUtils.py:
I believe its caused by images that do not have all the points of the checkerboard being detected/in frame as when I run it with a calibration that has everything in frame and detected it appears to work fine and generates the cameramodel.
broken calibration file:
calibration2.json
working calibration file:
calibration3.json
Platform:
The text was updated successfully, but these errors were encountered: