diff python/cvutils.py @ 950:c03d2c0a4c04

corrected bugs
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 21 Jul 2017 18:18:02 -0400
parents 053484e08947
children 747a5c68bd3c
line wrap: on
line diff
--- a/python/cvutils.py	Fri Jul 21 17:52:56 2017 -0400
+++ b/python/cvutils.py	Fri Jul 21 18:18:02 2017 -0400
@@ -477,7 +477,7 @@
 
                 # Draw and display the corners
                 if display:
-                    img = cv2.drawChessboardCorners(img, (checkerBoardSize[1],checkerBoardSize[0]), corners, ret)
+                    cv2.drawChessboardCorners(img, (checkerBoardSize[1],checkerBoardSize[0]), corners, ret)
                     if img is not None:
                         cv2.imshow('img',img)
                         cv2.waitKey(0)