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.
To the point, we now do not need to solve for a line that intersects all nearby edge pixels. Instead, we can simply solve for the intersections between lines in Hough Space, and transform that intersection point back into Image Space to obtain a line which intersects enough edge pixels. Fortunately for us, OpenCV ships with a function for generating Hough lines from an image containing edge pixels.
The task is to use hough transorms to detect lines and render the detected hough lines as an overlay. 🙌
To the point, we now do not need to solve for a line that intersects all nearby edge pixels. Instead, we can simply solve for the intersections between lines in Hough Space, and transform that intersection point back into Image Space to obtain a line which intersects enough edge pixels. Fortunately for us, OpenCV ships with a function for generating Hough lines from an image containing edge pixels.
The task is to use hough transorms to detect lines and render the detected hough lines as an overlay. 🙌