Previous Lanes getting overlayed in lane detection output window.
Hello, i have got a working code for lane and vehicle detection in opencv(version 2.3, based on C). Everything is fine, excpet that in the lane detection output window, the lanes detected get overlayed over the previous, thus filling the window with lines, subsequently. I do not know how to delete the previous drawn lane-lines from the window. The normal cvLine() function is used for drawing the lane lines. Your help would be highly appreciated.
Regards,
Soju.