Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function
Pests have caused significant losses to agriculture, greatly increasing the detection of pests in the planting process and the cost of pest management in the early stages. At this time, advances in computer vision and deep learning for the detection of pests appearing in the crop open the door to th...
| 出版年: | Agronomy |
|---|---|
| 主要な著者: | , , , , , |
| フォーマット: | 論文 |
| 言語: | 英語 |
| 出版事項: |
MDPI AG
2024-06-01
|
| 主題: | |
| オンライン・アクセス: | https://www.mdpi.com/2073-4395/14/6/1197 |
| _version_ | 1850101870332215296 |
|---|---|
| author | Lufeng Mo Rongchang Xie Fujun Ye Guoying Wang Peng Wu Xiaomei Yi |
| author_facet | Lufeng Mo Rongchang Xie Fujun Ye Guoying Wang Peng Wu Xiaomei Yi |
| author_sort | Lufeng Mo |
| collection | DOAJ |
| container_title | Agronomy |
| description | Pests have caused significant losses to agriculture, greatly increasing the detection of pests in the planting process and the cost of pest management in the early stages. At this time, advances in computer vision and deep learning for the detection of pests appearing in the crop open the door to the application of target detection algorithms that can greatly improve the efficiency of tomato pest detection and play an important technical role in the realization of the intelligent planting of tomatoes. However, in the natural environment, tomato leaf pests are small in size, large in similarity, and large in environmental variability, and this type of situation can lead to greater detection difficulty. Aiming at the above problems, a network target detection model based on deep learning, YOLONDD, is proposed in this paper. Designing a new loss function, NMIoU (Normalized Wasserstein Distance with Mean Pairwise Distance Intersection over Union), which improves the ability of anomaly processing, improves the model’s ability to detect and identify objects of different scales, and improves the robustness to scale changes; Adding a Dynamic head (DyHead) with an attention mechanism will improve the detection ability of targets at different scales, reduce the number of computations and parameters, improve the accuracy of target detection, enhance the overall performance of the model, and accelerate the training process. Adding decoupled head to Head can effectively reduce the number of parameters and computational complexity and enhance the model’s generalization ability and robustness. The experimental results show that the average accuracy of YOLONDD can reach 90.1%, which is 3.33% higher than the original YOLOv5 algorithm and is better than SSD, Faster R-CNN, YOLOv7, YOLOv8, RetinaNet, and other target detection networks, and it can be more efficiently and accurately utilized in tomato leaf pest detection. |
| format | Article |
| id | doaj-art-3e1910abf56c4b1989eaa75e065eb0ff |
| institution | Directory of Open Access Journals |
| issn | 2073-4395 |
| language | English |
| publishDate | 2024-06-01 |
| publisher | MDPI AG |
| record_format | Article |
| spelling | doaj-art-3e1910abf56c4b1989eaa75e065eb0ff2025-08-20T00:04:16ZengMDPI AGAgronomy2073-43952024-06-01146119710.3390/agronomy14061197Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss FunctionLufeng Mo0Rongchang Xie1Fujun Ye2Guoying Wang3Peng Wu4Xiaomei Yi5College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, ChinaCollege of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, ChinaNetwork and Data Center, Communication University of Zhejiang, Hangzhou 310018, ChinaCollege of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, ChinaCollege of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, ChinaCollege of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, ChinaPests have caused significant losses to agriculture, greatly increasing the detection of pests in the planting process and the cost of pest management in the early stages. At this time, advances in computer vision and deep learning for the detection of pests appearing in the crop open the door to the application of target detection algorithms that can greatly improve the efficiency of tomato pest detection and play an important technical role in the realization of the intelligent planting of tomatoes. However, in the natural environment, tomato leaf pests are small in size, large in similarity, and large in environmental variability, and this type of situation can lead to greater detection difficulty. Aiming at the above problems, a network target detection model based on deep learning, YOLONDD, is proposed in this paper. Designing a new loss function, NMIoU (Normalized Wasserstein Distance with Mean Pairwise Distance Intersection over Union), which improves the ability of anomaly processing, improves the model’s ability to detect and identify objects of different scales, and improves the robustness to scale changes; Adding a Dynamic head (DyHead) with an attention mechanism will improve the detection ability of targets at different scales, reduce the number of computations and parameters, improve the accuracy of target detection, enhance the overall performance of the model, and accelerate the training process. Adding decoupled head to Head can effectively reduce the number of parameters and computational complexity and enhance the model’s generalization ability and robustness. The experimental results show that the average accuracy of YOLONDD can reach 90.1%, which is 3.33% higher than the original YOLOv5 algorithm and is better than SSD, Faster R-CNN, YOLOv7, YOLOv8, RetinaNet, and other target detection networks, and it can be more efficiently and accurately utilized in tomato leaf pest detection.https://www.mdpi.com/2073-4395/14/6/1197attention mechanismpest imagessmall targetstarget detection |
| spellingShingle | Lufeng Mo Rongchang Xie Fujun Ye Guoying Wang Peng Wu Xiaomei Yi Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function attention mechanism pest images small targets target detection |
| title | Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function |
| title_full | Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function |
| title_fullStr | Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function |
| title_full_unstemmed | Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function |
| title_short | Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function |
| title_sort | enhanced tomato pest detection via leaf imagery with a new loss function |
| topic | attention mechanism pest images small targets target detection |
| url | https://www.mdpi.com/2073-4395/14/6/1197 |
| work_keys_str_mv | AT lufengmo enhancedtomatopestdetectionvialeafimagerywithanewlossfunction AT rongchangxie enhancedtomatopestdetectionvialeafimagerywithanewlossfunction AT fujunye enhancedtomatopestdetectionvialeafimagerywithanewlossfunction AT guoyingwang enhancedtomatopestdetectionvialeafimagerywithanewlossfunction AT pengwu enhancedtomatopestdetectionvialeafimagerywithanewlossfunction AT xiaomeiyi enhancedtomatopestdetectionvialeafimagerywithanewlossfunction |
