Abstract:This paper proposes a road crack image preprocessing method based on the fusion of LSD (Line Segment Detector) and FLD (Fast Line Detector) to address the issue of linear interferences such as road sign and road edges affecting road crack recognition. Firstly, based on the LSD algorithm and FLD algorithm, line detection is performed on the crack image to obtain the line segment coordinate values of linear interferences; Secondly, reconnecting broken lines based on the line segment coordinate values returned by the line detection algorithm solves the problem of extracting discontinuous line segments by the line detection algorithm; Finally, the FMM (Fast Marching Method) Inpainting algorithm is used to eliminate the linear interferences according to the mask image of the linear interferences and the original image of the crack image obtained after the line segments are reconnected. After extensive experimental analysis, it can be concluded that this method can effectively eliminate linear interferences in crack images, improving the accuracy of crack detection by 7.1%.