Detection of weeds in vegetables using image classification neural networks and image processing

Weed management presents a major challenge to vegetable growth. Accurate identification of weeds is essential for automated weeding. However, the wide variety of weed types and their complex distribution creates difficulties in rapid and accurate weed detection. In this study, instead of directly applying deep learning to identify weeds, we first created grid cells on the input images. Image classification neural networks were utilized to identify the grid cells containing vegetables and exclude them from further analysis. Finally, image processing technology was employed to segment the non-vegetable grid images based on their color features. The background grid cells, which contained no green pixels, were identified, while the remaining cells were labeled as weed cells. EfficientNet, GoogLeNet, and ResNet models achieved overall accuracies of over 0.956 in identifying vegetables in the testing dataset, demonstrating exceptional identification performance. Among these models, the ResNet model exhibited the highest computational efficiency, with a classification time of 12.76 ms per image and a corresponding frame rate of 80.31 fps, satisfying the requirement for real-time weed detection. Effectively identifying vegetables and differentiating weeds from soil significantly reduces the complexity of weed detection and improves its accuracy.

Authors

Institutions

Publication Details

Journal
Frontiers in Physics
Published
2025-01-27
DOI
https://doi.org/10.3389/fphy.2025.1496778
Citations
5
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
8.75
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection of weeds in vegetables using image classification neural networks and image processing

Bo Xu, Hao Xia, Han‐Gyul Jin, Xiaojun Jin et al.
5 citations
Frontiers in Physics
Smart Agriculture and AI
8.75
article

Detection of weeds in vegetables using image classification neural networks and image processing

Bo Xu, Hao Xia, Han‐Gyul Jin, Xiaojun Jin, Kang Han
article en
5 citations

Abstract

Weed management presents a major challenge to vegetable growth. Accurate identification of weeds is essential for automated weeding. However, the wide variety of weed types and their complex distribution creates difficulties in rapid and accurate weed detection. In this study, instead of directly applying deep learning to identify weeds, we first created grid cells on the input images. Image classification neural networks were utilized to identify the grid cells containing vegetables and exclude them from further analysis. Finally, image processing technology was employed to segment the non-vegetable grid images based on their color features. The background grid cells, which contained no green pixels, were identified, while the remaining cells were labeled as weed cells. EfficientNet, GoogLeNet, and ResNet models achieved overall accuracies of over 0.956 in identifying vegetables in the testing dataset, demonstrating exceptional identification performance. Among these models, the ResNet model exhibited the highest computational efficiency, with a classification time of 12.76 ms per image and a corresponding frame rate of 80.31 fps, satisfying the requirement for real-time weed detection. Effectively identifying vegetables and differentiating weeds from soil significantly reduces the complexity of weed detection and improves its accuracy.

Frontiers in PhysicsVol. 13
Jiangsu University (CN), Nanjing Forestry University (CN), Weifang University (CN)
Openalex Percentile: Top 3%
Smart Agriculture and AI
8.75
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Detection of weeds in vegetables using image classification neural networks and image processing — Bo Xu, Hao Xia, et al. · Frontiers in Physics (2025) | TGRS Research Map | TGRS