python Double targeting encountered an error
ret, K1, D1, K2, D2, R, T, E, F = cv2.stereoCalibrate(objectPoints, imagePoints1, imagePoints2, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R=R, T=T, E=E, F=F, flags=flags)
Wrong type :
Traceback (most recent call last): File "D:/VS2019/Camera-Calibration-Reconstruct/stereo_camera_calibration.py", line 241, in <module> args.height) File "D:/VS2019/Camera-Calibration-Reconstruct/stereo_camera_calibration.py", line 121, in stereo_calibrate self.image_size) File "D:/VS2019/Camera-Calibration-Reconstruct/stereo_camera_calibration.py", line 55, in stereoCalibrate R=R, T=T, E=E, F=F, flags=flags)TypeError: an integer is required (got type NoneType)