Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Artif. Intell.

Sec. Machine Learning and Artificial Intelligence

This article is part of the Research TopicAdvanced Non-Destructive Testing for Structural Health Monitoring of StructuresView all articles

Enhancing Crack Detection and Severity Assessment in Historical Tabiya Basins Using U-Net and Adaptive Thresholding

Provisionally accepted
Hafsa  MATICHHafsa MATICH*Hajar  MOUSANNIFHajar MOUSANNIF
  • Cadi Ayyad University, Marrakesh, Morocco

The final, formatted version of the article will be published soon.

The conservation of the historical Tabiya water basins remains paramount, with consideration being their cultural and architectural importance, though structural degeneration like surface cracking poses a formidable challenge to conservation work. Since the traditional methods of inspection are often subjective, tedious, and prone to error, these limitations are tackled in this study by means of presenting an automated system for surface crack detection and segmentation based on artificial intelligence and computer vision techniques. High-resolution images were captured on-site using a Canon EOS 1100D camera and analyzed within a comparative deep learning framework using four models, namely U-Net with MobileNetV2, ResNet-50, InceptionV3, and EfficientNetB7 backbones. The proposed system performs crack detection and segmentation, as well as quantitative measurements, including crack length, width, and severity assessment through skeletonization, a crack length estimation algorithm, and a crack width extraction method. Experimental results indicated that the MobileNetV2-based model outperformed all other tested architectures, with an accuracy of 98.7%, a recall of 98.2%, a precision of 99.1%, and an F1-score of 98.6%. Furthermore, the developed framework has also been deployed as a web application that allows users to upload or drag and drop images and select from four available models for automated analysis. This integrated system represents a strong, precise, and user-friendly tool for the digital preservation and structural monitoring of heritage water infrastructure.

Keywords: Crack detection, deep learning, Fully convolutional network, Heritage building, Semantic segmentation, U-Net adaptive thresholding

Received: 06 Nov 2025; Accepted: 16 Jan 2026.

Copyright: © 2026 MATICH and MOUSANNIF. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Hafsa MATICH

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.