Remotely operated vehicles with cameras provide a non-contact inspection solution for dam underwater structural defect detection. However, manual information extraction methods suffer from problems like labor costs and high misjudgment. This study proposes an integrated dam underwater crack identification and size quantification framework using machine vision and deep learning. First, a real-time automatic detection framework for dam underwater cracks is built via You Only Look Once v5 (YOLOv5), and four different backbone detectors are introduced to balance detection accuracy and speed. Then, the Swin-Transformer module is inserted into the YOLOv5 model to enhance its feature extraction capability and small object detection capability. Next, a method for measuring the true size of cracks was constructed based on deep learning and infrared laser rangefinders. In this study, physical model experiments and actual engineering projects are combined to validate the generalization capability of the proposed crack identification and size quantification method. Experimental results show that the Swin-Transformer-based YOLOv5 model effectively balances detection accuracy and speed with a precision of 0.986, a recall of 0.979, a mean average precision of 0.985, and a frame rate of 68 frames per second in detecting underwater crack images with 768 × 576 pixels. In addition, the proposed method can accurately identify and detect cracks in complex underwater scenes, including obstacle interference, tilt shooting angle, uneven illumination, and turbid water scenarios. Moreover, the method proposed in this paper can quantify the overall size and geometric parameters of underwater cracks with relatively small errors.
Read full abstract