ORIGINAL RESEARCH article
Front. Plant Sci.
Sec. Technical Advances in Plant Science
Improved YOLOv11n-seg for Impurity Detection in Mechanically Harvested Sugarcane
Provisionally accepted- 1Agricultural Machinery Research Institute, Chinese Academy of Tropical Agricultural Sciences, Zhanjiang, China
- 2Key Laboratory of Tropical Agricultural Machinery, Ministry of Agriculture and Rural Affairs, Zhanjiang, China
- 3Guangxi Research Institute of Metrology & Test, Nanning, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
The content of impurities in mechanically harvested sugarcane is crucial for assessing harvest quality and sale price. To enable intelligent detection of impurities in mechanically harvested sugarcane, this study proposes a sugarcane impurity detection method based on an Improved YOLOv11n-seg model. The method incorporates four enhancement modules into the YOLOv11n-seg architecture. Firstly, a lightweight C2_Ghost module is introduced in the high-channel feature extraction layers of the backbone and neck, reducing both computational and feature redundancy. Subsequently, a C2_FSAS module is designed to model frequency-domain relationships, enhancing long-range semantic dependency representation. An Efficient Channel Attention (ECA) mechanism is then applied to deep, high-level semantic features to enhance the weighting of salient feature channels. Finally, the traditional fixed interpolation upsample is replaced with a dynamic DySample upsample structure to recover fine edge features. Results indicate that Improved YOLOv11n-seg achieves segmentation accuracies of 97.0%, 98.1%, 99.2%, and 82.9% for P, R, mAP0.5, and mAP0.5:0.95, respectively. Compared with the original YOLOv11n-seg, the model achieves a 1.8% improvement in mAP0.5:0.95, reduces the number of parameters by 10.2%, and maintains a real-time inference speed of 34.8 FPS on the Jetson Xavier NX using TensorRT acceleration. Ablation studies validate the effectiveness of the four-module synergistic optimization, with C2_FSAS and DySample contributing most significantly to the mAP improvement. Moreover, the model exhibits enhanced edge segmentation and category discrimination capabilities. Overall, the results demonstrate that Improved YOLOv11n-seg achieves high accuracy and real-time performance, exhibits superior robustness compared to other models, and provides reliable technical support for intelligent impurity rate detection and edge deployment in mechanically harvested sugarcane.
Keywords: deep learning, impurity detection, Instance segmentation, Lightweight, sugarcane, YOLOv11
Received: 13 Nov 2025; Accepted: 26 Jan 2026.
Copyright: © 2026 He, Zhou, Chen, Deng, Feng, Li, Cui, Zheng, Li, Yan, Qin, Wang, Dai and Liu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Pinlan Chen
Shaobo Feng
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
