# HG changeset patch # User Nicolas Saunier # Date 1508533172 14400 # Node ID 0c1d1eeef54449370f338e7d868148457fea3159 # Parent 4f32d82ca390649da30c34ac6ac4e43fe840fd16 corrected bug on new computer diff -r 4f32d82ca390 -r 0c1d1eeef544 scripts/compute-homography.py --- a/scripts/compute-homography.py Thu Aug 24 17:22:24 2017 -0400 +++ b/scripts/compute-homography.py Fri Oct 20 16:59:32 2017 -0400 @@ -52,6 +52,7 @@ [map1, map2], newCameraMatrix = cvutils.computeUndistortMaps(videoImg.shape[1], videoImg.shape[0], args.undistortedImageMultiplication, np.loadtxt(args.intrinsicCameraMatrixFilename), args.distortionCoefficients) videoImg = cv2.remap(videoImg, map1, map2, interpolation=cv2.INTER_LINEAR) print('Click on {} points in the video frame'.format(args.nPoints)) + plt.ion() plt.figure() plt.imshow(videoImg) plt.tight_layout()