To address the issues of low accuracy and weak robustness in existing detection algorithms due to insufficient lighting, scale differences among personnel, and frequent obstruction by equipment in coal mine environments, as well as the challenges posed by high parameter and computational requirements of some models, which make them difficult to adapt to edge devices underground, an improved YOLOv8n model was proposed to optimize personnel detection tasks in complex mine environments. An enhanced SPDs-Conv module was introduced to enhance the extraction of small target features and improve the recognition accuracy of low-pixel personnel in distant views. Cross stage partial feature fusion + selective kernel attention (C2f_SKAttention) module was designed to strengthen the model's focus on targets of different scales and cope with the scale differences of underground personnel. A dynamic detection head was constructed to adapt to the diversity and complexity of targets, and to improve robustness to occlusion and other scenarios. The WIoU loss function was improved to increase the bounding box localization accuracy and reduce the localization deviation caused by low illumination. The results show that the proposed improved YOLOv8n model achieves an mean average precision (mAP) @0.5 of 83.5% and an mAP@0.5:0.95 of 39.0% on the mine personnel detection dataset. Compared with the original YOLOv8n, the P is improved by 8.5%, the R by 11.9%, the mAP@0.5 by 4.7%, and the mAP@0.5:0.95 by 3.3%. The number of parameters only increases from 3.1M to 3.2M, and the Giga Floating-point operations per second (GFLOPS) rises from 14.0G to 14.4G. The proposed model maintains a lightweight structure while improving detection accuracy and robustness. It effectively alleviates missed detection of small underground targets, insufficient multi-scale adaptation and weak anti-interference capability in complex environments, making it suitable for the limited computing power of underground edge equipment.
| 科 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 |