Baofeng Ji;Haoyu Li;Xin Jin;Ji Zhang;Fazhan Tao;Peng Li;Jianhua Wang;Huitao Fan
{"title":"Lightweight Tomato Leaf Intelligent Disease Detection Model Based on Adaptive Kernel Convolution and Feature Fusion","authors":"Baofeng Ji;Haoyu Li;Xin Jin;Ji Zhang;Fazhan Tao;Peng Li;Jianhua Wang;Huitao Fan","doi":"10.1109/TAFE.2024.3445119","DOIUrl":null,"url":null,"abstract":"Timely detection and prevention of tomato leaf diseases are crucial for improving tomato yields. To address the issue of low efficiency in detecting tomato leaf diseases, this article proposes a lightweight tomato leaf disease recognition method. First, enhanced intersection over union is introduced in the you only look once v8 (YOLOv8) model to replace the complete intersection over union loss function, enhancing the accuracy of bounding box localization. To solve the problem of fixed sample shapes and square convolution kernels not adapting well to different targets, lightweight alterable Kernel convolution (AKConv) is introduced, providing arbitrary parameters and shapes for the convolution kernel. Inspired by the lightweight characteristics of AKConv, the C2f module is improved by integrating AKConv to reduce floating-point operations and computational complexity during the convolution process. Second, as it is not feasible to construct a lightweight model with a large depth to achieve sufficient accuracy, a new lightweight convolution technique is introduced. GSConv, combining the GS bottleneck and the efficient cross stage partial block (VoV-GSCSP), replaces the feature fusion layer to achieve lightweight feature enrichment. To test and train the model, a tomato leaf disease dataset was constructed. The improved model demonstrated higher accuracy and fewer parameters on the tomato leaf disease dataset. The improved model achieved an mean average precision 50 (mAP50) of 94.9\n<inline-formula><tex-math>$\\%$</tex-math></inline-formula>\n and an mAP50:95 of 75.6\n<inline-formula><tex-math>$\\%$</tex-math></inline-formula>\n, representing increases of 1.9\n<inline-formula><tex-math>$\\%$</tex-math></inline-formula>\n and 2.8\n<inline-formula><tex-math>$\\%$</tex-math></inline-formula>\n over the original model, respectively. The number of parameters is only 2 322 262, a reduction of 22.8\n<inline-formula><tex-math>$\\%$</tex-math></inline-formula>\n compared to the original model. This method meets the daily needs of tomato leaf disease detection, providing technical support for agricultural spraying robots to quickly and accurately detect tomato leaf diseases and precisely spray pesticides.","PeriodicalId":100637,"journal":{"name":"IEEE Transactions on AgriFood Electronics","volume":"2 2","pages":"563-575"},"PeriodicalIF":0.0000,"publicationDate":"2024-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on AgriFood Electronics","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10666885/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Timely detection and prevention of tomato leaf diseases are crucial for improving tomato yields. To address the issue of low efficiency in detecting tomato leaf diseases, this article proposes a lightweight tomato leaf disease recognition method. First, enhanced intersection over union is introduced in the you only look once v8 (YOLOv8) model to replace the complete intersection over union loss function, enhancing the accuracy of bounding box localization. To solve the problem of fixed sample shapes and square convolution kernels not adapting well to different targets, lightweight alterable Kernel convolution (AKConv) is introduced, providing arbitrary parameters and shapes for the convolution kernel. Inspired by the lightweight characteristics of AKConv, the C2f module is improved by integrating AKConv to reduce floating-point operations and computational complexity during the convolution process. Second, as it is not feasible to construct a lightweight model with a large depth to achieve sufficient accuracy, a new lightweight convolution technique is introduced. GSConv, combining the GS bottleneck and the efficient cross stage partial block (VoV-GSCSP), replaces the feature fusion layer to achieve lightweight feature enrichment. To test and train the model, a tomato leaf disease dataset was constructed. The improved model demonstrated higher accuracy and fewer parameters on the tomato leaf disease dataset. The improved model achieved an mean average precision 50 (mAP50) of 94.9
$\%$
and an mAP50:95 of 75.6
$\%$
, representing increases of 1.9
$\%$
and 2.8
$\%$
over the original model, respectively. The number of parameters is only 2 322 262, a reduction of 22.8
$\%$
compared to the original model. This method meets the daily needs of tomato leaf disease detection, providing technical support for agricultural spraying robots to quickly and accurately detect tomato leaf diseases and precisely spray pesticides.