ret, corners = cv2.findChessboardCorners(...)
which will return a list of chessboard corners.
You can refine them via
corners2 = cv2.cornerSubPix(...)
and then use them as input to
ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(...)
to recover the intrinsic and extrinsic matrices.
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.
.mp4 video could be made, although that
may need to be encoded post-facto by ffmpeg as OpenCV might only output
raw video.
tar.gz
archive of your asg##/ directory, including:
README file containing
Makefile
handin notes