From 32737df1b5243d617d3fc20ce1256f6a447fcbfb Mon Sep 17 00:00:00 2001 From: flp Date: Wed, 16 Dec 2015 22:01:18 +0100 Subject: [PATCH] Print found calibration data --- samples/python2/calibrate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/python2/calibrate.py b/samples/python2/calibrate.py index 873dceb2f8..fe3ef57a22 100755 --- a/samples/python2/calibrate.py +++ b/samples/python2/calibrate.py @@ -91,9 +91,9 @@ if __name__ == '__main__': # calculate camera distortion rms, camera_matrix, dist_coefs, rvecs, tvecs = cv2.calibrateCamera(obj_points, img_points, (w, h), None, None) - # print("RMS:", rms) - # print("camera matrix:\n", camera_matrix) - # print("distortion coefficients: ", dist_coefs.ravel()) + print("\nRMS:", rms) + print("camera matrix:\n", camera_matrix) + print("distortion coefficients: ", dist_coefs.ravel()) # undistort the image with the calibration print('')