Reputation: 131
Im a student and im trying to do lane detection on an image using python language. Using Canny edge detection and Hough line transformation, i was succesful to detetct the lines in roads. But a single laneline is detected by many lines like this:
this is the image i tried laneline detection on
As in this image, the lanelines are detected,but in more than one number of lines. How can i average these lines to a single thick line on left,middle and right lanelines? Pls Help!
Upvotes: -1
Views: 222
Reputation: 1
each line is detected by the equation: y=mx+c so you have to calculate the m,c so and use the average accumulator to detect all the ting liens into one line that has the m,c
Upvotes: 0