Development of a weed detection system using machine learning and neural network algorithms
DOI:
https://doi.org/10.15587/1729-4061.2021.246706Keywords:
agriculture, weeds, machine learning, YOLOv5, segmentation, Otsu's method, classification, algorithm evaluationAbstract
The detection of weeds at the stages of cultivation is very important for detecting and preventing plant diseases and eliminating significant crop losses, and traditional methods of performing this process require large costs and human resources, in addition to exposing workers to the risk of contamination with harmful chemicals. To solve the above tasks, also in order to save herbicides and pesticides, to obtain environmentally friendly products, a program for detecting agricultural pests using the classical K-Nearest Neighbors, Random Forest and Decision Tree algorithms, as well as YOLOv5 neural network, is proposed. After analyzing the geographical areas of the country, from the images of the collected weeds, a proprietary database with more than 1000 images for each class was formed. A brief review of the researchers' scientific papers describing the methods they developed for identifying, classifying and discriminating weeds based on machine learning algorithms, convolutional neural networks and deep learning algorithms is given. As a result of the research, a weed detection system based on the YOLOv5 architecture was developed and quality estimates of the above algorithms were obtained. According to the results of the assessment, the accuracy of weed detection by the K-Nearest Neighbors, Random Forest and Decision Tree classifiers was 83.3 %, 87.5 %, and 80 %. Due to the fact that the images of weeds of each species differ in resolution and level of illumination, the results of the neural network have corresponding indicators in the intervals of 0.82–0.92 for each class. Quantitative results obtained on real data demonstrate that the proposed approach can provide good results in classifying low-resolution images of weeds.
Supporting Agency
- This work was supported by a grant from the Ministry of Education and Science of the Republic of Kazakhstan within the framework of project No. AP08857573
References
- Fawakherji, M., Youssef, A., Bloisi, D., Pretto, A., Nardi, D. (2019). Crop and Weeds Classification for Precision Agriculture Using Context-Independent Pixel-Wise Segmentation. 2019 Third IEEE International Conference on Robotic Computing (IRC). doi: https://doi.org/10.1109/irc.2019.00029
- Zhang, S., Huang, W., Wang, Z. (2021). Combing modified Grabcut, K-means clustering and sparse representation classification for weed recognition in wheat field. Neurocomputing, 452, 665–674. doi: https://doi.org/10.1016/j.neucom.2020.06.140
- Potena, C., Nardi, D., Pretto, A. (2017). Fast and Accurate Crop and Weed Identification with Summarized Train Sets for Precision Agriculture. Advances in Intelligent Systems and Computing, 105–121. doi: https://doi.org/10.1007/978-3-319-48036-7_9
- Di Cicco, M., Potena, C., Grisetti, G., Pretto, A. (2017). Automatic model based dataset generation for fast and accurate crop and weeds detection. 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). doi: https://doi.org/10.1109/iros.2017.8206408
- Lavania, S., Matey, P. S. (2015). Novel Method for Weed Classification in Maize Field Using Otsu and PCA Implementation. 2015 IEEE International Conference on Computational Intelligence & Communication Technology. doi: https://doi.org/10.1109/cict.2015.71
- Wu, Z., Chen, Y., Zhao, B., Kang, X., Ding, Y. (2021). Review of Weed Detection Methods Based on Computer Vision. Sensors, 21 (11), 3647. doi: https://doi.org/10.3390/s21113647
- Selvi, C. T., Sankara Subramanian, R. S., Ramachandran, R. (2021). Weed Detection in Agricultural fields using Deep Learning Process. 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS). doi: https://doi.org/10.1109/icaccs51430.2021.9441683
- Boyina, L., Sandhya, G., Vasavi, S., Koneru, L., Koushik, V. (2021). Weed Detection in Broad Leaves using Invariant U-Net Model. 2021 International Conference on Communication, Control and Information Sciences (ICCISc). doi: https://doi.org/10.1109/iccisc52257.2021.9485001
- Tang, J., Wang, D., Zhang, Z., He, L., Xin, J., Xu, Y. (2017). Weed identification based on K-means feature learning combined with convolutional neural network. Computers and Electronics in Agriculture, 135, 63–70. doi: https://doi.org/10.1016/j.compag.2017.01.001
- Luo, T., Zhao, J., Gu, Y., Zhang, S., Qiao, X., Tian, W., Han, Y. (2021). Classification of weed seeds based on visual images and deep learning. Information Processing in Agriculture. doi: https://doi.org/10.1016/j.inpa.2021.10.002
- Jiang, H., Zhang, C., Zhang, Z., Mao, W., Wang, D., Wang, D. (2020). Detection Method of Corn Weed Based on Mask R-CNN. Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery, 51 (6), 220–228. doi: https://doi.org/10.6041/j.issn.1000-1298.2020.06.023
- Dos Santos Ferreira, A., Matte Freitas, D., Gonçalves da Silva, G., Pistori, H., Theophilo Folhes, M. (2017). Weed detection in soybean crops using ConvNets. Computers and Electronics in Agriculture, 143, 314–324. doi: https://doi.org/10.1016/j.compag.2017.10.027
- Wang, A., Zhang, W., Wei, X. (2019). A review on weed detection using ground-based machine vision and image processing techniques. Computers and Electronics in Agriculture, 158, 226–240. doi: https://doi.org/10.1016/j.compag.2019.02.005
- Ma, X., Deng, X., Qi, L., Jiang, Y., Li, H., Wang, Y., Xing, X. (2019). Fully convolutional network for rice seedling and weed image segmentation at the seedling stage in paddy fields. PLOS ONE, 14 (4), e0215676. doi: https://doi.org/10.1371/journal.pone.0215676
- Asad, M. H., Bais, A. (2020). Weed detection in canola fields using maximum likelihood classification and deep convolutional neural network. Information Processing in Agriculture, 7 (4), 535–545. doi: https://doi.org/10.1016/j.inpa.2019.12.002
- Bosilj, P., Duckett, T., Cielniak, G. (2018). Analysis of Morphology-Based Features for Classification of Crop and Weeds in Precision Agriculture. IEEE Robotics and Automation Letters, 3 (4), 2950–2956. doi: https://doi.org/10.1109/lra.2018.2848305
- Sarvini, T., Sneha, T., Sukanya Gowthami, G. S., Sushmitha, S., Kumaraswamy, R. (2019). Performance Comparison of Weed Detection Algorithms. 2019 International Conference on Communication and Signal Processing (ICCSP). doi: https://doi.org/10.1109/iccsp.2019.8698094
- Xiao, L., Ouyang, H., Fan, C., Umer, T., Poonia, R. C., Wan, S. (2020). Gesture image segmentation with Otsu’s method based on noise adaptive angle threshold. Multimedia Tools and Applications, 79 (47-48), 35619–35640. doi: https://doi.org/10.1007/s11042-019-08544-7
- Belgiu, M., Drăguţ, L. (2016). Random forest in remote sensing: A review of applications and future directions. ISPRS Journal of Photogrammetry and Remote Sensing, 114, 24–31. doi: https://doi.org/10.1016/j.isprsjprs.2016.01.011
- Starovoitov, V. V., Golub, Y. I. (2020). Comparative study of quality estimation of binary classification. Informatics, 17 (1), 87–101. doi: https://doi.org/10.37661/1816-0301-2020-17-1-87-101
- Thuan, D. (2021). Evolution of YOLO algorithm and YOLOv5: The state-of-the-art object detection algorithm. Information Technology Oulu University of Applied Sciences, 61. Available at: https://www.theseus.fi/bitstream/handle/10024/452552/Do_Thuan.pdf?isAllowed=y&sequence=2
- Xu, R., Lin, H., Lu, K., Cao, L., Liu, Y. (2021). A Forest Fire Detection System Based on Ensemble Learning. Forests, 12 (2), 217. doi: https://doi.org/10.3390/f12020217
- Wang, Q., Wu, B., Zhu, P., Li, P., Zuo, W., Hu, Q. (2020). ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks. 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). doi: https://doi.org/10.1109/cvpr42600.2020.01155
- Osorio, K., Puerto, A., Pedraza, C., Jamaica, D., Rodríguez, L. (2020). A Deep Learning Approach for Weed Detection in Lettuce Crops Using Multispectral Images. AgriEngineering, 2 (3), 471–488. doi: https://doi.org/10.3390/agriengineering2030032
- Ahmad, T., Ma, Y., Yahya, M., Ahmad, B., Nazir, S., Haq, A. ul. (2020). Object Detection through Modified YOLO Neural Network. Scientific Programming, 2020, 1–10. doi: https://doi.org/10.1155/2020/8403262
- Yeshmukhametov, A. N., Koganezawa, K., Buribayev, Z., Amirgaliyev, Y., Yamamoto, Y. (2020). Study on multi-section continuum robot wire-tension feedback control and load manipulability. Industrial Robot: The International Journal of Robotics Research and Application, 47 (6), 837–845. doi: https://doi.org/10.1108/ir-03-2020-0054
- Yeshmukhametov, A., Khaleel, L. A., Koganezawa, K., Yamamoto, Y., Amirgaliyev, Y., Buribayev, Z. (2020). Designing of CNC Based Agricultural Robot with a Novel Tomato Harvesting Continuum Manipulator Tool. International Journal of Mechanical Engineering and Robotics Research, 9 (6), 876–881. doi: https://doi.org/10.18178/ijmerr.9.6.876-881
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2021 Baydaulet Urmashev, Zholdas Buribayev, Zhazira Amirgaliyeva, Aisulu Ataniyazova, Mukhtar Zhassuzak, Amir Turegali
This work is licensed under a Creative Commons Attribution 4.0 International License.
The consolidation and conditions for the transfer of copyright (identification of authorship) is carried out in the License Agreement. In particular, the authors reserve the right to the authorship of their manuscript and transfer the first publication of this work to the journal under the terms of the Creative Commons CC BY license. At the same time, they have the right to conclude on their own additional agreements concerning the non-exclusive distribution of the work in the form in which it was published by this journal, but provided that the link to the first publication of the article in this journal is preserved.
A license agreement is a document in which the author warrants that he/she owns all copyright for the work (manuscript, article, etc.).
The authors, signing the License Agreement with TECHNOLOGY CENTER PC, have all rights to the further use of their work, provided that they link to our edition in which the work was published.
According to the terms of the License Agreement, the Publisher TECHNOLOGY CENTER PC does not take away your copyrights and receives permission from the authors to use and dissemination of the publication through the world's scientific resources (own electronic resources, scientometric databases, repositories, libraries, etc.).
In the absence of a signed License Agreement or in the absence of this agreement of identifiers allowing to identify the identity of the author, the editors have no right to work with the manuscript.
It is important to remember that there is another type of agreement between authors and publishers – when copyright is transferred from the authors to the publisher. In this case, the authors lose ownership of their work and may not use it in any way.