Next Article in Journal
Straw Returning Proves Advantageous for Regulating Water and Salt Levels, Facilitating Nutrient Accumulation, and Promoting Crop Growth in Coastal Saline Soils
Next Article in Special Issue
Spring Abundance, Migration Patterns and Damaging Period of Aleyrodes proletella in the Czech Republic
Previous Article in Journal
Toward an Environmentally Friendly Future: An Overview of Biofuels from Corn and Potential Alternatives in Hemp and Cucurbits
Previous Article in Special Issue
Developing an Effective Push–Pull System for Managing Outbreaks of the Invasive Pest Bactrocera dorsalis (Diptera: Tephritidae) in Nephelium lappaceum Orchards
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function

1
College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
2
Information and Education Technology Center, Zhejiang A&F University, Hangzhou 311300, China
3
Network and Data Center, Communication University of Zhejiang, Hangzhou 310018, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Agronomy 2024, 14(6), 1197; https://doi.org/10.3390/agronomy14061197
Submission received: 6 May 2024 / Revised: 27 May 2024 / Accepted: 29 May 2024 / Published: 1 June 2024
(This article belongs to the Special Issue Pests, Pesticides, Pollinators and Sustainable Farming)

Abstract

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.
Keywords: attention mechanism; pest images; small targets; target detection attention mechanism; pest images; small targets; target detection

Share and Cite

MDPI and ACS Style

Mo, L.; Xie, R.; Ye, F.; Wang, G.; Wu, P.; Yi, X. Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function. Agronomy 2024, 14, 1197. https://doi.org/10.3390/agronomy14061197

AMA Style

Mo L, Xie R, Ye F, Wang G, Wu P, Yi X. Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function. Agronomy. 2024; 14(6):1197. https://doi.org/10.3390/agronomy14061197

Chicago/Turabian Style

Mo, Lufeng, Rongchang Xie, Fujun Ye, Guoying Wang, Peng Wu, and Xiaomei Yi. 2024. "Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function" Agronomy 14, no. 6: 1197. https://doi.org/10.3390/agronomy14061197

APA Style

Mo, L., Xie, R., Ye, F., Wang, G., Wu, P., & Yi, X. (2024). Enhanced Tomato Pest Detection via Leaf Imagery with a New Loss Function. Agronomy, 14(6), 1197. https://doi.org/10.3390/agronomy14061197

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop