Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-05T14:39:25.746Z Has data issue: false hasContentIssue false

Improved basic elements detection algorithm for bridge engineering design drawings based on YOLOv5

Published online by Cambridge University Press:  16 December 2024

Ning An
Affiliation:
School of Electronic Information Engineering, Anhui University, Hefei, Anhui, China
Linsheng Huang
Affiliation:
School of Internet, Anhui University, Hefei, Anhui, China
Mengnan Hu
Affiliation:
School of Internet, Anhui University, Hefei, Anhui, China
Junan Zhu*
Affiliation:
School of Internet, Anhui University, Hefei, Anhui, China
Chuanjian Wang*
Affiliation:
School of Internet, Anhui University, Hefei, Anhui, China
*
Corresponding authors: Junan Zhu and Chuanjian Wang; Emails: zhujunan@ahu.edu.cn; wcj_si@ahu.edu.cn
Corresponding authors: Junan Zhu and Chuanjian Wang; Emails: zhujunan@ahu.edu.cn; wcj_si@ahu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Bridge engineering design drawings basic elements contain a large amount of important information such as structural dimensions and material indexes. Basic element detection is seen as the basis for digitizing drawings. Aiming at the problem of low detection accuracy of existing drawing basic elements, an improved basic elements detection algorithm for bridge engineering design drawings based on YOLOv5 is proposed. Firstly, coordinate attention is introduced into the feature extraction network to enhance the feature extraction capability of the algorithm and alleviate the problem of difficult recognition of texture features inside grayscale images. Then, targeting objectives across different scales, the standard 3 × 3 convolution in the feature pyramid network is replaced with switchable atrous convolution, and the atrous rate is adaptively selected for convolution computation to expand the sensory field. Finally, experiments are conducted on the bridge engineering design drawings basic elements detection dataset, and the experimental results show that when the Intersection over Union is 0.5, the proposed algorithm achieves a mean average precision of 93.6%, which is 3.4% higher compared to the original YOLOv5 algorithm, and it can satisfy the accuracy requirement of bridge engineering design drawings basic elements detection.

Information

Type
Research Article
Copyright
© The Author(s), 2024. Published by Cambridge University Press
Figure 0

Figure 1. Example of bridge engineering design drawings.

Figure 1

Figure 2. Improved model structure.

Figure 2

Figure 3. Attention mechanisms.

Figure 3

Figure 4. Atrous convolution.

Figure 4

Figure 5. Example of a sample data set.

Figure 5

Figure 6. Convergence of improved YOLOv5 training loss.

Figure 6

Table 1. Comparison of results of multiple detection algorithms

Figure 7

Figure 7. Comparison of the results of different detection algorithms. Red represents the detection result, and blue represents the ground truth.

Figure 8

Figure 8. Comparison of the results of different detection algorithms. Red represents the detection result, and blue represents the ground truth.

Figure 9

Table 2. Comparison of detection results of multiple attention mechanisms

Figure 10

Table 3. YOLOv5 ablation experiment results

Figure 11

Figure 9. Feature map visualization.