The main emphasis of this project is to find the further ways which can be used further to improve the result of lane detection algorithms. Join Discord channel for discussion.
Task: Compute the camera calibration matrix and distortion coefficients given a set of chessboard images/curved road lane images.
hint: OpenCV provide some really helpful built-in functions for the task on camera calibration. First of all, to detect the calibration pattern in the calibration images, we can use the function cv2.findChessboardCorners(image, pattern_size).
Once we have stored the correspondeces between 3D world and 2D image points for a bunch of images, we can proceed to actually calibrate the camera through cv2.calibrateCamera(). Among other things, this function returns both the camera matrix and the distortion coefficients, which we can use to undistort the frames.
Task: Compute the camera calibration matrix and distortion coefficients given a set of chessboard images/curved road lane images.
hint: OpenCV provide some really helpful built-in functions for the task on camera calibration. First of all, to detect the calibration pattern in the calibration images, we can use the function
cv2.findChessboardCorners(image, pattern_size).
Once we have stored the correspondeces between 3D world and 2D image points for a bunch of images, we can proceed to actually calibrate the camera through
cv2.calibrateCamera().
Among other things, this function returns both the camera matrix and the distortion coefficients, which we can use to undistort the frames.