Automated concrete crack detection enhanced by deep learning and generative adversarial networks

Y Yue Chang (State Key Laboratory of Animal Biodiversity Conservation and Integrated Pest Management, Institute of Zoology, Chinese Academy of Sciences)

Abstract

Cracks on the surface of concrete structures are an obvious indication of their condition. However, traditional visual inspection methods are significantly influenced by human factors. They are accurate for larger cracks. However, they introduce subjective judgment when detecting smaller cracks. They also pose safety risks. Automated detection methods face challenges in achieving lightweight implementation due to limited annotated data and difficulties in complex environments. This paper proposes a method for detecting and measuring concrete cracks. The method uses a generative adversarial network (GAN) to augment data and a U-Net segmentation network. Conditional GAN (cGAN) is proposed to generate high-fidelity crack images using training-set data only, avoiding data leakage and effectively solving insufficient sample issues. A U-Net segmentation network that has been enhanced performs crack segmentation. This network incorporates channel attention modules and dilated residual blocks. A hybrid loss function that combines the Dice coefficient and binary cross-entropy resolves class imbalance. Fractal theory quantifies the geometric features of the detected cracks. The crack segmentation model that was trained on cGAN-augmented datasets achieved an average precision (AP) of 82.03% and an F1 score of 83.24%, as demonstrated by experimental results. The fractal dimension–based crack measurement method achieves an accuracy of ≤4% error for complex crack networks (fractal dimension >1.6). The proposed method provides a reproducible, automated, high-precision solution for concrete crack detection and quantification, with verified stability and engineering applicability.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 7
Published July 20, 2026
Pages e0354018
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (1)

Y

Yue Chang

State Key Laboratory of Animal Biodiversity Conservation and Integrated Pest Management, Institute of Zoology, Chinese Academy of Sciences