IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0358742.html

Flora-YOLO: A lightweight framework for real-time rose grading on edge devices via structural optimization and feature refinement

Author

Listed:
  • Wenwei Liu
  • Jinyu Xu
  • Guoao Wang
  • Shuo Ding
  • Yuanbo Zhang
  • Runze Tian
  • Zejiang Li
  • Yuanzhe Ji
  • Li Zhang

Abstract

Precise flower grading in modern agriculture is critical for determining market value but remains hindered by inefficient manual labor and the computational constraints of edge devices. To address these challenges, this paper introduces Flora-YOLO, a lightweight and robust detection framework built upon the YOLO11n architecture. To overcome the inherent bottlenecks of agricultural vision, the framework incorporates four targeted optimizations, explicitly distinguishing novel components from adapted architectures: (1) an adapted C3k2-based Sandglass-Gated Bottleneck (C3k2_SGB) module to extract and amplify minute floral textures; (2) an integrated Adaptive Downsampling (ADown) module to preserve critical high-frequency spatial cues under severe foliage occlusion; (3) a newly proposed CSP-based Variance-Gated Attention (C2VGA) hybrid attention mechanism to amplify the weak semantic signals of early-stage buds while suppressing background noise; and (4) a novel Focused Shape-Intersection over Union (FSIoU) loss function to provide shape-aware gradient guidance for the precise bounding-box regression of irregular, non-rigid floral boundaries. Evaluated via 5-fold cross-validation on a custom dataset, the model achieves a stable 86.7% mAP@0.5 and 50.4% mAP@0.5:0.95. This represents a 3.4% accuracy improvement over the baseline, achieved alongside a 28.6% reduction in computational load, requiring only 1.73 M parameters and 4.5 GFLOPs. Furthermore, out-of-domain testing and evaluation on public agricultural datasets confirm the model’s cross-species generalization. Finally, hardware deployment on both Android terminals and an NPU-accelerated NXP i.MX 8M Plus platform yields a real-time inference speed of 11.05 FPS with a 90.5 ms latency. These results establish Flora-YOLO as a highly efficient, accurate, and scalable solution for automated, edge-based sorting in precision floriculture.

Suggested Citation

  • Wenwei Liu & Jinyu Xu & Guoao Wang & Shuo Ding & Yuanbo Zhang & Runze Tian & Zejiang Li & Yuanzhe Ji & Li Zhang, 2026. "Flora-YOLO: A lightweight framework for real-time rose grading on edge devices via structural optimization and feature refinement," PLOS ONE, Public Library of Science, vol. 21(9), pages 1-33, September.
  • Handle: RePEc:plo:pone00:0358742
    DOI: 10.1371/journal.pone.0358742
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0358742
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0358742&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0358742?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    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:plo:pone00:0358742. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.