Ask Your Question

Revision history [back]

I think you are returning so many values.Check the documentation of cv2.stereocalibrate. http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#stereocalibrate Although R,T,E,F and others are output matrices but they must be written inside like this:

Python: cv.StereoCalibrate(objectPoints, imagePoints1, imagePoints2, pointCounts, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, E=None, F=None, term_crit=(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS, 30, 1e-6), flags=CV_CALIB_FIX_INTRINSIC) →None NOTE: The order may be changed for cv2 (this is cv )