-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Bug in calib3D py_calibration tutorial #22360
Copy link
Copy link
Closed
Labels
Milestone
Description
The camera 3D calibration tutorial in py_calibration has a small bug: better chessboard corners are computed via cornerSubPix but the original corners are kept instead of the newly computed:
Original code:
corners2 = cv.cornerSubPix(gray,corners, (11,11), (-1,-1), criteria)
imgpoints.append(corners)Should be:
corners2 = cv.cornerSubPix(gray,corners, (11,11), (-1,-1), criteria)
imgpoints.append(corners2) ### corrected lineReactions are currently unavailable