Aiming at the problems such as small and medium-sized obstacles on the road are prone to miss detection, small target obstacles are difficult to detect, and the number of model parameters is large in smart driving scenarios, the obstacle target detection algorithm with improved YOLOv8n was proposed. Distribution shifting convolution (DSConv) was used in the backbone network to replace floating point operation with integer operation, reducing the amount of redundant computation, and maintaining the accuracy by imitating the original convolution layer by quantization and distribution shifting. By adding small target detection layer, the feature information of small target can be captured better and the scale characteristics of small target can be adapted. Combined with SimAM parameterless attention mechanism, SPPF-SimAM module was introduced to improve the quality and diversity of feature representation, and the detection accuracy was improved without increasing the number of parameters. By combining ghost-shuffle convolution (GSConv) and VoV-GSCSP modules, the neck feature fusion network was lightweight, reducing the number of parameters and calculation of the model. The experimental results show that the accuracy, recall, and mean average precision of the improved model are improved by 1.6%, 8.0%, and 6.2%, respectively. The number of parameters is reduced by 6.7% compared with the original model, and the proposed algorithm effectively improves the detection accuracy of small and medium-sized obstacles in smart driving scenarios, and achieves a better balance between the detection performance and the model lightweighting.
| 科 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 |