Enhancing the reliability of building crack detection using convolutional neural networks via leveraging robust dataset design

  • Sohanur Rahman orcid

    Department of Information and Communication Engineering, Noakhali Science and Technology University, Noakhali 3814, Bangladesh

  • Md. Masudur Rahman orcid

    Department of Information and Communication Engineering, Noakhali Science and Technology University, Noakhali 3814, Bangladesh

  • Apurba Adikary orcid

    Department of Information and Communication Engineering, Noakhali Science and Technology University, Noakhali 3814, Bangladesh

  • Mehedi Hasan Talukder orcid

    Department of Computer Science and Engineering, Mawlana Bhashani Science and Technology University, Tangail 1902, Bangladesh

  • Minoru W. Yoshida orcid

    Department of Information System Creation, Kanagawa University, Yokohama 221-8686, Japan

Article ID: 4163
Keywords: structural maintenance, convolutional neural networks, dataset labeling, performance evaluation, structural health monitoring, comparative analysis, image classification, building inspection

Abstract

The detection of cracks is important in the maintenance of structures like concrete and brick walls, because the appearance of cracks is considered an initial sign of deterioration of structures, ensuring the safety and durability of structures. Traditionally, crack detection is performed by a maintenance engineer manually, which is laborious and time-consuming. Structural maintenance has seen the emergence of automated crack detection methods as a major goal. Convolutional neural network (CNN)-based methods have been superior to other existing methods. But they are not always good in different environments, like shadows, colour changes, or noise, and only work well if the training data is labelled correctly. Thus, CNN-based crack detection requires high-quality labelled datasets. In this research, we assembled comprehensive datasets (captured and online) and employed them in CNN-based techniques (e.g., AlexNet, ResNet-50, GoogLeNet, and VGG16), followed by a comparative analysis to evaluate their performance in structural maintenance. In comparing the performance of the AlexNet, ResNet-50, GoogLeNet, and VGG16 models for crack detection in buildings, ResNet-50 emerged as the top-performing model. All four models achieved high accuracy; however, ResNet-50 consistently demonstrated superior precision, recall, and F1-score. With a test accuracy of 99.88% for ResNet-50, 99.56% for GoogLeNet, 99.25% for VGG16, and 95.31% for AlexNet, ResNet-50 proved more adept at interpreting complex data patterns and minimizing classification errors. This highlights ResNet-50’s stronger ability to enhance classification performance, positioning it as a preferred model for structural crack identification.

Published
2026-06-17
How to Cite
Rahman, S., Rahman, M. M., Adikary, A., Talukder, M. H., & Yoshida, M. W. (2026). Enhancing the reliability of building crack detection using convolutional neural networks via leveraging robust dataset design. Building Engineering, 4(2). https://doi.org/10.59400/be4163
Section
Article

References

[1]Koch C, Georgieva K, Kasireddy V, et al. A review on computer vision based defect detection and condition assessment of concrete and asphalt civil infrastructure. Advanced Engineering Informatics. 2015; 29(2): 196–210. doi: 10.1016/j.aei.2015.01.008

[2]Zhang L, Yang F, Zhang YD, et al. Road crack detection using deep convolutional neural network. In: Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP); 25–28 September 2016; Phoenix, AZ, USA. pp. 3708–3712. doi: 10.1109/ICIP.2016.7533052

[3]Zou Q, Cao Y, Li Q, et al. CrackTree: Automatic crack detection from pavement images. Pattern Recognition Letters. 2012; 33(3): 227–238. doi: 10.1016/j.patrec.2011.11.004

[4]Dung CV, Anh LD. Autonomous concrete crack detection using deep fully convolutional neural network. Automation in Construction. 2019; 99: 52–58. doi: 10.1016/j.autcon.2018.11.028

[5]Shi Y, Cui L, Qi Z, et al. Automatic Road Crack Detection Using Random Structured Forests. IEEE Transactions on Intelligent Transportation Systems. 2016; 17(12): 3434–3445. doi: 10.1109/TITS.2016.2552248

[6]Dorafshan S, Thomas RJ, Maguire M. Comparison of deep convolutional neural networks and edge detectors for image-based crack detection in concrete. Construction and Building Materials. 2018; 186: 1031–1045. doi: 10.1016/j.conbuildmat.2018.08.011

[7]Ali SB, Wate R, Kujur S, et al. Wall Crack Detection Using Transfer Learning-based CNN Models. In: Proceedings of the 2020 IEEE 17th India Council International Conference (INDICON); 10–13 December 2020; New Delhi, India. pp. 1–7. doi: 10.1109/INDICON49873.2020.9342392

[8]Kim B, Yuvaraj N, Sri Preethaa KR, et al. Surface crack detection using deep learning with shallow CNN architecture for enhanced computation. Neural Computing and Applications. 2021; 33(15): 9289–9305. doi: 10.1007/s00521-021-05690-8

[9]Zhang A, Wang KCP, Fei Y, et al. Automated Pixel-Level Pavement Crack Detection on 3D Asphalt Surfaces with a Recurrent Neural Network. Computer-Aided Civil and Infrastructure Engineering. 2019; 34(3): 213–229. doi: 10.1111/mice.12409

[10]Dais D, Bal İE, Smyrou E, et al. Automatic crack classification and segmentation on masonry surfaces using convolutional neural networks and transfer learning. Automation in Construction. 2021; 125: 103606. doi: 10.1016/j.autcon.2021.103606

[11]Simonyan K, Zisserman A. Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv preprint. 2014. doi: 10.48550/ARXIV.1409.1556

[12]He K, Zhang X, Ren S, et al. Deep Residual Learning for Image Recognition. In: Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); 27–30 June 2016; Las Vegas, NV, USA. pp. 770–778. doi: 10.1109/CVPR.2016.90

[13]Szegedy C, Vanhoucke V, Ioffe S, et al. Rethinking the Inception Architecture for Computer Vision. In: Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); 27–30 June 2016; Las Vegas, NV, USA. pp. 2818–2826. doi: 10.1109/CVPR.2016.308

[14]Gopalakrishnan K, Khaitan SK, Choudhary A, et al. Deep Convolutional Neural Networks with transfer learning for computer vision-based data-driven pavement distress detection. Construction and Building Materials. 2017; 157: 322–330. doi: 10.1016/j.conbuildmat.2017.09.110

[15]Słoński M. A comparison of deep convolutional neural networks for image-based detection of concrete surface cracks. Computer Assisted Methods in Engineering and Science. 2019; 26(2): 105–112. Available online: https://scispace.com/pdf/a-comparison-of-deep-convolutional-neural-networks-for-image-17d3h8i5fd.pdf

[16]Dorafshan S, Thomas RJ, Maguire M. SDNET2018: An annotated image dataset for non-contact concrete crack detection using deep convolutional neural networks. Data in Brief. 2018; 21: 1664–1668. doi: 10.1016/j.dib.2018.11.015

[17]Özgenel ÇF. Concrete Crack Images for Classification. Mendeley Data; 2019. doi: 10.17632/5Y9WDSG2ZT.2

[18]Mohan A, Poobal S. Crack detection using image processing: A critical review and analysis. Alexandria Engineering Journal. 2018; 57(2): 787–798. doi: 10.1016/j.aej.2017.01.020

[19]Hsieh YA, Tsai YJ. Machine Learning for Crack Detection: Review and Model Performance Comparison. Journal of Computing in Civil Engineering. 2020; 34(5): 04020038. doi: 10.1061/(ASCE)CP.1943-5487.0000918

[20]Alipour M, Harris DK, Miller GR. Robust Pixel-Level Crack Detection Using Deep Fully Convolutional Neural Networks. Journal of Computing in Civil Engineering. 2019; 33(6): 04019040. doi: 10.1061/(ASCE)CP.1943-5487.0000854

[21]Rostami G, Chen PH, Hosseini MS. Segment Any Crack: Deep Semantic Segmentation Adaptation for Crack Detection. Journal of Computing in Civil Engineering. 2026; 40(3): 04026020. doi: 10.1061/JCCEE5.CPENG-7090

[22]Ogun E, Voeurn YA, Lee D. A Real-Time Mobile Robotic System for Crack Detection in Construction Using Two-Stage Deep Learning. Sensors. 2026; 26(2): 530. doi: 10.3390/s26020530

[23]Yun J, Kim J, Lee S. Automated UAV-Based Crack Detection and Measurement Using CNN and High-Resolution Image Processing. In: 3rd International Conference on Durability of Building and Infrastructures for Smart City, Lecture Notes in Civil Engineering. Springer Nature; 2026. pp. 564–571. doi: 10.1007/978-3-032-10649-0_54

[24]Liu G, Wu X, Dai F, et al. Crack-MsCGA: A Deep Learning Network with Multi-Scale Attention for Pavement Crack Detection. Sensors. 2025; 25(8): 2446. doi: 10.3390/s25082446

[25]Wang X, Zhang F, Zou X. Efficient Lightweight CNN and 2D Visualization for Concrete Crack Detection in Bridges. Buildings. 2025; 15(18): 3423. doi: 10.3390/buildings15183423

[26]Benz C, Rodehorst V. Omni-Crack30k: A Benchmark for Crack Segmentation and the Reasonable Effectiveness of Transfer Learning. In: Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW); 17–18 June 2024; Seattle, WA, USA. pp. 3876–3886. doi: 10.1109/CVPRW63382.2024.00392

[27]Alshawabkeh S, Dong D, Cheng Y, et al. A Hybrid Approach for Pavement Crack Detection Using Mask R-CNN and Vision Transformer Model. Computers, Materials & Continua. 2025; 82(1): 561–577. doi: 10.32604/cmc.2024.057213

[28]Bukaita W, Vankudothu K, Khan J. Automated Multi-Class Concrete Crack Detection and Severity Classification Using CNN-Based Deep Learning. American Journal of Civil Engineering. 2025; 13(4): 197–210. doi: 10.11648/j.ajce.20251304.12

[29]Ling H, Sun F. CCT Net: A Dam Surface Crack Segmentation Model Based on CNN and Transformer. Infrastructures. 2025; 10(9): 240. doi: 10.3390/infrastructures10090240

[30]Zhang L, Gong L, Wang L, et al. A Building Crack Detection UAV System Based on Deep Learning and Linear Active Disturbance Rejection Control Algorithm. Electronics. 2025; 14(15): 2975. doi: 10.3390/electronics14152975

[31]Ge K, Wang C, Guo YT, et al. Fine-tuning vision foundation model for crack segmentation in civil infrastructures. Construction and Building Materials. 2024; 431: 136573. doi: 10.1016/j.conbuildmat.2024.136573