{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,31]],"date-time":"2026-08-31T16:14:41Z","timestamp":1788192881732,"version":"build-2803163510"},"reference-count":30,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2026,3,6]],"date-time":"2026-03-06T00:00:00Z","timestamp":1772755200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Australian Government\u2019s Reef Trust"},{"DOI":"10.13039\/100015344","name":"Great Barrier Reef Foundation","doi-asserted-by":"crossref","id":[{"id":"10.13039\/100015344","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>The automated management of invasive weeds is critical for sustainable agriculture, yet the performance of deep learning models in real-world fields is often compromised by two factors: challenging environmental conditions and the high cost of data annotation. This study tackles both issues through a diagnostic-driven, semi-supervised framework. Using a unique dataset of approximately 975 labelled and 10,000 unlabelled images of Guinea Grass in sugarcane, we first establish strong supervised baselines for classification (ResNet) and detection (YOLO, RF-DETR), achieving F1 scores up to 0.90 and mAP50 scores exceeding 0.82. Crucially, this foundational analysis, aided by interpretability tools, uncovered a pervasive \u201cshadow bias,\u201d where models learned to misidentify shadows as vegetation. This diagnostic insight motivated our primary contribution: a semi-supervised pipeline that leverages unlabelled data to enhance model robustness. By training models on a more diverse set of visual information through pseudo-labelling, this framework not only helps mitigate the shadow bias but also provides a tangible boost in recall, a critical metric for minimising weed escapes in automated spraying systems. To validate our methodology, we demonstrate its effectiveness in a low-data regime on a public crop\u2013weed benchmark. Our work provides a clear and field-tested framework for developing, diagnosing, and improving robust computer vision systems for the complex realities of precision agriculture.<\/jats:p>","DOI":"10.3390\/computers15030171","type":"journal-article","created":{"date-parts":[[2026,3,6]],"date-time":"2026-03-06T11:05:44Z","timestamp":1772795144000},"page":"171","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Weed Detection in Challenging Field Conditions: A Semi-Supervised Framework for Overcoming Shadow Bias and Data Scarcity"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6973-019X","authenticated-orcid":false,"given":"Alzayat","family":"Saleh","sequence":"first","affiliation":[{"name":"College of Science and Engineering, James Cook University, Townsville, QLD 4811, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Shunsuke","family":"Hatano","sequence":"additional","affiliation":[{"name":"College of Science and Engineering, James Cook University, Townsville, QLD 4811, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7975-3985","authenticated-orcid":false,"given":"Mostafa","family":"Rahimi Azghadi","sequence":"additional","affiliation":[{"name":"College of Science and Engineering, James Cook University, Townsville, QLD 4811, Australia"},{"name":"Agriculture Technology and Adoption Centre, James Cook University, Townsville, QLD 4811, Australia"},{"name":"ARC Training Centre in Plant Biosecurity, James Cook University, Townsville, QLD 4811, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,3,6]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"31","DOI":"10.1017\/S0021859605005708","article-title":"Crop losses to pests","volume":"144","author":"Oerke","year":"2006","journal-title":"J. Agric. Sci."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"110365","DOI":"10.1016\/j.compag.2025.110365","article-title":"Precision robotic spot-spraying: Reducing herbicide use and enhancing environmental outcomes in sugarcane","volume":"235","author":"Azghadi","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"51171","DOI":"10.1109\/ACCESS.2019.2911709","article-title":"Low-power and high-speed deep FPGA inference engines for weed classification at the edge","volume":"7","author":"Lammie","year":"2019","journal-title":"IEEE Access"},{"key":"ref_4","unstructured":"Redmon, J., and Farhadi, A. (2018). YOLOv3: An incremental improvement. arXiv."},{"key":"ref_5","first-page":"213","article-title":"End-to-End Object Detection with Transformers","volume":"Volume 12346","author":"Carion","year":"2020","journal-title":"Proceedings of the European Conference on Computer Vision (ECCV)"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1186\/s13007-024-01232-0","article-title":"Identifying rice field weeds from unmanned aerial vehicle remote sensing imagery using deep learning","volume":"20","author":"Guo","year":"2024","journal-title":"Plant Methods"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Zhao, Y., Lv, W., Xu, S., Wei, J., Wang, G., Dang, Q., Liu, Y., and Chen, J. (2024). DETRs Beat YOLOs on Real-time Object Detection. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 17\u201321 June 2024, IEEE.","DOI":"10.1109\/CVPR52733.2024.01605"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"109526","DOI":"10.1016\/j.compag.2024.109526","article-title":"WeedCLR: Weed contrastive learning through visual representations with class-optimized loss in long-tailed datasets","volume":"227","author":"Saleh","year":"2024","journal-title":"Comput. Electron. Agric."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"127442","DOI":"10.1016\/j.eswa.2025.127442","article-title":"FieldNet: Efficient real-time shadow removal for enhanced vision in field robotics","volume":"279","author":"Saleh","year":"2025","journal-title":"Expert Syst. Appl."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"72","DOI":"10.1016\/j.biosystemseng.2016.08.024","article-title":"Plant species classification using deep convolutional neural network","volume":"151","author":"Dyrmann","year":"2016","journal-title":"Biosyst. Eng."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"373","DOI":"10.1007\/s10994-019-05855-6","article-title":"A survey on semi-supervised learning","volume":"109","author":"Hoos","year":"2020","journal-title":"Mach. Learn."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"533","DOI":"10.1016\/j.asoc.2015.08.027","article-title":"A semi-supervised system for weed mapping in sunflower crops using unmanned aerial vehicles and a crop row detection method","volume":"37","year":"2015","journal-title":"Appl. Soft Comput."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Nong, C., Fan, X., and Wang, J. (2022). Semi-supervised learning for weed and crop segmentation using UAV imagery. Front. Plant Sci., 13.","DOI":"10.3389\/fpls.2022.927368"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"110410","DOI":"10.1016\/j.compag.2025.110410","article-title":"Semi-supervised weed detection for rapid deployment and enhanced efficiency","volume":"236","author":"Saleh","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"43","DOI":"10.1016\/j.compag.2015.03.019","article-title":"An automatic object-based method for optimal thresholding in UAV images: Application for vegetation detection in herbaceous crops","volume":"114","year":"2015","journal-title":"Comput. Electron. Agric."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"226","DOI":"10.1016\/j.compag.2019.02.005","article-title":"A review on weed detection using ground-based machine vision and image processing techniques","volume":"158","author":"Wang","year":"2019","journal-title":"Comput. Electron. Agric."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"106067","DOI":"10.1016\/j.compag.2021.106067","article-title":"A survey of deep learning techniques for weed detection from images","volume":"184","author":"Hasan","year":"2021","journal-title":"Comput. Electron. Agric."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"314","DOI":"10.1016\/j.compag.2017.10.027","article-title":"Weed detection in soybean crops using ConvNets","volume":"143","author":"Ferreira","year":"2017","journal-title":"Comput. Electron. Agric."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"2058","DOI":"10.1038\/s41598-018-38343-3","article-title":"DeepWeeds: A multiclass weed species image dataset for deep learning","volume":"9","author":"Olsen","year":"2019","journal-title":"Sci. Rep."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NA, USA, 27\u201330 June 2016, IEEE.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Saleem, M.H., Potgieter, J., and Arif, K.M. (2022). Weed detection by faster RCNN model: An enhanced anchor box approach. Agronomy, 12.","DOI":"10.3390\/agronomy12071580"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"107655","DOI":"10.1016\/j.compag.2023.107655","article-title":"YOLOWeeds: A novel benchmark of YOLO object detectors for multi-class weed detection in cotton production systems","volume":"205","author":"Dang","year":"2023","journal-title":"Comput. Electron. Agric."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"107179","DOI":"10.1016\/j.compag.2022.107179","article-title":"Weed detection in paddy field using an improved RetinaNet network","volume":"199","author":"Peng","year":"2022","journal-title":"Comput. Electron. Agric."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"111130","DOI":"10.1016\/j.compag.2025.111130","article-title":"SP-DETR: Superior point weak semi-supervised DETR with teacher\u2013student paradigm for crop and weed detection","volume":"239","author":"Xu","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Islam, T., Sarker, T.T., Ahmed, K.R., Rankrape, C.B., and Gage, K. (2025). WeedVision: Multi-Stage Growth and Classification of Weeds using DETR and RetinaNet for Precision Agriculture. arXiv.","DOI":"10.1109\/ICMLA61862.2024.00214"},{"key":"ref_26","unstructured":"Robicheaux, P., Gallagher, J., Nelson, J., and Robinson, I. (2025, March 20). RF-DETR: A SOTA Real-Time Object Detection Model. Available online: https:\/\/blog.roboflow.com\/rf-detr\/."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"106389","DOI":"10.1016\/j.cropro.2023.106389","article-title":"Semi-supervised learning and attention mechanism for weed detection in wheat","volume":"174","author":"Liu","year":"2023","journal-title":"Crop Prot."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"27971","DOI":"10.1109\/ACCESS.2021.3057912","article-title":"Weed Density and Distribution Estimation for Precision Agriculture Using Semi-Supervised Learning","volume":"9","author":"Shorewala","year":"2021","journal-title":"IEEE Access"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Steininger, D., Trondl, A., Croonen, G., Simon, J., and Widhalm, V. (2023). The CropAndWeed Dataset: A Multi-Modal Learning Approach for Efficient Crop and Weed Manipulation. Proceedings of the IEEE\/CVF Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA, 2\u20137 January 2023, IEEE.","DOI":"10.1109\/WACV56688.2023.00372"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Akiba, T., Sano, S., Yanase, T., Ohta, T., and Koyama, M. (2019). Optuna: A next-generation hyperparameter optimization framework. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4\u20138 August 2019, Association for Computing Machinery.","DOI":"10.1145\/3292500.3330701"}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/15\/3\/171\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,8]],"date-time":"2026-03-08T05:24:36Z","timestamp":1772947476000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/15\/3\/171"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,3,6]]},"references-count":30,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2026,3]]}},"alternative-id":["computers15030171"],"URL":"https:\/\/doi.org\/10.3390\/computers15030171","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,3,6]]}}}