journal article·2024-06-03Open access

Weed Detection and Classification with Computer Vision Using a Limited Image Dataset

László Moldvai, Péter Ákos Mesterházi, Gergely Teschner, Anikó Nyéki

Applied Sciences· Volume 14· Issue 11

Abstract

In agriculture, as precision farming increasingly employs robots to monitor crops, the use of weeding and harvesting robots is expanding the need for computer vision. Currently, most researchers and companies address these computer vision tasks with CNN-based deep learning. This technology requires large datasets of plant and weed images labeled by experts, as well as substantial computational resources. However, traditional feature-based approaches to computer vision can extract meaningful parameters and achieve comparably good classification results with only a tenth of the dataset size. This study presents these methods and seeks to determine the minimum number of training images required to achieve reliable classification. We tested the classification results with 5, 10, 20, 40, 80, and 160 images per weed type in a four-class classification system. We extracted shape features, distance transformation features, color histograms, and texture features. Each type of feature was tested individually and in various combinations to determine the best results. Using six types of classifiers, we achieved a 94.56% recall rate with 160 images per weed. Better results were obtained with more training images and a greater variety of features.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Plant Disease Management Techniques · Remote Sensing in Agriculture

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Biosystems Engineering and Precision Technology, Albert Kázmér Mosonmagyaróvár Faculty of Agricultural and Food Sciences, Széchenyi István University, 9200 Mosonmagyarovar, Hungary

AXIÁL Ltd., 6500 Baja, Hungary

Funding

Széchenyi István University

References (20)

Show source-provided references
1. Development and Evaluation of a Low-Cost and Smart Technology for Precision Weed Management Utilizing Artificial Intelligence10.1016/j.compag.2018.12.048 ↗
2. Object-Level Benchmark for Deep Learning-Based Detection and Classification of Weed Species10.1016/j.cropro.2023.106561 ↗
3. Dandekar, Y., Shinde, K., Gangan, J., Firdausi, S., and Bharne, S. (2022, January 26–27). Weed Plant Detection from Agricultural Field Images Using YOLOv3 Algorithm. Proceedings of the 2022 6th International Conference On Computing, Communication, Control and Automation ICCUBEA, Pune, India.10.1109/ICCUBEA54992.2022.10011010 ↗
4. Weed Database Development: An Updated Survey of Public Weed Datasets and Cross-Season Weed Detection Adaptation10.1016/j.ecoinf.2024.102546 ↗
5. Multi-Format Open-Source Weed Image Dataset for Real-Time Weed Identification in Precision Agriculture10.1016/j.dib.2023.109691 ↗
6. Alam, M., Alam, M.S., Roman, M., Tufail, M., Khan, M.U., and Khan, M.T. (2020, January 14–16). Real-Time Machine-Learning Based Crop/Weed Detection and Classification for Variable-Rate Spraying in Precision Agriculture. Proceedings of the 2020 7th International Conference on Electrical and Electronics Engineering (ICEEE), Antalya, Turkey.10.1109/ICEEE49618.2020.9102505 ↗
7. Seedling Discrimination with Shape Features Derived from a Distance Transform10.3390/s130505585 ↗
8. Effective Plant Discrimination Based on the Combination of Local Binary Pattern Operators and Multiclass Support Vector Machine Methods
9. Visual Quality Assessment of Malting Barley Using Color, Shape and Texture Descriptors10.1016/j.compag.2019.105110 ↗
10. Automated Weed Classification with Local Pattern-Based Texture Descriptors
11. A Novel Feature Descriptor for Image Retrieval by Combining Modified Color Histogram and Diagonally Symmetric Co-Occurrence Texture Pattern10.1007/s10044-019-00827-x ↗
12. Automatic Crop Detection under Field Conditions Using the HSV Colour Space and Morphological Operations10.1016/j.compag.2016.11.021 ↗
13. Research on Improved YOLOx Weed Detection Based on Lightweight Attention Module10.1016/j.cropro.2023.106563 ↗
14. Evaluation of Support Vector Machine and Artificial Neural Networks in Weed Detection Using Shape Features10.1016/j.compag.2017.12.032 ↗
15. Bag-of-Visual-Words-Augmented Histogram of Oriented Gradients for Efficient Weed Detection10.1016/j.biosystemseng.2020.11.005 ↗
16. Segmentation Algorithm for Overlap Recognition of Seedling Lettuce and Weeds Based on SVM and Image Blocking10.1016/j.compag.2022.107284 ↗
17. Visual Features Based Boosted Classification of Weeds for Real-Time Selective Herbicide Sprayer Systems10.1016/j.compind.2018.02.005 ↗
18. Weed and Crop Species Classification Using Computer Vision and Deep Learning Technologies in Greenhouse Conditions
19. Fine-Grained Image Analysis with Deep Learning: A Survey10.1109/TPAMI.2021.3126648 ↗
20. Boosting Object Detectors via Strong-Classification Weak-Localization Pretraining in Remote Sensing Imagery