This paper proposes a bridge crack image augmentation method based on an improved Deep Convolutional Generative Adversarial Network(DCGAN)—namely RAFLS-DCGAN,which integrates residual networks,attention mechanisms,fully-connected layers,and least squares loss.First,the binary cross-entropy loss in the original DCGAN is replaced with least squares loss,and an attention mechanism is introduced to enhance the model's ability to capture crack features.Second,fully-connected layers are incorporated into the network,and an improved residual module is designed and applied to both the generator and discriminator,so as to increase network depth and mitigate mode collapse,thereby extracting deeper image features and improving the authenticity and diversity of generated images.Experimental results show that,for bridge crack image generation,RAFLS-DCGAN reduces the FID values by 406.26,189.52,125.36,and 107.47 compared to DCGAN,DCGAN+,LSGAN,and SNGAN,respectively.Its Generator Image Classification Evaluation(GICE)and Real Image Classification Evaluation(RICE)scores improve by 12.28 and 23.52 points over DCGAN+,respectively.When the dataset augmented by RAFLS-DCGAN is used for crack recognition,the accuracy improves by 17.01,25.85,and 25.93 points on AlexNet,VGGNet,and ResNet,respectively,and by 18.11,24.68,and 12.26 points on YOLOv5,YOLOv8,and YOLOv11,respectively.