Fix in calibrate_camera function