With the continuous advancement and popularization of autonomous driving technology, more and more vehicles with autonomous driving technology will appear on the road, and the service objects of road markings will gradually transition from drivers to autonomous vehicles.On the one hand, the method of road markings condition assessment requires a lot of manpower to inspect, measure and evaluate; on the other hand, the evaluation index is based on biological vision research, which does not conform to the characteristics of automatic driving vehicles based on machine vision. To solve the above problems, this paper proposed a method of road markings condition assessment for autonomous vehicles. First, PSNR(peak signal-to-noise ratio) was initially determined as the evaluation index by means of literature review, analogical reasoning and logical reasoning. Secondly, to quickly obtain PSNR, this paper proposes a calculation method of the PSNR based on image inpainting, which utilizes the DeblurGAN model restores the damaged road markings at the image level, and then uses the damaged and restored road markings images to calculate the PSNR. In addition, this paper proposed a data augmentation method that can realis-tically synthesize damaged road markings images to improve the performance of image inpainting models. Then, the AlexNet network was used as the benchmark model to design experiments to study the relationship between the PSNR and the recognition accuracy of road markings. The experimental results show that, compared with the calculation method of the PSNR based on the artificially restored image, the average PSNR obtained by the method proposed in this paper only differs by about 2.24%, but the acquisition speed is increased by about 418 times; when the average PSNR differs by about 43.66%, the average recognition accuracy differs by about 36.27%. Therefore, the PSNR can measure the use of road markings. Compared with the evaluation method of the current standard, the evaluation method proposed in this paper improves the work efficiency by about 6.5 times and consumes less manpower. And it is more in line with the characteristics of self-driving cars, but the evaluation methods are more detailed in the specification.