fixed "corners2" to "corners" & nicer whitespace
This commit is contained in:
@@ -134,7 +134,7 @@ for fname in images:
|
|||||||
imgpoints.append(corners)
|
imgpoints.append(corners)
|
||||||
|
|
||||||
# Draw and display the corners
|
# Draw and display the corners
|
||||||
cv2.drawChessboardCorners(img, (7,6), corners2,ret)
|
cv2.drawChessboardCorners(img, (7,6), corners, ret)
|
||||||
cv2.imshow('img', img)
|
cv2.imshow('img', img)
|
||||||
cv2.waitKey(500)
|
cv2.waitKey(500)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user