To address the challenge of balancing accuracy and real-time performance when autonomous vehicles detect traffic diversion devices in roadworks scenarios, a detection algorithm that improves upon YOLOv8 is proposed. This paper utiliseS Make Sense for data annotation and combined this with data augmentation techniques to construct a dedicated dataset. The backbone network with EfficientNetV2-S to enhance feature extraction is replaced and an inverted Residual Moving Block (iRMB) module before the Spatial Pyramid Pooling Fast (SPPF) module to focus on key targets is edded. Morever, the Distance-based Intersection-over-Union (DIou) loss function is adopted to optimise the model. Experimental results validate that the improved model achieves a precision of 90.7%, with a recall increase of 4.8 percentage points and an average precision (mAP@0.5 and mAP@0.5∶0.95) that has risen by 4.3 percentage points. Upon deployment to an Android mobile device, the frame rate remains stable at over 40 frames per second.
| 科 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 |