Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot

Weed management is becoming increasingly important for sustainable crop production. Weeds cause an average yield loss of 11.5% billion in Pakistan, which is more than PKR 65 billion per year. A real-time laser weeding robot can increase the crop’s yield by efficiently removing weeds. Therefore, it h...

Full description

Bibliographic Details
Main Authors: Hafiza Sundus Fatima, Imtiaz ul Hassan, Shehzad Hasan, Muhammad Khurram, Didier Stricker, Muhammad Zeshan Afzal
Format: Article
Language:English
Published: MDPI AG 2023-03-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/13/6/3997
_version_ 1797613551769092096
author Hafiza Sundus Fatima
Imtiaz ul Hassan
Shehzad Hasan
Muhammad Khurram
Didier Stricker
Muhammad Zeshan Afzal
author_facet Hafiza Sundus Fatima
Imtiaz ul Hassan
Shehzad Hasan
Muhammad Khurram
Didier Stricker
Muhammad Zeshan Afzal
author_sort Hafiza Sundus Fatima
collection DOAJ
description Weed management is becoming increasingly important for sustainable crop production. Weeds cause an average yield loss of 11.5% billion in Pakistan, which is more than PKR 65 billion per year. A real-time laser weeding robot can increase the crop’s yield by efficiently removing weeds. Therefore, it helps decrease the environmental risks associated with traditional weed management approaches. However, to work efficiently and accurately, the weeding robot must have a robust weed detection mechanism to avoid physical damage to the targeted crops. This work focuses on developing a lightweight weed detection mechanism to assist laser weeding robots. The weed images were collected from six different agriculture farms in Pakistan. The dataset consisted of 9000 images of three crops: okra, bitter gourd, sponge gourd, and four weed species (horseweed, herb paris, grasses, and small weeds). We chose a single-shot object detection model, YOLO5. The selected model achieved a mAP of 0.88@IOU 0.5, indicating that the model predicted a large number of true positive (TP) with much less prediction of false positive (FP) and false negative (FN). While SSD-ResNet50 achieved a mAP of 0.53@IOU 0.5, the model predicted fewer TP with significant outcomes as FP or FN. The superior performance of the YOLOv5 model made it suitable for detecting and classifying weeds and crops within fields. Furthermore, the model was ported to an Nvidia Xavier AGX standalone device to make it a high-performance and low-power computation detection system. The model achieved an FPS rate of 27. Therefore, it is highly compatible with the laser weeding robot, which takes approximately 22.04 h at a velocity of 0.25 feet per second to remove weeds from a one-acre plot.
first_indexed 2024-03-11T06:57:20Z
format Article
id doaj.art-434cb3034ac34d18b32d5e275127f441
institution Directory Open Access Journal
issn 2076-3417
language English
last_indexed 2024-03-11T06:57:20Z
publishDate 2023-03-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj.art-434cb3034ac34d18b32d5e275127f4412023-11-17T09:29:59ZengMDPI AGApplied Sciences2076-34172023-03-01136399710.3390/app13063997Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding RobotHafiza Sundus Fatima0Imtiaz ul Hassan1Shehzad Hasan2Muhammad Khurram3Didier Stricker4Muhammad Zeshan Afzal5Smartcity Lab, National Center of Artificial Intelligence (NCAI), Karachi 75270, PakistanSmartcity Lab, National Center of Artificial Intelligence (NCAI), Karachi 75270, PakistanSmartcity Lab, National Center of Artificial Intelligence (NCAI), Karachi 75270, PakistanSmartcity Lab, National Center of Artificial Intelligence (NCAI), Karachi 75270, PakistanGerman Research Institute for Artificial Intelligence (DFKI), 67663 Kaiserslautern, GermanyGerman Research Institute for Artificial Intelligence (DFKI), 67663 Kaiserslautern, GermanyWeed management is becoming increasingly important for sustainable crop production. Weeds cause an average yield loss of 11.5% billion in Pakistan, which is more than PKR 65 billion per year. A real-time laser weeding robot can increase the crop’s yield by efficiently removing weeds. Therefore, it helps decrease the environmental risks associated with traditional weed management approaches. However, to work efficiently and accurately, the weeding robot must have a robust weed detection mechanism to avoid physical damage to the targeted crops. This work focuses on developing a lightweight weed detection mechanism to assist laser weeding robots. The weed images were collected from six different agriculture farms in Pakistan. The dataset consisted of 9000 images of three crops: okra, bitter gourd, sponge gourd, and four weed species (horseweed, herb paris, grasses, and small weeds). We chose a single-shot object detection model, YOLO5. The selected model achieved a mAP of 0.88@IOU 0.5, indicating that the model predicted a large number of true positive (TP) with much less prediction of false positive (FP) and false negative (FN). While SSD-ResNet50 achieved a mAP of 0.53@IOU 0.5, the model predicted fewer TP with significant outcomes as FP or FN. The superior performance of the YOLOv5 model made it suitable for detecting and classifying weeds and crops within fields. Furthermore, the model was ported to an Nvidia Xavier AGX standalone device to make it a high-performance and low-power computation detection system. The model achieved an FPS rate of 27. Therefore, it is highly compatible with the laser weeding robot, which takes approximately 22.04 h at a velocity of 0.25 feet per second to remove weeds from a one-acre plot.https://www.mdpi.com/2076-3417/13/6/3997real-time detectiondeep-learningsingle-shot detector (SSD) modellight-weightYOLOweed dataset
spellingShingle Hafiza Sundus Fatima
Imtiaz ul Hassan
Shehzad Hasan
Muhammad Khurram
Didier Stricker
Muhammad Zeshan Afzal
Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot
Applied Sciences
real-time detection
deep-learning
single-shot detector (SSD) model
light-weight
YOLO
weed dataset
title Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot
title_full Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot
title_fullStr Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot
title_full_unstemmed Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot
title_short Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot
title_sort formation of a lightweight deep learning based weed detection system for a commercial autonomous laser weeding robot
topic real-time detection
deep-learning
single-shot detector (SSD) model
light-weight
YOLO
weed dataset
url https://www.mdpi.com/2076-3417/13/6/3997
work_keys_str_mv AT hafizasundusfatima formationofalightweightdeeplearningbasedweeddetectionsystemforacommercialautonomouslaserweedingrobot
AT imtiazulhassan formationofalightweightdeeplearningbasedweeddetectionsystemforacommercialautonomouslaserweedingrobot
AT shehzadhasan formationofalightweightdeeplearningbasedweeddetectionsystemforacommercialautonomouslaserweedingrobot
AT muhammadkhurram formationofalightweightdeeplearningbasedweeddetectionsystemforacommercialautonomouslaserweedingrobot
AT didierstricker formationofalightweightdeeplearningbasedweeddetectionsystemforacommercialautonomouslaserweedingrobot
AT muhammadzeshanafzal formationofalightweightdeeplearningbasedweeddetectionsystemforacommercialautonomouslaserweedingrobot