|
|
|
|
|
|
Cucumber Disease Detection Method Based on Visible Light Spectrum and Improved YOLOv5 in Natural Scenes |
LI Shu-fei1, LI Kai-yu1, QIAO Yan2, ZHANG Ling-xian1* |
1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China
2. Beijing Plant Protection Station, Beijing 100029, China
|
|
|
Abstract The cucumber disease images acquired in natural scenes have noise, such as light and soil, which seriously affects the accuracy of cucumber disease recognition. The existing detection models occupy a large memory, making it difficult to achieve real-time detection of cucumber diseases.The visible spectral images of three diseases of cucumber, namely downy mildew, powdery mildew and anthracnose, in the natural environment are used as the research object. In this paper, a cucumber disease identification model based on the visible spectrum and an improved YOLOv5 object detection network is proposed to explore the accurate real-time detection of cucumber diseases in the natural environment and to reduce the storage cost of the detection model. The lightweight network structure YOLOv5s is used as the baseline model. The SE attention mechanism is introduced to extract the feature dimensional information to reduce the influence of complex background on the detection results and improve the detection accuracy of the model. The depth separable convolution is introduced to replace the standard convolution in the baseline model to reduce the computational burden caused by the model parameters and improve the detection speed. The network receives visible spectral images of arbitrary pixels and adjusts them to 640×640 pixels as input, outputs the cucumber disease occurrence region and disease category, initializes the detection method and trains the detection network using pre-trained weights on the COCO dataset.The experimental results show that the improved YOLOv5s-SE-DW model achieves 78.0%, 80.9%, and 83.6% detection accuracy for cucumber downy mildew, powdery mildew, and anthracnose, respectively, with mAP as high as 80.9%. The storage space of the model is only 9.45 MB, and the number of floating point operations is only 11.8 G. Compared with the baseline model, the mAP is improved by 2.4%, 4.6 G reduces the number of floating point operations, and the storage space required for the model is reduced by 4.95 MB. The improved model improves disease detection accuracy while reducing the storage memory. Further comparison with the classical two-stage target detection network Faster-RCNN and single-stage target detection networks YOLOv3, YOLOv3-tiny, YOLOv3-SPP, and YOLOv4 shows that the proposed YOLOv5s-SE-DW model improves the mAP by 3.8% compared with the best-performing YOLOv4 model among the comparison models, and the detection time and storage space are significantly reduced. The detection time and storage space are substantially reduced. The comprehensive results show that the proposed YOLOv5s-SE-DW network has good accuracy and real-time performance for cucumber disease detection in natural scenarios, which can meet the demand for disease detection in actual cucumber growing environments and provide a reference for cucumber disease detection in practical application scenarios.
|
Received: 2021-10-15
Accepted: 2022-06-14
|
|
Corresponding Authors:
ZHANG Ling-xian
E-mail: zhanglx@cau.edu.cn
|
|
[1] Liu Chen, Zhu Huaji, Guo Wang, et al. Computers and Electronics in Agriculture, 2021, 189: 106378.
[2] QIN Li-feng,ZHANG Xi,ZHANG Xiao-qian(秦立峰,张 熹,张晓茜). Transactions of The Chinese Society of Agricultural Machinery(农业机械学报),2020,51(11):219.
[3] Liu Jun,Wang Xuewei. Plant Methods,2020,16(1):83.
[4] Wang Xuewei,Liu Jun,Zhu Xiaoning. Plant Methods,2021,17(1):43.
[5] Sifre Laurent,Mallat Stephane. Computer Science,2014,3559:501.
[6] Hu Jie,Shen Li,Albanie Samuel,et al. IEEE Transactions on Pattern Analysis and Machine Intelligence,2020,42(8):2011. |
[1] |
GAO Feng1, 2, XING Ya-ge3, 4, LUO Hua-ping1, 2, ZHANG Yuan-hua3, 4, GUO Ling3, 4*. Nondestructive Identification of Apricot Varieties Based on Visible/Near Infrared Spectroscopy and Chemometrics Methods[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 44-51. |
[2] |
YANG Guang1, JIN Chun-bai1, REN Chun-ying2*, LIU Wen-jing1, CHEN Qiang1. Research on Band Selection of Visual Attention Mechanism for Object
Detection[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 266-274. |
[3] |
WU Hu-lin1, DENG Xian-ming1*, ZHANG Tian-cai1, LI Zhong-sheng1, CEN Yi2, WANG Jia-hui1, XIONG Jie1, CHEN Zhi-hua1, LIN Mu-chun1. A Revised Target Detection Algorithm Based on Feature Separation Model of Target and Background for Hyperspectral Imagery[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(01): 283-291. |
[4] |
LIU Rui-min, YIN Yong*, YU Hui-chun, YUAN Yun-xia. Extraction of 3D Fluorescence Feature Information Based on Multivariate Statistical Analysis Coupled With Wavelet Packet Energy for Monitoring Quality Change of Cucumber During Storage[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(09): 2967-2973. |
[5] |
CHEN Chao-yang1, 2, LIU Cui-hong1, 2, LI Zhi-bin3, Andy Hsitien Shen1, 2*. Alexandrite Effect Origin of Gem Grade Diaspore[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(08): 2557-2562. |
[6] |
ZHANG Jing, GUO Zhen, WANG Si-hua, YUE Ming-hui, ZHANG Shan-shan, PENG Hui-hui, YIN Xiang, DU Juan*, MA Cheng-ye*. Comparison of Methods for Water Content in Rice by Portable Near-Infrared and Visible Light Spectrometers[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(07): 2059-2066. |
[7] |
XU Ji-tong1, JIN Hai-rong1, TONG Wen-yu1, ZHANG Zhe1, GUO Yu-hang1, TIAN Su-bo1. 2, NING Xiao-feng1, 2*. Segmentation and Detection of Cucumber Powdery Mildew by Comparison of Near-Infrared and Fluorescence Spectra[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(06): 1731-1738. |
[8] |
LI Kai-yu1, ZHANG Hui2, MA Jun-cheng3, ZHANG Ling-xian1*. Segmentation Method for Crop Leaf Spot Based on Semantic Segmentation and Visible Spectral Images[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(04): 1248-1253. |
[9] |
WANG Zi-min1, MAO Xiao-tian1, YIN Zuo-wei1*, CHEN Chang2, CHENG Tian-jia1. Study on the Spectral Characteristics and the Color-Change Effect of Spinel[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2022, 42(11): 3541-3545. |
[10] |
GAO Rong-hua1, 2, FENG Lu1, 2*, ZHANG Yue3, YUAN Ji-dong3, WU Hua-rui1, 2, GU Jing-qiu1, 2. Early Detection of Tomato Gray Mold Disease With Multi-Dimensional Random Forest Based on Hyperspectral Image[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2022, 42(10): 3226-3234. |
[11] |
ZHANG Yan-ru1, 2, SHAO Peng-shuai1*. Study on the Effects of Planting Years of Vegetable Greenhouse on the
Cucumber Qualties Using Mid-IR Spectroscopoy[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2022, 42(06): 1816-1821. |
[12] |
SUN Wen-bin2, WANG Rong1, 3, 4, GAO Rong-hua1, 3*, LI Qi-feng1, 3, WU Hua-rui1, 3, FENG Lu1, 3. Crop Disease Recognition Based on Visible Spectrum and Improved
Attention Module[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2022, 42(05): 1572-1580. |
[13] |
ZHANG Zhong-hua1, JIA Wei-kuan1, 2*, SHAO Wen-jing1, HOU Su-juan1, Ji Ze3, ZHENG Yuan-jie1. Green Apple Detection Based on Optimized FCOS in Orchards[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2022, 42(02): 647-653. |
[14] |
REN Qian-qian1*, YUAN Yi-chai2. Study on Spectroscopy of Sphene From Pakistan[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2021, 41(07): 2263-2268. |
[15] |
WANG Xiang-yu1, LI Hai-sheng1, LÜ Li-jun1, HAN Dan-feng1, WANG Zi-qiang2*. Segmentation of Cucumber Target Leaf Spot Based on U-Net and Visible Spectral Images[J]. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2021, 41(05): 1499-1504. |
|
|
|
|