which will return a list of chessboard corners. You can refine them viaret, corners = cv2.findChessboardCorners(...)
and then use them as input tocorners2 = cv2.cornerSubPix(...)
to recover the intrinsic and extrinsic matrices.ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(...)
In this assignment, try printing out a known chessboard (e.g., 9x6) and pasting it to a stiff piece of cardobard.
See if you can use the returned values to undistort whatever camera you are using.
.mp4video could be made, although that may need to be encoded post-facto by ffmpeg as OpenCV might only output raw video.
tar.gzarchive of your asg##/ directory, including: