Continuous Picking Path Planning Based on Lightweight Marigold Corollas Recognition in the Field
Abstract
1. Introduction
- (1)
- To enhance target recognition in the YOLOv11n model, we propose enhancements to the core C3k2 module, integrating an edge enhancement mechanism and a multi-scale fusion strategy. This improves extraction and fusion of multi-scale edge features in natural scenes.
- (2)
- To optimize model deployment efficiency, this study proposes a compression strategy integrating structured pruning and knowledge distillation. This approach significantly reduces model parameters and complexity while maintaining recognition accuracy, achieving efficient compression performance co-optimization.
- (3)
- Leveraging the real-time flower recognition generated by our compressed YOLOv11n model as dynamic occupancy priors, we further propose an improved ant colony algorithm. This approach reduces the time to find optimal paths and significantly enhances harvesting efficiency.
2. Materials and Methods
2.1. Collection and Preparation of Marigold Data
2.2. Method Overview
2.3. Improvements of the YOLOv11n Mode
2.3.1. Lightweight Module C3k2-MSEE
2.3.2. Model Pruning
2.3.3. Model Distillation
2.4. Path Planning
2.5. Experimental Environment and Parameter Settings
2.6. Model Evaluation Indicators
3. Results and Analysis
3.1. Evaluation of Training Results
3.2. Comparative Experiments Among Different Models
3.3. Ablation Experiment
3.4. Path Planning Results
4. Discussion
5. Conclusions
- (1)
- The proposed MDP-YOLO model demonstrates significant advantages in achieving both a lightweight architecture and enhanced recognition performance. Compared with the YOLOv11n baseline, MDP-YOLO achieves a substantial reduction in model size (59.6%) and parameter count (67.7%), with computational complexity of only 3.1 GFLOPs. In terms of recognition performance, the accuracy rate has increased by 1.2%, the mAP has improved by 0.6%, and the recall rate has only slightly decreased by 0.1%. Furthermore, MDP-YOLO achieves a smaller model size than other prominent lightweight YOLO variants, including YOLOv5n (5.3 MB), YOLOv6n (8.7 MB), YOLOv8n (6.3 MB), YOLOv9s (15.2 MB), and YOLOv10n (5.2 MB). This compact size makes it particularly well-suited for deployment on resource-constrained edge devices.
- (2)
- An efficient picking-path planning method was developed. The basic ant colony algorithm was enhanced with an adaptive parameter-adjustment mechanism and an improved pheromone-update strategy, enabling rapid path-planning based on identified marigold positions and providing guidance for subsequent robotic arm harvesting. Under identical conditions, the improved algorithm required only 2.20 s to generate the optimal picking path, substantially shorter than the 18.96 s required by the original algorithm, thereby markedly improving picking efficiency.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Parklak, W.; Ounjaijean, S.; Kulprachakarn, K.; Boonyapranai, K. In vitro α-amylase and α-glucosidase inhibitory effects, antioxidant activities, and lutein content of nine different cultivars of marigold flowers (Tagetes spp.). Molecules 2023, 28, 3314. [Google Scholar] [CrossRef]
- Zhang, Z.; Zeng, C.; Xing, Z.; Xu, P.; Guo, Q.; Shi, R.; Wang, Y. Discrete element modeling and parameter calibration of safflower biomechanical properties. Int. J. Agric. Biol. Eng. 2024, 17, 37–46. [Google Scholar] [CrossRef]
- Yang, Q.; Chang, C.; Bao, G.; Fan, J.; Xun, Y. Recognition and localization system of the robot for harvesting Hangzhou White Chrysanthemums. Int. J. Agric. Biol. Eng. 2018, 11, 88–95. [Google Scholar] [CrossRef]
- Xing, Z.; Zhang, Z.; Shi, R.; Guo, Q.; Zeng, C. Filament-necking localization method via combining improved PSO with rotated rectangle algorithm for safflower-picking robots. Comput. Electron. Agric. 2023, 215, 108464. [Google Scholar] [CrossRef]
- Ma, B.; Xia, H.; Ge, Y.; Zhang, H.; Wu, Z.; Li, M.; Wang, D. A Method for Identifying Picking Points in Safflower Point Clouds Based on an Improved PointNet++ Network. Agronomy 2025, 15, 1125. [Google Scholar] [CrossRef]
- Xing, Z.Y.; Zhang, Z.G.; Wang, Y.Z.; Xu, P.; Guo, Q.F.; Zeng, C.; Shi, R.M. SDC-DeepLabv3+: Lightweight and Precise Localization Algorithm for Safflower-Harvesting Robots. Plant Phenomics 2024, 6, 0194. [Google Scholar] [CrossRef]
- Zhang, H.; Ge, Y.; Xia, H.; Sun, C. Safflower picking points localization method during the full harvest period based on SBP-YOLOv8s-seg network. Comput. Electron. Agric. 2024, 227, 109646. [Google Scholar] [CrossRef]
- Qi, C.; Chang, J.; Zhang, J.; Zuo, Y.; Ben, Z.; Chen, K. Medicinal Chrysanthemum Detection under Complex Environments Using the MC-LCNN Model. Plants 2022, 11, 838. [Google Scholar] [CrossRef]
- Bai, Y.F.; Yu, J.Z.; Yang, S.Q.; Ning, J.F. An improved YOLO algorithm for detecting flowers and fruits on strawberry seedlings. Biosyst. Eng. 2024, 237, 1–12. [Google Scholar] [CrossRef]
- Park, H.-M.; Park, J.-H. YOLO Network with a Circular Bounding Box to Classify the Flowering Degree of Chrysanthemum. Agriengineering 2023, 5, 1530–1543. [Google Scholar] [CrossRef]
- Zhao, W.; Wu, D.; Zheng, X. Detection of Chrysanthemums Inflorescence Based on Improved CR-YOLOv5s Algorithm. Sensors 2023, 23, 4234. [Google Scholar] [CrossRef]
- Qi, C.; Gao, J.; Pearson, S.; Harman, H.; Chen, K.; Shu, L. Tea chrysanthemum detection under unstructured environments using the TC-YOLO model. Expert Syst. Appl. 2022, 193, 116473. [Google Scholar] [CrossRef]
- Shang, Y.Y.; Xu, X.S.; Jiao, Y.T.; Wang, Z.; Hua, Z.X.; Song, H.B. Using lightweight deep learning algorithm for real-time detection of apple flowers in natural environments. Comput. Electron. Agric. 2023, 207, 107765. [Google Scholar] [CrossRef]
- Chen, B.; Ding, F.; Ma, B.; Wang, L.; Ning, S. A method for real-time recognition of safflower filaments in unstructured environments using the YOLO-SaFi model. Sensors 2024, 24, 4410. [Google Scholar] [CrossRef] [PubMed]
- Zhang, Z.; Wang, Y.; Xu, P.; Shi, R.; Xing, Z.; Li, J. WED-YOLO: A Detection Model for Safflower Under Complex Unstructured Environment. Agriculture 2025, 15, 205. [Google Scholar] [CrossRef]
- Fatehi, F.; Bagherpour, H.; Parian, J.A. Enhancing the Performance of YOLOv9t Through a Knowledge Distillation Approach for Real-Time Detection of Bloomed Damask Roses in the Field. Smart Agric. Technol. 2025, 10, 100794. [Google Scholar] [CrossRef]
- Lyu, S.; Zhao, Y.W.; Liu, X.Y.; Li, Z.; Wang, C.; Shen, J.Y. Detection of Male and Female Litchi Flowers Using YOLO-HPFD Multi-Teacher Feature Distillation and FPGA-Embedded Platform. Agronomy 2023, 13, 987. [Google Scholar] [CrossRef]
- Fan, Y.; Tohti, G.; Geni, M.; Zhang, G.; Yang, J. A marigold corolla detection model based on the improved YOLOv7 lightweight. Signal Image Video Process. 2024, 18, 4703–4712. [Google Scholar] [CrossRef]
- Zhang, H.; Ge, Y.; Sun, C.; Zeng, H.; Liu, N. Picking path planning method of dual rollers type safflower picking robot based on improved ant colony algorithm. Processes 2022, 10, 1213. [Google Scholar] [CrossRef]
- Wu, M.; Gao, B.; Hu, H.; Hong, K. Research on path planning of tea picking robot based on ant colony algorithm. Meas. Control. 2024, 57, 1051–1067. [Google Scholar] [CrossRef]
- Wang, G.; Zhao, Y.; Wang, Z.; Zhang, Y. Tea Picking Path Planning Based on Ant Colony Algorithm. In Proceedings of the 2022 41st Chinese Control Conference (CCC), Hefei, China, 25–27 July 2022; pp. 1945–1950. [Google Scholar]
- Liu, J.; Fan, X.; Jiang, J.; Liu, R.; Luo, Z. Learning a deep multi-scale feature ensemble and an edge-attention guidance for image fusion. IEEE Trans. Circuits Syst. Video Technol. 2021, 32, 105–119. [Google Scholar] [CrossRef]
- Liu, B.; Cai, Y.; Guo, Y.; Chen, X. Transtailor: Pruning the pre-trained model for improved transfer learning. In Proceedings of the AAAI conference on Artificial Intelligence, Virtual, 11–15 October 2021; pp. 8627–8634. [Google Scholar]
- Lee, J.; Park, S.; Mo, S.; Ahn, S.; Shin, J. Layer-adaptive sparsity for the magnitude-based pruning. arXiv 2020, arXiv:2010.07611. [Google Scholar]
- Peng, B.; Jin, X.; Liu, J.; Li, D.; Wu, Y.; Liu, Y.; Zhou, S.; Zhang, Z. Correlation congruence for knowledge distillation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 5007–5016. [Google Scholar]
- Li, C.; Ma, W.; Liu, F.; Fang, B.; Lu, H.; Sun, Y. Recognition of citrus fruit and planning the robotic picking sequence in orchards. Signal Image Video Process. 2023, 17, 4425–4434. [Google Scholar] [CrossRef]
- Zhang, Y.; Guo, Z.; Wu, J.; Tian, Y.; Tang, H.; Guo, X. Real-time vehicle detection based on improved yolo v5. Sustainability 2022, 14, 12274. [Google Scholar] [CrossRef]
- Liu, Q.; Huang, W.; Duan, X.; Wei, J.; Hu, T.; Yu, J.; Huang, J. DSW-YOLOv8n: A new underwater target detection algorithm based on improved YOLOv8n. Electronics 2023, 12, 3892. [Google Scholar] [CrossRef]
- Yaseen, M. What is YOLOv9: An in-depth exploration of the internal features of the next-generation object detector. arXiv 2024, arXiv:2409.07813. [Google Scholar]
- Huang, Y.; Liu, Z.; Zhao, H.; Tang, C.; Liu, B.; Li, Z.; Wan, F.; Qian, W.; Qiao, X. YOLO-YSTs: An improved YOLOv10n-based method for real-time field pest detection. Agronomy 2025, 15, 575. [Google Scholar] [CrossRef]
- Wu, D.; Lv, S.; Jiang, M.; Song, H. Using channel pruning-based YOLO v4 deep learning algorithm for the real-time and accurate detection of apple flowers in natural environments. Comput. Electron. Agric. 2020, 178, 105742. [Google Scholar] [CrossRef]
- Fan, L.; Li, L.; Ma, Z.; Lee, S.; Yu, H.; Hemphill, L. A bibliometric review of large language models research from 2017 to 2023. ACM Trans. Intell. Syst. Technol. 2024, 15, 1–25. [Google Scholar] [CrossRef]
Model | P (%) | R (%) | mAP@0.5 (%) | Model Size (MB) | Parameters | GFLOPs |
---|---|---|---|---|---|---|
YOLOv5n | 87.4 | 87.1 | 94.4 | 5.3 | 2,503,139 | 7.1 |
YOLOv6n | 87.8 | 87.2 | 94.4 | 8.7 | 4,233,843 | 11.8 |
YOLOv8n | 88.3 | 85.8 | 94.3 | 6.3 | 3,005,843 | 8.1 |
YOLOv9s | 89.0 | 85.2 | 94.3 | 15.2 | 7,167,475 | 26.7 |
YOLOv10n | 87.2 | 86.3 | 94.3 | 5.2 | 2,265,363 | 6.5 |
YOLOv11n | 88.6 | 86.2 | 94.5 | 5.2 | 2,582,347 | 6.3 |
Baseline Model | MSEE | Prune | Distill | P (%) | R (%) | mAP@0.5 (%) | Model Size (MB) | Parameters | GFLOPs |
---|---|---|---|---|---|---|---|---|---|
YOLOv11n | × | × | × | 88.6 | 86.2 | 94.5 | 5.2 | 2,582,347 | 6.3 |
YOLOv11n | √ | × | × | 88.1 | 87.3 | 94.8 | 5.3 | 2,530,531 | 6.3 |
YOLOv11n | √ | √ | × | 86.6 | 88.1 | 94.7 | 2.1 | 835,336 | 3.1 |
YOLOv11n | √ | √ | √ | 89.8 | 86.1 | 95.1 | 2.1 | 835,336 | 3.1 |
Algorithm | Average Path Length/Pixel | Average Running Time/s | Optimal Path Length/Pixels |
---|---|---|---|
PSO | 9728.42 | 35.42 | 9557.70 |
GA | 9557.70 | 32.02 | 9557.70 |
ACO | 9557.70 | 18.96 | 9557.70 |
Algorithm | Average Path Length/Pixel | Average Running Time/s | Optimal Path Length/Pixels |
---|---|---|---|
Basic ACO | 9557.70 | 18.96 | 9557.70 |
Improved ACO | 9557.70 | 2.20 | 9557.70 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ma, B.; Wu, Z.; Ge, Y.; Chen, B.; Lin, J.; Zhang, H.; Xia, H. Continuous Picking Path Planning Based on Lightweight Marigold Corollas Recognition in the Field. Biomimetics 2025, 10, 648. https://doi.org/10.3390/biomimetics10100648
Ma B, Wu Z, Ge Y, Chen B, Lin J, Zhang H, Xia H. Continuous Picking Path Planning Based on Lightweight Marigold Corollas Recognition in the Field. Biomimetics. 2025; 10(10):648. https://doi.org/10.3390/biomimetics10100648
Chicago/Turabian StyleMa, Baojian, Zhenghao Wu, Yun Ge, Bangbang Chen, Jijing Lin, He Zhang, and Hao Xia. 2025. "Continuous Picking Path Planning Based on Lightweight Marigold Corollas Recognition in the Field" Biomimetics 10, no. 10: 648. https://doi.org/10.3390/biomimetics10100648
APA StyleMa, B., Wu, Z., Ge, Y., Chen, B., Lin, J., Zhang, H., & Xia, H. (2025). Continuous Picking Path Planning Based on Lightweight Marigold Corollas Recognition in the Field. Biomimetics, 10(10), 648. https://doi.org/10.3390/biomimetics10100648