Deep learning-based object detection model for location and recognition of weeds in cereal fields using colour imagery
Hossein Akhtari

A
B
C
Abstract
Automatic weed detection and control is crucial in precision agriculture, especially in cereal fields where overlapping crops and narrow row spacing present significant challenges. This research prioritized small weed detection and its performance in dense images by using innovative techniques.
This study investigated two recent convolutional neural networks (CNNs) with different architectures and detection models for weed detection in cereal fields. The feature pyramid network (FPN) technique was applied to improve performance. To tackle challenges such as high weed density and occlusion, a method of dividing images into smaller parts with pixel area thresholds was implemented, achieving an approximately 22% increase in average precision (AP).
The dataset includes red–green–blue (RGB) images of cereal fields captured in Germany (2018–2019) at varying growth stages. Images were annotated using ‘LabelImg’, assigning weed labels. Models were evaluated by precision, recall, prediction time, and detection rate.
The evaluation results showed that the FasterRCNN-ResNet50 with FPN had the best performance in terms of detection numbers. In the tests, the model successfully detected 508 of 535 annotated weeds in 36 images, achieving a detection rate of 94.95%, with a 95% confidence interval of [92.76%, 96.51%]. Additionally, a method was proposed to boost average precision and recall in high-density weed images, enhancing detection operations.
The results of this research showed that the presented algorithms and methods have a high ability to solve above-mentioned challenges.
This research evaluated deep learning models, and recommends the best and stresses reliable weed identification at all growth stages.
Keywords: AI in precision agriculture, CNN-based weed detection, deep learning, digital agriculture, field image analysis, fully dense weed detection, weed detection optimization, weed mapping.
References
Baheti P (2023) Train test validation split: how to & best practices. v7labs. Available at https://www.v7labs.com/blog/train-validation-test-set
Benbrook CM (2016) Trends in glyphosate herbicide use in the United States and globally. Environmental Sciences Europe 28, 1-15.
| Crossref | Google Scholar |
Buslaev A, Iglovikov VI, Khvedchenya E, Parinov A, Druzhinin M, Kalinin AA (2020) Albumentations: fast and flexible image augmentations. Information 11, 125.
| Crossref | Google Scholar |
Dyrmann M, Jørgensen RN, Midtiby HS (2017) RoboWeedSupport-Detection of weed locations in leaf occluded cereal crops using a fully convolutional neural network. Advances in Animal Biosciences 8, 842-847.
| Crossref | Google Scholar |
Flessner ML, Burke IC, Dille JA, Everman WJ, Vangessel MJ, Tidemann B, Manuchehri MR, Soltani N, Sikkema PH (2021) Potential wheat yield loss due to weeds in the United States and Canada. Weed Technology 35, 916-923.
| Crossref | Google Scholar |
Hasan ASMM, Sohel F, Diepeveen D, Laga H, Jones MGK (2021) A survey of deep learning techniques for weed detection from images. Computers and Electronics in Agriculture 184, 106067.
| Crossref | Google Scholar |
Islam N, Rashid MM, Wibowo S, Xu C-Y, Morshed A, Wasimi SA, Moore S, Rahman SM (2021) Early weed detection using image processing and machine learning techniques in an Australian chilli farm. Agriculture 11, 387.
| Crossref | Google Scholar |
Islam MM, Hossain MB, Akhtar MN, Moni MA, Hasan KF (2022) CNN based on transfer learning models using data augmentation and transformation for detection of concrete crack. Algorithms 15, 287.
| Crossref | Google Scholar |
Jin X, Bagavathiannan M, Maity A, Chen Y, Yu J (2022) Deep learning for detecting herbicide weed control spectrum in turfgrass. Plant Methods 18, 94.
| Crossref | Google Scholar |
Khan S, Tufail M, Khan MT, Khan ZA, Anwar S (2021) Deep learning-based identification system of weeds and crops in strawberry and pea fields for a precision agriculture sprayer. Precision Agriculture 22, 1711-1727.
| Crossref | Google Scholar |
Krizhevsky A, Sutskever I, Hinton GE (2017) ImageNet classification with deep convolutional neural networks. Communications of the ACM 60, 84-90.
| Crossref | Google Scholar |
Liu J, Wang X (2020) Tomato diseases and pests detection based on improved Yolo V3 convolutional neural network. Frontiers in Plant Science 11, 898.
| Crossref | Google Scholar |
Moazzam SI, Nawaz T, Qureshi WS, Khan US, Tiwana MI (2023) A W-shaped convolutional network for robust crop and weed classification in agriculture. Precision Agriculture 24, 2002-2018.
| Crossref | Google Scholar |
Ong P, Teo KS, Sia CK (2023) UAV-based weed detection in Chinese cabbage using deep learning. Smart Agricultural Technology 4, 100181.
| Crossref | Google Scholar |
Puchalka R, Rutkowski L, Popa M-O, Pliszko A, Piwczynski M (2018) Bur-chervil Anthriscus caucalis M. Bieb. (Apiaceae): potentially invasive species in forests. Baltic Forestry 24, 189-200.
| Google Scholar |
Radoglou-Grammatikis P, Sarigiannidis P, Lagkas T, Moscholios I (2020) A compilation of UAV applications for precision agriculture. Computer Networks 172, 107148.
| Crossref | Google Scholar |
Rahman A, Lu Y, Wang H (2023) Performance evaluation of deep learning object detectors for weed detection for cotton. Smart Agricultural Technology 3, 100126.
| Crossref | Google Scholar |
Ren S, He K, Girshick R, Sun J (2015) Faster r-cnn: towards real-time object detection with region proposal networks. Advances in Neural Information Processing Systems 28, 91-99.
| Google Scholar |
Seelan SK, Laguette S, Casady GM, Seielstad GA (2003) Remote sensing applications for precision agriculture: a learning community approach. Remote Sensing of Environment 88, 157-169.
| Crossref | Google Scholar |
Tu S, Pang J, Liu H, Zhuang N, Chen Y, Zheng C, Wan H, Xue Y (2020) Passion fruit detection and counting based on multiple scale faster R-CNN using RGB-D images. Precision Agriculture 21, 1072-1091.
| Crossref | Google Scholar |
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.
| Crossref | Google Scholar |
Wu S, Li X, Wang X (2020) IoU-aware single-stage object detector for accurate localization. Image and Vision Computing 97, 103911.
| Crossref | Google Scholar |
Yu J, Sharpe SM, Schumann AW, Boyd NS (2019) Deep learning for image-based weed detection in turfgrass. European Journal of Agronomy 104, 78-84.
| Crossref | Google Scholar |
Yu J, Schumann AW, Sharpe SM, Li X, Boyd NS (2020) Detection of grassy weeds in bermudagrass with deep convolutional neural networks. Weed Science 68, 545-552.
| Crossref | Google Scholar |
Zhang RF, Wang C, Hu XP, Liu YX, Chen S, Su BF (2020) Weed location and recognition based on UAV imaging and deep learning. International Journal of Precision Agricultural Aviation 3, 23-29.
| Crossref | Google Scholar |