IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v15y2025i18p1967-d1752454.html
   My bibliography  Save this article

A Two-Stage Weed Detection and Localization Method for Lily Fields Targeting Laser Weeding

Author

Listed:
  • Yanlei Xu

    (College of Information and Technology, Jilin Agricultural University, Changchun 130118, China)

  • Chao Liu

    (College of Information and Technology, Jilin Agricultural University, Changchun 130118, China)

  • Jiahao Liang

    (College of Information and Technology, Jilin Agricultural University, Changchun 130118, China)

  • Xiaomin Ji

    (College of Information and Technology, Jilin Agricultural University, Changchun 130118, China)

  • Jian Li

    (College of Information and Technology, Jilin Agricultural University, Changchun 130118, China)

Abstract

The cultivation of edible lilies is highly susceptible to weed infestation during its growth period, and the application of herbicides is often impractical, leading to the rampant growth of diverse weed species. Laser weeding, recognized as an efficient and precise method for field weed management, presents a novel solution to the weed challenges in lily fields. The accurate localization of weed regions and the optimal selection of laser targeting points are crucial technologies for successful laser weeding implementation. In this study, we propose a two-stage weed detection and localization method specifically designed for lily fields. In the first stage, we introduce an enhanced detection model named YOLO-Morse, aimed at identifying and removing lily plants. YOLO-Morse is built upon the YOLOv8 architecture and integrates the RCS-MAS backbone, the SPD-Conv spatial enhancement module, and an adaptive focal loss function (ATFL) to enhance detection accuracy in conditions characterized by sample imbalance and complex backgrounds. Experimental results indicate that YOLO-morse achieves a mean Average Precision (mAP) of 86%, reflecting a 3.2% improvement over the original YOLOv8, and facilitates stable identification of lily regions. Subsequently, a ResNet-based segmentation network is employed to conduct semantic segmentation on the detected lily targets. The segmented results are utilized to mask the original lily areas in the image, thereby generating weed-only images for the subsequent stage. In the second stage, the original RGB field images are first converted into weed-only images by removing lily regions; these weed-only images are then analyzed in the HSV color space combined with morphological processing to precisely extract green weed regions. The centroid of the weed coordinate set is automatically determined as the laser targeting point.The proposed system exhibits superior performance in weed detection, achieving a Precision, Recall, and F1-score of 94.97%, 90.00%, and 92.42%, respectively. The proposed two-stage approach significantly enhances multi-weed detection performance in complex environments, improving detection accuracy while maintaining operational efficiency and cost-effectiveness. This method proposes a precise, efficient, and intelligent laser weeding solution for weed management in lily fields. Although certain limitations remain, such as environmental lighting variation, leaf occlusion, and computational resource constraints, the method still exhibits significant potential for broader application in other high-value crops.

Suggested Citation

  • Yanlei Xu & Chao Liu & Jiahao Liang & Xiaomin Ji & Jian Li, 2025. "A Two-Stage Weed Detection and Localization Method for Lily Fields Targeting Laser Weeding," Agriculture, MDPI, vol. 15(18), pages 1-23, September.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:18:p:1967-:d:1752454
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/18/1967/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/18/1967/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:18:p:1967-:d:1752454. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.