Merge pull request #2304 from mattvenn:master
This commit is contained in:
commit
f297ec55ae
@ -110,11 +110,11 @@ Once we find the corners, we can increase their accuracy using **cv2.cornerSubPi
|
|||||||
if ret == True:
|
if ret == True:
|
||||||
objpoints.append(objp)
|
objpoints.append(objp)
|
||||||
|
|
||||||
corners2 = cv2.cornerSubPix(gray,corners,(11,11),(-1,-1),criteria)
|
cv2.cornerSubPix(gray,corners,(11,11),(-1,-1),criteria)
|
||||||
imgpoints.append(corners2)
|
imgpoints.append(corners)
|
||||||
|
|
||||||
# Draw and display the corners
|
# Draw and display the corners
|
||||||
img = cv2.drawChessboardCorners(img, (7,6), corners2,ret)
|
cv2.drawChessboardCorners(img, (7,6), corners2,ret)
|
||||||
cv2.imshow('img',img)
|
cv2.imshow('img',img)
|
||||||
cv2.waitKey(500)
|
cv2.waitKey(500)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user