mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Fix the example in py_calib3d/py_calibration
This commit is contained in:
parent
48afe1586a
commit
99683e958a
@ -127,7 +127,7 @@ for fname in images:
|
|||||||
objpoints.append(objp)
|
objpoints.append(objp)
|
||||||
|
|
||||||
corners2 = cv.cornerSubPix(gray,corners, (11,11), (-1,-1), criteria)
|
corners2 = cv.cornerSubPix(gray,corners, (11,11), (-1,-1), criteria)
|
||||||
imgpoints.append(corners)
|
imgpoints.append(corners2)
|
||||||
|
|
||||||
# Draw and display the corners
|
# Draw and display the corners
|
||||||
cv.drawChessboardCorners(img, (7,6), corners2, ret)
|
cv.drawChessboardCorners(img, (7,6), corners2, ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user