Abstract
Weeds, which are undesirable plants growing alongside crops, pose serious risks to the global natural environment. They compete with native species, lead to land degradation, and diminish productivity in both agricultural and forested areas. This requires developing an efficient and optimal AI-based weed management and control approach. This study introduces the natural, extensive, and publicly accessible image dataset IndianPotatoWeeds, encompassing weed species in the Indian rangelands, and applies deep learning techniques to detect weeds. The dataset, comprising over 1500 RGB images, facilitates the creation of reliable detection and classification techniques for effective robotic weed management. The study evaluates the dataset’s segmentation, detection, and classification performance using state-of-the-art deep learning models YOLO-v3 and Mask RCNN. Both models performed well and achieved mean average precision (mAP@50) of 0.70 for Yolov3 and 0.75 for Mask RCNN. These results emphasize the dataset’s utility for building effective weed detection systems. This research enhances weed management strategies, resulting in better crop yields and reduced herbicide usage. It also provides a foundation for future studies by making the dataset available for further development and exploration in the field.









Similar content being viewed by others
Data Availability
The dataset and the source code used in this research is available online on https://www.kaggle.com/datasets/rajni88/indianpotatoweed-dataset.
References
Hasan AM, et al. A survey of deep learning techniques for weed detection from images. Comput Electron Agric. 2021;184: 106067. https://doi.org/10.1016/j.compag.2021.106067.
Iqbal N, Manalil S, Chauhan BS, Adkins SW. Investigation of alternate herbicides for effective weed management in glyphosate-tolerant cotton. Archives of Agronomy and Soil Science. 2019;65(13):1885–1899. https://doi.org/10.1080/03650340.2019.1579904
Sakyi L. Five general categories of weed control methods (2019). https://greenrootltd.com/2019/02/19/five-general-categories-of-weed-control-methods. Accessed 23 Nov 2022
Fenland weeds in potato crop. https://www.sciencephoto.com/media/699408/view/fenland-weeds-in-potato-crop. Accessed 23 Nov 2022
Sabzi S, Abbaspour-Gilandeh Y, Arribas JI. An automatic visible-range video weed detection, segmentation and classification prototype in potato field. Heliyon. 2020;6(5):03685.
Punithavathi R, et al. Computer vision and deep learning-enabled weed detection model for precision agriculture. Comput Syst Sci Eng. 2023;44(3):2759–74.
Ong P, Teo KS, Sia CK. Uav-based weed detection in Chinese cabbage using deep learning. Smart Agric Technol. 2023. https://doi.org/10.1016/j.atech.2023.100181.
Rahman A, Lu Y, Wang H. Performance evaluation of deep learning object detectors for weed detection for cotton. Smart Agric Technol. 2023;3: 100126. https://doi.org/10.1016/j.atech.2023.100126.
Peng H, Li Z, Zhou Z, Shao Y. Weed detection in paddy field using an improved retinanet network. Comput Electron Agric. 2022;199: 107179. https://doi.org/10.1016/j.compag.2022.107179.
Razfar N, True J, et al. Weed detection in soybean crops using custom lightweight deep learning models. J Agric Food Res. 2022;8: 100308. https://doi.org/10.1016/j.jafr.2022.100308.
Goyal R, Nath A, Niranjan U. Weed detection using deep learning in complex and highly occluded potato field environment. Crop Protect. 2024. https://doi.org/10.1016/j.cropro.2024.106948.
Rajni88: Indian Potato Weed Dataset. 2024. https://www.kaggle.com/datasets/rajni88/indianpotatoweed-dataset. Accessed 08 Oct 2024
Redmon J, Farhadi A. Yolov3: an incremental improvement, 2018. arXiv preprint arXiv:1804.02767
He K, Gkioxari G., Dollár P, Girshick R. Mask r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, 2017; 2961–2969. https://doi.org/10.1109/ICCV.2017.322
Hassan A. Potato weed plants classification. 2022. https://www.kaggle.com/datasets/ali7432/potato-weed-plants-classification. Accessed 23 Nov 2022
Jayan A. Weed detection dataset. 2023. https://github.com/AjinJayan/weed_detection/blob/master/dataset_updated.zip. . Accessed 6 Mar 2023
Haug S, Ostermann J. Dataset of annotated weed images. 2022. https://github.com/cwfid/dataset. Accessed 23 Nov 2022
Sudars K, Jasko J, Namatevs I, et al. Dataset of annotated food crops and weed images for robotic computer vision control. Data Brief. 2020;31: 105833.
Olsen A, Konovalov DA, et al. Deepweeds: a multiclass weed species image dataset for deep learning. Sci Rep. 2019;9(1):1–12.
Goyal R, Nath A, Utkarsh. Indianpotatoweeds: an image dataset of potato crop to address weed issues in precision agriculture. In: International Conference on Agriculture-Centric Computation, pp. 116–126. 2023. https://doi.org/10.1007/978-3-031-43605-5_9. Springer
Yu J, Schumann AW, Cao Z. Weed detection in perennial ryegrass field based on lightweight deep learning models. Comput Electron Agric. 2021;182: 106021.
Espejo-Garcia B, Mylonas N, et al. Towards weeds identification assistance through transfer learning. Comput Electron Agric. 2020;171: 105306.
Santos Ferreira A, Freitas DM, Silva GG, Pistori H, Folhes MT. Weed detection in soybean crops using convnets. Comput Electron Agric. 2017;143:314–24.
Leminen Madsen S, Mathiassen SK, Dyrmann M, Laursen MS, Paz LC, Jørgensen RN. Open plant phenotype database of common weeds in Denmark. Remote Sens. 2020;12(8):1246. https://doi.org/10.3390/rs12081246.
Gao J, French AP, Pound MP, He Y, Pridmore TP, Pieters JG. Deep convolutional neural networks for image-based convolvulus sepium detection in sugar beet fields. Plant Methods. 2020;16(1):1–12. https://doi.org/10.1186/s13007-020-00600-w.
Chebrolu N, Lottes P, Schaefer A, Winterhalter W, Burgard W, Stachniss C. Agricultural robot dataset for plant classification, localization and mapping on sugar beet fields. Int J Robot Res. 2017;36(10):1045–52.
Chebrolu N, Läbe T, Stachniss C. Robust long-term registration of uav images of crop fields for precision agriculture. IEEE Robot Autom Lett. 2018;3(4):3097–104.
Jiang H, Zhang C, Qiao Y, Zhang Z, Zhang W, Song C. Cnn feature based graph convolutional network for weed and crop recognition in smart farming. Comput Electron Agric. 2020;174: 105450. https://doi.org/10.1016/j.compag.2020.105450.
Lameski P, Zdravevski E, Trajkovik V, Kulakov A. Weed detection dataset with rgb images taken under variable light conditions. In: International Conference on ICT Innovations, 2017; 112–119. Springer
Le VNT, Ahderom S, Apopei B, Alameh K. A novel method for detecting morphologically similar crops and weeds based on the combination of contour masks and filtered local binary pattern operators. GigaScience. 2020;9(3):017. https://doi.org/10.1093/gigascience/giaa017.
Bosilj P, Aptoula E, Duckett T, Cielniak G. Transfer learning between crop types for semantic segmentation of crops versus weeds in precision agriculture. J Field Robot. 2020;37(1):7–19. https://doi.org/10.1002/rob.21856.
Skovsen S, Dyrmann M, Mortensen AK, Laursen MS, Gislum R, Eriksen J, Jorgensen RN. The grassclover image dataset for semantic and hierarchical species understanding in agriculture. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2019
Teimouri N, Dyrmann M, Nielsen PR, Mathiassen SK, Somerville GJ, Jørgensen RN. Weed growth stage estimator using deep convolutional neural networks. Sensors. 2018;18(5):1580. https://doi.org/10.3390/s18051580.
Trong VH, Gwang-hyun Y, Vu DT, Jin-young K. Late fusion of multimodal deep neural networks for weeds classification. Comput Electron Agric. 2020;175: 105506. https://doi.org/10.1016/j.compag.2020.105506.
Giselsson TM, Jørgensen RN, Jensen PK, Dyrmann M, Midtiby HS. A public image database for benchmark of plant seedling classification algorithms, 2017. arXiv preprint arXiv:1711.05458. https://doi.org/10.48550/arXiv.1711.05458. Accessed 26 Nov 2022
Khan S, Tufail M, et al. Deep learning-based identification system of weeds and crops in strawberry and pea fields for a precision agriculture sprayer. Precision Agric. 2021;22(6):1711–27. https://doi.org/10.1007/s11119-021-09810-y.
Alam MS, Alam M, Tufail M, Khan MU, Güneş A, Salah B, Nasir FE, Saleem W, Khan MT. Tobset: a new tobacco crop and weeds image dataset and its utilization for vision-based spraying by agricultural robots. Appl Sci. 2022;12(3):1308.
Dutta A, Zisserman A. The via annotation software for images, audio and video. In: Proceedings of the 27th ACM International Conference on Multimedia. 2019
Russell BC, Torralba A, Murphy KP, Freeman WT. Labelme: a database and web-based tool for image annotation. Int J Comput Vision. 2008;77:157–73. https://doi.org/10.1007/s11263-007-0090-8.
Girshick R. Fast r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1447–1455. 2015. https://doi.org/10.1109/ICCV.2015.169
Sapkota BB, Popescu S, Rajan N, Leon RG, Reberg-Horton C, Mirsky S, Bagavathiannan MV. Use of synthetic images for training a deep learning model for weed detection and biomass estimation in cotton. Sci Rep. 2022;12(1):19580.
Valicharla SK. Weed recognition in agriculture: a Mask R-CNN approach. West Virginia University, Morgantown, WV. 2021. 10.33915/etd.8102
Funding
The research of the second author, i.e., Amar Nath, was partially funded by a grant from the Anusandhan National Research Foundation: Science and Engineering Research Board (ANRF-SERB), Grant No. EEQ/2023/000792.
Author information
Authors and Affiliations
Contributions
R.G conceptualized the idea and did data collection, data annotation, model training, experimentation, and paper writing. A.N did project supervision, resources acquisition, methodology review & editing. U. supervised the data annotation, model training, experimentation, visualization, writing - review & editing.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have influenced the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Goyal, R., Nath, A. & Utkarsh Niranjan IndianPotatoWeeds: A Novel Dataset and its Role in Weed Detection and Management for Potato Crops. SN COMPUT. SCI. 6, 466 (2025). https://doi.org/10.1007/s42979-025-03969-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42979-025-03969-4