To reduce the influences of background interference factors in natural environments such as clouds,mist,dust,lights,sunrise,and sunset on the smoke and flame target detection accuracy,a smoke and fire detection algorithm based on an improved YOLO-V5 algorithm was proposed. Smoke,flame target images,and interference image data sets were obtained from the on-site collection and web crawling approaches to solve sample imbalance and improve model generalization ability. A bidirectional feature pyramid network (BiFPN) was used to replace the original feature pyramid network (FPN) + path aggregation network (PAN) structure,and then multi-scale feature fusion on the target was performed to strengthen the model feature fusion ability. At the same time,distance intersection-over-union(DIoU) non-maximum suppression(NMS) is used to replace the original non-maximum suppression (NMS) to speed up the convergence of the detection box loss function and enhance the model reasoning ability. The results showed that the improved algorithm's accuracy,recall rate,mean average precision(mAP) and FPR were 79.2%,68.6%,74.2%,and 12.8%,respectively. Compared with the original YOLO-V5 algorithm,the proposed algorithm improved accuracy rate,recall rate,and mAP by 1.9%,0.9%,and 2.7%,respectively. Furthermore,the FPR was decreased by 3.7%.
| 科 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 |