To address issues such as complex detection scenarios, insufficient detection accuracy, and weak small-target detection capability for mung bean leaf diseases in natural environments, this study proposes a deep learning algorithm named YOLOv8-EMA-CARAFE-Layer.
The EMA (efficient multi-scale attention) mechanism was introduced into the backbone network to enhance the model’s ability to extract and screen disease features. The CARAFE (Content-Aware ReAssembly of FEatures) upsampling module was adopted in the neck network, which enhanced global information aggregation capability by dynamically generating upsampling kernels, thereby improving feature reconstruction accuracy. A small-target detection layer was added to the neck and head networks to improve the detection effectiveness for minute disease targets.
The improved model achieved a mAP@50 of 91.0%, a precision of 86.9%, and a recall of 83.4%. Compared with mainstream object detection models YOLOv3, YOLOv5, YOLOv6, and YOLOv11, the mAP@50 improved by 6.8%, 0.3%, 13.5%, and 1.6% respectively, demonstrating superior performance in mung bean leaf disease detection. Furthermore, through lightweight design, the model maintained a low parameter count of only 5.95 MB.
YOLOv8-EMA-CARAFE-Layer model enables deployment on mobile terminals such as drones and smart agricultural machinery, offering practical application value for enhancing the rapid, efficient, and accurate detection of major diseases in mung bean leaves.
| 科 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 |