Running the HAMS-ALT Camera Calibration Module#

[ ]:
import os

from mapping_cli.calibration import camera_calibration
[ ]:
images_path = ""
phone_name = ""
marker_length = 3.5
marker_separation = 0.5

output_folder = "output"
[ ]:
os.makedirs(output_folder, exist_ok=True)
camera_calibration(phone_name, images_path, marker_length, marker_separation, output_folder)

The calibration file is now saved in the output folder under the name calib_<phone_name>.yml