Li Kaiyu, Zhu Xinyi, Qiao Chen, Zhang Lingxian, Gao Wei, Wang Yong
China Agricultural University, Beijing, 100083, China.
Key Laboratory of Agricultural Informationization Standardization, Ministry of Agriculture and Rural Affairs, Beijing, 100083, China.
Plant Phenomics. 2023;5:0011. doi: 10.34133/plantphenomics.0011. Epub 2023 Jan 10.
Rapid and accurate detection of pathogen spores is an important step to achieve early diagnosis of diseases in precision agriculture. Traditional detection methods are time-consuming, laborious, and subjective, and image processing methods mainly rely on manually designed features that are difficult to cope with pathogen spore detection in complex scenes. Therefore, an MG-YOLO detection algorithm (ulti-head self-attention and host-optimized ) is proposed to detect gray mold spores rapidly. Firstly, Multi-head self-attention is introduced in the backbone to capture the global information of the pathogen spores. Secondly, we combine weighted Bidirectional Feature Pyramid Network (BiFPN) to fuse multiscale features of different layers. Then, a lightweight network is used to construct GhostCSP to optimize the neck part. Cucumber gray mold spores are used as the study object. The experimental results show that the improved MG-YOLO model achieves an accuracy of 0.983 for detecting gray mold spores and takes 0.009 s per image, which is significantly better than the state-of-the-art model. The visualization of the detection results shows that MG-YOLO effectively solves the detection of spores in blurred, small targets, multimorphology, and high-density scenes. Meanwhile, compared with the YOLOv5 model, the detection accuracy of the improved model is improved by 6.8%. It can meet the demand for high-precision detection of spores and provides a novel method to enhance the objectivity of pathogen spore detection.
快速准确地检测病原体孢子是精准农业中实现疾病早期诊断的重要一步。传统检测方法耗时、费力且主观,图像处理方法主要依赖人工设计的特征,难以应对复杂场景中的病原体孢子检测。因此,提出了一种MG-YOLO检测算法(多头自注意力和主机优化)来快速检测灰霉病孢子。首先,在主干网络中引入多头自注意力以捕捉病原体孢子的全局信息。其次,结合加权双向特征金字塔网络(BiFPN)融合不同层的多尺度特征。然后,使用轻量级网络构建GhostCSP来优化颈部。以黄瓜灰霉病孢子为研究对象。实验结果表明,改进后的MG-YOLO模型检测灰霉病孢子的准确率达到0.983,每张图像耗时0.009秒,明显优于现有最先进的模型。检测结果的可视化表明,MG-YOLO有效地解决了模糊、小目标、多形态和高密度场景中的孢子检测问题。同时,与YOLOv5模型相比,改进模型的检测准确率提高了6.8%。它能够满足孢子高精度检测的需求,为提高病原体孢子检测的客观性提供了一种新方法。