The final, formatted version of the article will be published soon.
ORIGINAL RESEARCH article
Front. Phys.
Sec. Optics and Photonics
Volume 13 - 2025 |
doi: 10.3389/fphy.2025.1496778
This article is part of the Research Topic Acquisition and Application of Multimodal Sensing Information - Volume II View all 7 articles
Detection of weeds in vegetables using image classification neural networks and image processing
Provisionally accepted- 1 Nanjing Forestry University, Nanjing, Jiangsu Province, China
- 2 Institute of Advanced Agricultural Sciences, Peking University, Weifang, China
- 3 Jurong Institute of Smart Agriculture, Zhenjiang, China
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 nonvegetable 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.
Keywords: Weed detection, deep learning, image classification neural networks, image processing, weed management
Received: 15 Sep 2024; Accepted: 10 Jan 2025.
Copyright: © 2025 Jin, Kang, Xia, Xu and Jin. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Xiaojun Jin, Institute of Advanced Agricultural Sciences, Peking University, Weifang, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.