Deep Learning for Automated Sewer Defect Detection: Benchmarking YOLO and RT-DETR on the Istanbul Dataset
Source abstract
Abstract
The inspection and maintenance of urban sewer infrastructure remain critical challenges for megacities, where conventional manual inspection approaches are labor-intensive, time-consuming, and prone to human error. Although deep learning has been increasingly applied to sewer inspection, the field lacks both a publicly available large-scale dataset and a systematic evaluation of CNN and transformer-based models on real sewer footage. The primary aim of this study is to systematically evaluate and compare state-of-the-art deep learning architectures for automated sewer defect detection using a newly introduced dataset. We present the Istanbul Sewer Defect Dataset (ISWDS), comprising 13,491 expert-annotated images collected from Istanbul’s wastewater network and covering eight defect categories that account for approximately 90% of reported failures. The scientific novelty of this work lies in both the introduction of the ISWDS and the first systematic benchmarking of YOLO (v8/11/12) and RT-DETR (v1/v2) architectures under identical protocols on real sewer inspection footage. Experimental results demonstrate that RT-DETR v2 achieves the best performance (F1: 79.03%, Recall: 81.10%), significantly outperforming the best YOLO variant. While transformer-based architectures excel in detecting partially occluded defects and complex operational conditions, YOLO models provide computational efficiency advantages for resource-constrained deployments. Furthermore, a QGIS-based inspection tool integrating the best-performing models was developed to enable real-time video analysis and automated reporting. Overall, this study highlights the trade-offs between accuracy and efficiency, demonstrating that RT-DETR v2 is most suitable for server-based processing. In contrast, compact YOLO variants are more appropriate for edge deployment.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Infrastructure Maintenance and Monitoring · Flood Risk Assessment and Management · Urban Stormwater Management Solutions
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Geographic Information Systems Branch Directorate, Department of Information Technology, Istanbul Water and Sewerage Administration, 34060 Istanbul, Türkiye
Department of Geomatics Engineering, Yildiz Technical University, 34220 Istanbul, Türkiye
References (54)
Show source-provided references
1. United Nations Department of Economic and Social Affairs, Population Division (2022). World Population Prospects 2022: Summary of Results, United Nations. UN DESA/POP/2022/TR/NO. 3.
2. An Integrated Approach for Sustainable Development of Wastewater Treatment and Management System Using IoT in Smart Cities10.1007/s00500-021-06244-9 ↗
3. Yousofi, F. (2024). Climate Change Poses Risks to Neglected Public Transportation and Water Systems, Pew Research Center. Available online: https://www.pew.org/en/research-and-analysis/issue-briefs/2024/09/climate-change-poses-risks-to-neglected-public-transportation-and-water-systems.
4. Insights into Bio-Deterioration of Concrete Exposed to Sewer Environment: A Case Study10.1016/j.conbuildmat.2023.134835 ↗
5. Sewage Leakage Challenges Urban Wastewater Management as Evidenced by the Yangtze River Basin of China10.1038/s41545-024-00388-5 ↗
6. Combined Sewer Overflows: Relating Event Duration Monitoring Data to Wastewater Systems’ Capacity in England10.1039/D2EW00637E ↗
7. Istanbul Water and Sewage Administration (ISKI) (2025, September 10). Innovation from ISKI, (In Turkish).
8. Approaches to Sewer Maintenance: A Review10.1016/S1462-0758(00)00065-0 ↗
9. United States Environmental Protection Agency (2025, September 02). Report to Congress: Impacts and Control of CSOs and SSOs, Available online: https://www.epa.gov/sites/default/files/2015-10/documents/csossortc2004_full.pdf.
10. Research on Pipeline Video Defect Detection Based on Improved Convolution Neural Network10.1088/1742-6596/1576/1/012028 ↗
11. German Association for Water, Wastewater and Waste (DWA) (2009). Industrial Wastewater Containing Organic Matter (DWA-M 710), DWA.
12. The Monitoring Approaches and Non-Destructive Testing Technologies for Sewer Pipelines10.2166/wst.2022.120 ↗
13. Moradi, S. (2020). Defect Detection and Classification in Sewer Pipeline Inspection Videos Using Deep Neural Networks. [Doctoral Dissertation, Concordia University]. Available online: https://core.ac.uk/download/pdf/355870666.pdf.
14. Sewer Pipe Defect Detection via Deep Learning with Local and Global Feature Fusion10.1016/j.autcon.2021.103823 ↗
15. Zhang, J., Liu, X., Zhang, X., Xi, Z., and Wang, S. (2023). Automatic Detection Method of Sewer Pipe Defects Using Deep Learning Techniques. Appl. Sci., 13.10.3390/app13074589 ↗
16. Shen, D., Liu, X., Shang, Y., and Tang, X. (2023). Deep Learning-Based Automatic Defect Detection Method for Sewer Pipelines. Sustainability, 15.10.3390/su15129164 ↗
17. Automated Detection of Sewer Pipe Defects in Closed-Circuit Television Images Using Deep Learning Techniques10.1016/j.autcon.2018.08.006 ↗
18. Automated Defect Classification in Sewer Closed Circuit Television Inspections Using Deep Convolutional Neural Networks10.1016/j.autcon.2018.03.028 ↗
19. Automatic Detection of Sewer Defects Based on Improved You Only Look Once Algorithm10.1016/j.autcon.2021.103912 ↗
20. Automatic Sewer Pipe Defect Semantic Segmentation Based on Improved U-Net10.1016/j.autcon.2020.103383 ↗
21. Lightweight Pixel-Level Semantic Segmentation and Analysis for Sewer Defects Using Deep Learning10.1016/j.conbuildmat.2023.130792 ↗
22. Sewer Defect Instance Segmentation, Localization, and 3D Reconstruction for Sewer Floating Capsule Robots10.1016/j.autcon.2022.104494 ↗
23. A Robust Instance Segmentation Framework for Underground Sewer Defect Detection10.1016/j.measurement.2022.110727 ↗
24. Zhang, X., Zhang, J., Tian, L., Liu, X., and Wang, S. (2023). A Lightweight Method for Detecting Sewer Defects Based on Improved YOLOv5. Appl. Sci., 13.10.3390/app13158986 ↗
25. Zhao, X., Xiao, N., Cai, Z., and Xin, S. (2024). YOLOv5-Sewer: Lightweight Sewer Defect Detection Model. Appl. Sci., 14.10.3390/app14051869 ↗
26. Wang, T., Li, Y., Zhai, Y., Wang, W., and Huang, R. (2023). A Sewer Pipeline Defect Detection Method Based on Improved YOLOv5. Processes, 11.10.3390/pr11082508 ↗
27. Intelligent Diagnosis of Urban Underground Drainage Network: From Detection to Evaluation10.1155/2024/9217395 ↗
28. DefectTR: End-to-End Defect Detection for Sewage Networks Using a Transformer10.1016/j.conbuildmat.2022.126584 ↗
29. PipeTransUNet: CNN and Transformer Fusion Network for Semantic Segmentation and Severity Quantification of Multiple Sewer Pipe Defects10.1016/j.asoc.2024.111673 ↗
30. Jung, J., and Reiterer, A. (2024). Improving Sewer Damage Inspection: Development of a Deep Learning Integration Concept for a Multi-Sensor System. Sensors, 24.10.3390/s24237786 ↗
31. A Composite Transformer-Based Multi-Stage Defect Detection Architecture for Sewer Pipes
32. Lee, S.-H., and Gao, G. (2023). A Study on Pine Larva Detection System Using Swin Transformer and Cascade R-CNN Hybrid Model. Appl. Sci., 13.10.3390/app13031330 ↗
33. A Multi-Defect Detection System for Sewer Pipelines Based on StyleGAN-SDM and Fusion CNN10.1016/j.conbuildmat.2021.125385 ↗
34. Automated Sewer Defects Detection Using Style-Based Generative Adversarial Networks and Fine-Tuned Well-Known CNN Classifier10.1109/ACCESS.2021.3073915 ↗
35. Duan, Y., Hong, Y., Niu, L., and Zhang, L. (2023, January 7–14). Few-Shot Defect Image Generation via Defect-Aware Feature Manipulation. Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA.10.1609/aaai.v37i1.25132 ↗
36. Wang, S., Xia, C., Lv, F., and Shi, Y. (March, January 26). RT-DETRv3: Real-Time End-to-End Object Detection with Hierarchical Dense Positive Supervision. Proceedings of the 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Tucson, AZ, USA.10.1109/WACV61041.2025.00166 ↗
37. Haurum, J., and Moeslund, T. (2021, January 19–25). Sewer-ML: A Multi-Label Sewer Defect Classification Dataset and Benchmark. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA. Available online: https://openaccess.thecvf.com/content/CVPR2021/html/Haurum_Sewer-ML_A_Multi-Label_Sewer_Defect_Classification_Dataset_and_Benchmark_CVPR_2021_paper.html.10.1109/CVPR46437.2021.01325 ↗
38. Underground Sewer Pipe Condition Assessment Based on Convolutional Neural Networks10.1016/j.autcon.2019.102849 ↗
39. Multi-Scale Hybrid Vision Transformer and Sinkhorn Tokenizer for Sewer Defect Classification10.1016/j.autcon.2022.104614 ↗
40. Towards an Automated Condition Assessment Framework of Underground Sewer Pipes Based on Closed-Circuit Television (CCTV) Images10.1016/j.tust.2021.103840 ↗
41. (2011). Sewer Condition Classification—Part 2: Visual Inspection Coding System (Standard No. EN 13508-2:2003+A1:2011).
42. Ye, X., Zuo, J., Li, R., Wang, Y., Gan, L., Yu, Z., and Hu, X. (2019). Diagnosis of Sewer Pipe Defects on Image Recognition of Multi-Features and Support Vector Machine in a Southern Chinese City. Front. Environ. Sci. Eng., 13.10.1007/s11783-019-1102-y ↗
43. Automated Detection of Fault Types in CCTV Sewer Surveys10.2166/hydro.2018.073 ↗
44. Chen, K., Hu, H., Chen, C., Chen, L., and He, C. (2018, January 11–13). An Intelligent Sewer Defect Detection Method Based on Convolutional Neural Network. Proceedings of the 2018 IEEE International Conference on Information and Automation (ICIA), Wuyishan, China.10.1109/ICInfA.2018.8812445 ↗
45. Sewer Damage Detection from Imbalanced CCTV Inspection Data Using Deep Convolutional Neural Networks with Hierarchical Classification10.1016/j.autcon.2019.01.017 ↗
46. A Defect Classification Methodology for Sewer Image Sets with Convolutional Neural Networks10.1016/j.autcon.2019.04.013 ↗
47. Automatic Detection and Classification of Sewer Defects via Hierarchical Deep Learning10.1109/TASE.2019.2900170 ↗
48. Zhao, Y., Lv, W., Xu, S., Wei, J., Wang, G., Dang, Q., Liu, Y., and Chen, J. (2024, January 17–21). DETRs Beat YOLOs on Real-Time Object Detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR52733.2024.01605 ↗
49. United States Environmental Protection Agency (2005). Guide for Evaluating Capacity, Management, Operation and Maintenance (CMOM) Programs at Sanitary Sewer Collection Systems, Office of Enforcement and Compliance Assurance.
50. Factors Influencing the Condition of Sewer Pipes: State-of-the-Art Review10.1061/(ASCE)PS.1949-1204.0000483 ↗
51. A Deep Learning-Based Framework for an Automated Defect Detection System for Sewer Pipes10.1016/j.autcon.2019.102967 ↗
52. Real-Time Sewer Defect Detection Based on YOLO Network, Transfer Learning, and Channel Pruning Algorithm10.1007/s13349-023-00681-w ↗
53. Automatic Defect Detection in Sewer Pipe Closed-Circuit Television Images via Improved You Only Look Once Version 5 Object Detection Network10.1109/ACCESS.2024.3422275 ↗
54. Real-Time Defect Detection in Underground Sewage Pipelines Using an Improved YOLOv5 Model10.1016/j.autcon.2025.106068 ↗