Efficient and accurate crack detection can provide a basis for assessing the structural safety of tunnels. Aiming at the shortcomings of traditional crack detection methods, which are complex and weak in generalization ability, an improved algorithm YOLOv5-CT(YOLOv5 CBAM Transformer) for tunnel lining crack detection was proposed.Considering the slender morphology of the cracks, the network introduced the Transformer module to improve the crack detection effect.The strong long-range dependency capture ability of the Transformer module enabled the proposed detection model to fully learn the contextual information of the crack region. In addition, the network integrated the convolutional attention mechanism CBAM(convolutional block attention module) in neck.The experiment shows that the YOLOv5-CT can achieve AP50 and AP of 85.2% and 51.3%, respectively, which is an improvement of 8.9% and 12.1% compared to the baseline model YOLOv5. It is better than other one-stage object detection networks in terms of accuracy, and the inference speed reaches 161.3 fps under 640×640 pixel conditions, which meets real-time detection of tunnel lining cracks.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |