Fix the example in py_calib3d/py_calibration

This commit is contained in:
Kian Eliasi 2022-08-12 19:26:59 +04:30 committed by GitHub
parent 48afe1586a
commit 99683e958a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ for fname in images:
objpoints.append(objp)
corners2 = cv.cornerSubPix(gray,corners, (11,11), (-1,-1), criteria)
imgpoints.append(corners)
imgpoints.append(corners2)
# Draw and display the corners
cv.drawChessboardCorners(img, (7,6), corners2, ret)