Gray Brick Wall Surface Damage Detection of Traditional Chinese Buildings in Macau: Damage Quantification and Thermodynamic Analysis Method via YOLOv8 Technology
Source abstract
Abstract
The historical Lingnan gray brick buildings in Macau, a World Heritage Site, are facing severe deterioration due to prolonged disrepair, manifesting as cracks, breakages, moss adhesion, and other types of surface damage. These issues threaten not only the structural stability of the buildings but also the conservation of cultural heritage. To address the inefficiencies and low accuracy of traditional manual inspections, this study proposes an automated recognition and quantitative detection method for wall surface damage based on the YOLOv8 deep learning object detection model. A dataset comprising 375 annotated images collected from 162 gray brick historical buildings in Macau was constructed, covering eight damage categories: crack, damage, missing, vandalism, moss, stain, plant, and intact. The model was trained and validated using a stratified sampling approach to maintain a balanced class distribution, and its performance was comprehensively evaluated through metrics such as the mean average precision (mAP), F1 score, and confusion matrices. The results indicate that the best-performing model (Model 3 at the 297th epoch) achieved a mAP of 61.51% and an F1 score up to 0.74 on the test set, with superior detection accuracy and stability. Heatmap analysis demonstrated the model’s ability to accurately focus on damaged regions in close-range images, while damage quantification tests showed high consistency with manual assessments, confirming the model’s practical viability. Furthermore, a portable, integrated device embedding the trained YOLOv8 model was developed and successfully deployed in real-world scenarios, enabling real-time damage detection and reporting. This study highlights the potential of deep learning technology for enhancing the efficiency and reliability of architectural heritage protection and provides a foundation for future research involving larger datasets and more refined classification strategies.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Building materials and conservation · Conservation Techniques and Studies · Masonry and Concrete Structural Analysis
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Heritage Conservation Laboratory, Faculty of Humanities and Arts, Macau University of Science and Technology, Taipa, Macau 999078, China
Funding
Macau Science and Technology Development Fund (FDCT)
References (49)
Show source-provided references
1. Porter, J. (2018). Macau: The Imaginary City, Routledge.10.4324/9780429499128 ↗
2. Pons, P. (2002). Macao, Reaktion Books.
3. Hao, Z. (2011). Macau History and Society, Hong Kong University Press.
4. Investigation and analysis of architectural styles in the historical center of Macau
5. Yang, X., Zheng, L., Chen, Y., Feng, J., and Zheng, J. (2023). Recognition of Damage Types of Chinese Gray-Brick Ancient Buildings Based on Machine Learning—Taking the Macau World Heritage Buffer Zone as an Example. Atmosphere, 14.10.3390/atmos14020346 ↗
6. Historical change and future scenarios of sea level rise in Macau and adjacent waters10.1007/s00376-015-5047-1 ↗
7. (2025, April 24). The Joint Working Committee for Promoting the Construction of Macau Into a “Base for Exchange and Cooperation with Chinese Culture as the Mainstream and Multiple Cultures Coexisting” Holds Its 2024 Annual Meeting, Available online: https://www.gov.mo/zh-hans/news/754876/.
8. Characterization of mechanical behaviour of grey clay brick masonry in China10.1016/j.conbuildmat.2020.119964 ↗
9. Conservation of disappearing traditional manufacturing process for Chinese grey brick: Field survey and laboratory study10.1016/j.conbuildmat.2019.03.317 ↗
10. Evolution of structural damage of gray brick masonry under freeze-thaw cycles
11. Study on frost damage of gray brick walls of ancient buildings in Longshengzhuang, central Inner Mongolia
12. Damage evolution of ancient building gray bricks subjected to freeze-thaw cycles based on DIC
13. Research on freeze-thaw damage of gray bricks in ancient buildings based on fractal theory
14. Evaluation of anti-salt erosion performance of gray bricks in historical buildings under different damage degrees
15. Study on the corrosion mechanism and remaining life prediction of gray bricks in ancient buildings under saline environment
16. Deterioration mechanism and remaining life prediction of gray bricks in Longshengzhuang ancient building under complex environment
17. Zhang, H., Zhang, J., Zhang, L., Ying, Y., Wang, N., Li, D., and Xu, H. (2024). Ancient architectural pathology of blue bricks and brick carvings in Northwest China: Example from the White Temple Tower. Case Stud. Constr. Mater., 20.10.1016/j.cscm.2024.e03357 ↗
18. Ma, S., Chun, Q., Zhang, C., Li, D., and Zhai, F. (2025, May 01). Computer Vision-Based Automatic Damage Identification and Localization of Masonry Architectural Heritage—A Case Study of the Great Wall. Soc. Sci. Res. Netw., Available online: https://ssrn.com/abstract=4833323.10.2139/ssrn.4833323 ↗
19. Zhang, L., Chen, Y., Zheng, L., Yan, B., Zhang, J., Xie, A., and Lou, S. (2024). Investigating the Surface Damage to Fuzhou’s Ancient Houses (Gu-Cuo) Using a Non-Destructive Testing Method Constructed via Machine Learning. Coatings, 14.10.3390/coatings14111466 ↗
20. Li, Q., Zheng, L., Chen, Y., Yan, L., Li, Y., and Zhao, J. (2023). Non-destructive testing research on the surface damage faced by the Shanhaiguan Great Wall based on machine learning. Front. Earth Sci., 11.10.3389/feart.2023.1225585 ↗
21. Automatic damage detection of historic masonry buildings based on mobile deep learning10.1016/j.autcon.2019.03.003 ↗
22. Damage classification for masonry historic structures using convolutional neural networks based on still images10.1111/mice.12411 ↗
23. Application of computer vision technology in surface damage detection and analysis of shedthin tiles in China: A case study of the classical gardens of Suzhou10.1186/s40494-024-01185-6 ↗
24. Deep learning-based 3D reconstruction of ancient buildings with surface damage identification and localization10.1016/j.istruc.2025.108383 ↗
25. Detecting surface defects of heritage buildings based on deep learning
26. Nondestructive inspection of a brick–timber structure in a modern architectural heritage building: Lecture hall of the Anyuan Miners’ Club, China10.1016/j.foar.2019.06.005 ↗
27. Yang, S., Chen, Y., Zheng, L., Chen, J., Huang, Y., Huang, Y., Wang, N., and Hu, Y. (2025). Investigating and Identifying the Surface Damage of Traditional Ancient Town Residence Roofs in Western Zhejiang Based on YOLOv8 Technology. Coatings, 15.10.3390/coatings15020205 ↗
28. Research on intelligent monitoring technology for roof damage of traditional Chinese residential buildings based on improved YOLOv8: Taking ancient villages in southern Fujian as an example10.1186/s40494-024-01345-8 ↗
29. Fan, J., Chen, Y., and Zheng, L. (2024). Artificial Intelligence for Routine Heritage Monitoring and Sustainable Planning of the Conservation of Historic Districts: A Case Study on Fujian Earthen Houses (Tulou). Buildings, 14.10.3390/buildings14071915 ↗
30. Study on loose damage monitoring of mortise-tenon joints in traditional wooden structures based on piezoelectric active sensing10.1088/1361-665X/acd495 ↗
31. Automatic detection and recognition method of Chinese clay tiles based on YOLOv4: A case study in Macau10.1080/15583058.2023.2246029 ↗
32. CNN-based statistics and location estimation of missing components in routine inspection of historic buildings10.1016/j.culher.2019.02.002 ↗
33. Novel system for rapid investigation and damage detection in cultural heritage conservation based on deep learning10.1061/(ASCE)IS.1943-555X.0000499 ↗
34. Damage detection method in ancient building grey bricks fused with attention mechanisms
35. Kurniawan, A.D.S., Purnama, Y.I., Wicaksono, A.B., and Mahmudah, H. (2024, January 6–8). Comparative Analysis and Optimization of Deep Learning Models for Object Detection Using Grid Search Hyperparameter Tuning. Proceedings of the 2024 International Electronics Symposium (IES), Denpasar, Indonesia.
36. Tian, Y., Ye, Q., and Doermann, D. (2025). Yolov12: Attention-centric real-time object detectors. arXiv.
37. Object detection in real-time video surveillance using attention-based transformer-YOLOv8 model10.1016/j.aej.2025.01.032 ↗
38. Lang, K., Cui, J., Yang, M., Wang, H., Wang, Z., and Shen, H. (2024). A Convolution with Transformer Attention Module Integrating Local and Global Features for Object Detection in Remote Sensing Based on YOLOv8n. Remote Sens., 16.10.3390/rs16050906 ↗
39. TA-YOLO: A lightweight small object detection model based on multi-dimensional trans-attention module for remote sensing images10.1007/s40747-024-01448-6 ↗
40. Li, J., Zhang, J., Shao, Y., and Liu, F. (2024). SRE-YOLOv8: An Improved UAV Object Detection Model Utilizing Swin Transformer and RE-FPN. Sensors, 24.10.3390/s24123918 ↗
41. Creative transformation and innovative development of Lingnan traditional architectural culture-taking the architecture reconstruction design of liwan district in Guangzhou as an example10.1088/1742-6596/1649/1/012014 ↗
42. Song, Y., and Liao, C. (2022). Structural Materials, Ventilation Design and Architectural Art of Traditional Buildings in Guangdong, China. Buildings, 12.10.3390/buildings12070900 ↗
43. Inheritance and innovative application of Lingnan traditional architectural culture in architectural design10.1088/1742-6596/1649/1/012015 ↗
44. Exploration of Decorative Components of Ancient Houses in Zhanjiang
45. Gao, Y., and Cheng, J. (2010, January 7–9). Thermal Environment Analysis of Laneway of Traditional Village in Lingnan. Proceedings of the 2010 International Conference on E-Product E-Service and E-Entertainment, Henan, China.10.1109/ICEEE.2010.5660649 ↗
46. Research on the Decorative Patterns of Modern Residential Buildings in Macao from the Perspective of Social Change
47. Three Adaptabilities of the Traditional Vernacular Architecture of the Han Nationality in Lingnan10.4028/www.scientific.net/AMM.644-650.5109 ↗
48. Chikan’s arcade buildings: The hybrid and civil architecture of Lingnan10.1080/20507828.2018.1501214 ↗
49. Analysis on climate adaptability of traditional villages in Lingnan, China—World Cultural Heritage Site of Majianglong Villages as example10.1016/j.proeng.2017.10.074 ↗