Design of a Machine Vision Detection System for Lettuce Growth Stages Based on the CCASF-YOLOv10 Model
Abstract
1. Introduction
- (1)
- Lettuce Seedling and Pest Detection
- (2)
- Lettuce Growth Parameter Measurement
- (3)
- Lettuce Growth Stage Subdivision Detection
- (4)
- Comparative Analysis of Existing Studies and Research Gaps
2. Materials and Methods
2.1. Lettuce Growth Stage Dataset
2.2. Data Collection During the Growth Stage of Lettuce
2.3. A Lettuce Growth Stage Monitoring Model Based on Improved CCASF-YOLOv10
2.4. Improved C2f_CNCM Module
2.5. ASF_Attention
2.6. Experimental Environment and Parameters
2.7. Evaluation Index
2.8. System Design of Lettuce Growth Stage Detection
2.8.1. System Workflow
2.8.2. System Functional Module Division
2.8.3. System Implementation Environment & Technical Framework
3. Results and Discussions
3.1. Performance Between CCASF-YOLOv10 and Other Models
3.2. Test Experiments
3.3. Ablation Experiments
3.4. Confusion Matrix and Error Analysis
3.5. Functional Testing
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Barisik Marasli, D.; Colak Gunes, N.; Tavman, S. A comprehensive review of solar photovoltaic hybrid food drying systems. Crit. Rev. Food Sci. Nutr. 2022, 62, 4152–4168. [Google Scholar] [CrossRef]
- Niu, S.Q.; Xu, X.L.; Liang, A.; Yun, Y.L.; Li, L.; Hao, F.Q. Research on a lightweight method for maize seed quality detection based on improved YOLOv8. IEEE Access 2024, 12, 32927–32937. [Google Scholar] [CrossRef]
- Li, Y.; Xue, C.Y.; Yang, X.G.; Wang, J.; Liu, Y.; Wang, E.L. Reduction of yield risk of winter wheat by appropriate irrigation based on APSIM model. Trans. Chin. Soc. Agric. Eng. 2009, 25, 35–44. [Google Scholar] [CrossRef]
- Li, Z.B.; Li, Y.; Yang, Y.B.; Guo, R.H.; Yang, J.Q.; Yue, J.; Wang, Y.Z. A high-precision detection method of hydroponic lettuce seedlings status based on improved Faster RCNN. Comput. Electron. Agric. 2021, 182, 106054. [Google Scholar] [CrossRef]
- Wang, Y.D.; Wu, M.G.; Shen, Y.D. Identifying the growth status of hydroponic lettuce based on YOLO-efficientNet. Plants 2024, 13, 372. [Google Scholar] [CrossRef]
- Zhao, Y.Q.; Zhang, X.D.; Sun, J.J.; Yu, T.T.; Cai, Z.Y.; Zhang, Z.; Mao, H. Low-cost lettuce height measurement based on depth vision and lightweight instance segmentation model. Agriculture 2024, 14, 1596. [Google Scholar] [CrossRef]
- Liu, H.B.; Zhang, P.; Zheng, J.S. An intelligent method and platform for obtaining lettuce canopy coverage. Front. Plant Sci. 2026, 17, 1749000. [Google Scholar] [CrossRef] [PubMed]
- Zhang, P.; Li, D.L. CBAM+ ASFF-YOLOXs: An improved YOLOXs for guiding agronomic operation based on the identification of key growth stages of lettuce. Comput. Electron. Agric. 2022, 203, 107491. [Google Scholar] [CrossRef]
- Zhang, P.; Li, D.L. YOLO-VOLO-LS: A novel method for variety identification of early lettuce seedlings. Front. Plant Sci. 2022, 13, 806878. [Google Scholar] [CrossRef]
- Zhang, J.; Yang, W.Z.; Lu, Z.F.; Chen, D. HR-YOLOv8: A Crop Growth Status Object Detection Method Based on YOLOv8. Electronics 2024, 13, 1620. [Google Scholar] [CrossRef]
- Zhu, F.L.; Yan, S.; Sun, L.; He, M.Z.; Zheng, Z.W.; Qiao, X. Estimation method of lettuce phenotypic parameters using deep learning multi-source data fusion. Trans. Chin. Soc. Agric. Eng. 2022, 38, 195–204. [Google Scholar] [CrossRef]
- Fang, C.; Yang, X. Lightweight YOLOv8 for wheat head detection. IEEE Access 2024, 12, 66214–66222. [Google Scholar] [CrossRef]
- Li, T.; Ren, L.; Hu, B.; Wang, S.; Zhao, M.; Zhang, Y.Q.; Yang, M. Grading detection of tomato hole-pan seedlings using improved YOLOv5s and transfer learning. Trans. Chin. Soc. Agric. Eng. 2023, 39, 174–184. [Google Scholar] [CrossRef]
- Wang, H.Z.; Sun, L.C.; Li, X.L.; Liu, H.T.; Wang, G.B.; Lan, Y.B. Detecting tomato leaf pests and diseases using improved YOLOv7-tiny. Trans. Chin. Soc. Agric. Eng. 2024, 40, 194–202. [Google Scholar] [CrossRef]
- Wang, A.; Chen, H.; Liu, L. Yolov10: Real-time end-to-end object detection. Adv. Neural Inf. Process. Syst. 2024, 37, 107984–108011. [Google Scholar]
- Yuan, S.; Qin, H.; Yan, X. ASCNet: Asymmetric sampling correction network for infrared image destriping. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5001815. [Google Scholar] [CrossRef]
- Kang, M.; Ting, C.M.; Ting, F.F. ASF-YOLO: A novel YOLO model with attentional scale sequence fusion for cell instance segmentation. Image Vis. Comput. 2024, 147, 105057. [Google Scholar] [CrossRef]
- Xu, B.; Chai, L.; Zhang, C. Research and application on corn crop identification and positioning method based on Machine vision. Inf. Process. Agric. 2023, 10, 106–113. [Google Scholar] [CrossRef]
- Zhen, Y.Y.; Liu, P.; Jin, Y.C.; Yang, G.H. Grape leaf disease detection and identification based on improved YOLOv8. Trans. Chin. Soc. Agric. Eng. 2025, 41, 148–154. [Google Scholar] [CrossRef]
- Peng, X.; Zhou, J.P.; Xu, Y.; Xi, G.Z. Cotton top bud recognition method based on YOLOv5-CPP in complex environment. Trans. Chin. Soc. Agric. Eng. 2023, 39, 191–197. [Google Scholar] [CrossRef]
- Shi, Y.; Wang, Y.K.; Wang, F.; Qing, S.H.; Zhao, L.; Yuwen, X.C. Recognizing young apples using improved YOLOv8n. Trans. Chin. Soc. Agric. Eng. 2025, 41, 204–210. [Google Scholar] [CrossRef]
- Zhu, M.; Wang, H.; Meng, Y. Lightweight multiview mask contrastive network for small-sample hyperspectral image classification. In Proceedings of the Chinese Conference on Pattern Recognition and Computer Vision (PRCV), Xiamen, China, 13–15 October 2023; pp. 478–490. [Google Scholar]
- Jocher, G. YOLOv5 by Ultralytics, Version 7.0, Computer Software: Chalfont, PA, USA, 2020.
- Wang, C.Y.; Bochkovskiy, A.; Liao, H.Y.M. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 18–22 June 2023; pp. 7464–7475. [Google Scholar]
- Sohan, M.; Sai Ram, T.; Rami Reddy, C.V. A review on yolov8 and its advancements. In Proceedings of the International Conference on Data Intelligence and Cognitive Informatics; Springer: Singapore, 2024; pp. 529–545. [Google Scholar]
- Khanam, R.; Hussain, M. Yolov11: An overview of the key architectural enhancements. Comput. Vis. Pattern Recognit. 2024, 17725. [Google Scholar] [CrossRef]
- Malabanan, J.A.B.; Buenventura, V.A.N.; Domondon, J.Y.F. Growth Stage Classification on Lettuce Cultivars Using Deep Learning Models. In Proceedings of the 2024 IEEE International Conference on Imaging Systems and Techniques (IST); IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar]









| Reference | Research Content | Method | Dataset | Results | Limitations |
|---|---|---|---|---|---|
| Li et al. [4] | Lettuce seedling state detection | Improved Faster R-CNN | Hydroponic lettuce seedling dataset | mAP = 86.2%, outperforms RetinaNet/SSD | Two-stage algorithm, large parameters, slow inference, no field deployment |
| Wang et al. [5] | Lettuce pest and disease identification | YOLOv8n+EfficientNet-v2s | Hydroponic lettuce health status dataset | Test accuracy = 94.68%, F1 = 96.18% | Only 3 general states, no growth stage subdivision, poor generalization to soil cultivation |
| Zhao et al. [6] | Lettuce height measurement | Lightweight YOLOv8n segmentation | Hydroponic/potted lettuce dataset | Hydroponic accuracy = 94.339%, potted accuracy = 91.22% | Sensitive to light, low soil cultivation accuracy, single parameter measurement |
| Liu et al. [7] | Lettuce canopy coverage evaluation | CAS PSPNet/MobileNetv3 PSPNet | Lettuce canopy dataset | MIoU = 0.9832/0.9717, model size = 9.3 M | Single parameter, no full growth stage detection, only static image analysis |
| Zhang et al. [8] | Lettuce growth stage identification | CBAM+ASFF-YOLOXs | Lettuce key growth stage dataset | mAP = 99.04%, higher than original YOLOXs | Large parameter size, no edge device deployment |
| Zhang et al. [9] | Early lettuce seedling variety recognition | YOLO-VOLO-LS | Lettuce seedling SP stage dataset | mAP = 99.04%, higher than original YOLOXs | Only covers early growth stage, no full growth cycle detection |
| Zhang et al. [10] | Crop growth status detection | HR-YOLOv8 | Oil palm/strawberry dataset | mAP = 99.04%, higher than original YOLOXs | No optimization for lettuce morphological characteristics, poor complex background adaptability |
| Type | Growth Stage | Figure |
|---|---|---|
| Empty shell stage | No significant changes have occurred at this stage | ![]() |
| Pod setting stage | Breaking through the seed coat and growing downwards to form the main root | ![]() |
| Germination stage | The cotyledons are fully unfolded, and the true leaves begin to grow | ![]() |
| Seedling stage | After the seeds absorb water, their internal physiological activities gradually become active | ![]() |
| Mature and harvestable | Its edible parts have reached their optimal harvesting state | ![]() |
| Type | Training Set | Test Set | Validation Set |
|---|---|---|---|
| Empty shell stage | 4143 | 646 | 1133 |
| Pod setting stage | 2531 | 337 | 726 |
| Germination stage | 4652 | 631 | 1321 |
| Seedling stage | 1100 | 182 | 311 |
| Mature and harvestable | 1387 | 246 | 376 |
| Model | P/% | R/% | mAP@0.5/% | mAP@0.5:0.95/% | Parameters/×106 M | GFLOPs | Inference Speed (ms) |
|---|---|---|---|---|---|---|---|
| YOLOv5 | 96.1 | 89.7 | 94.2 | 64.6 | 7.2 | 16.5 | 13.0 |
| YOLOv7 | 92.0 | 92.7 | 95.5 | 70.9 | 8.2 | 36.8 | 13.8 |
| YOLOv8 | 91.3 | 88.7 | 94.6 | 71.5 | 11.3 | 28.4 | 12.3 |
| YOLOv10 | 91.5 | 90.0 | 94.5 | 72.2 | 12.9 | 21.4 | 18.1 |
| YOLOv11 | 92.5 | 92.5 | 94.7 | 72.1 | 7.2 | 21.3 | 17.5 |
| CCASF-YOLOv10 | 91.9 ** | 91.6 ** | 95.3 ** | 72.9 ** | 11.9 | 32.8 | 24.8 |
| CNCM | ASF | P/% | R/% | mAP@0.5/% | mAP@0.5:0.95/% | Parameters/×106 M | GFLOPs | Inference Speed (ms) |
|---|---|---|---|---|---|---|---|---|
| × | × | 91.5 | 90.0 | 94.5 | 72.2 | 7.2 | 21.4 | 25.1 |
| × | √ | 93.2 * | 89.4 | 95.1 * | 72.5 * | 7.8 | 23.8 | 26.6 |
| √ | × | 92.1 | 91.0 * | 94.8 | 72.6 * | 8.3 | 27.6 | 26.5 |
| √ | √ | 91.9 ** | 91.6 ** | 95.3 ** | 72.9 ** | 8.9 | 29.8 | 27.8 |
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. |
© 2026 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.
Share and Cite
Gao, Q.; Ji, Y.; Shi, C.; Wang, M. Design of a Machine Vision Detection System for Lettuce Growth Stages Based on the CCASF-YOLOv10 Model. Horticulturae 2026, 12, 379. https://doi.org/10.3390/horticulturae12030379
Gao Q, Ji Y, Shi C, Wang M. Design of a Machine Vision Detection System for Lettuce Growth Stages Based on the CCASF-YOLOv10 Model. Horticulturae. 2026; 12(3):379. https://doi.org/10.3390/horticulturae12030379
Chicago/Turabian StyleGao, Qiang, Yu Ji, Chongchong Shi, and Meili Wang. 2026. "Design of a Machine Vision Detection System for Lettuce Growth Stages Based on the CCASF-YOLOv10 Model" Horticulturae 12, no. 3: 379. https://doi.org/10.3390/horticulturae12030379
APA StyleGao, Q., Ji, Y., Shi, C., & Wang, M. (2026). Design of a Machine Vision Detection System for Lettuce Growth Stages Based on the CCASF-YOLOv10 Model. Horticulturae, 12(3), 379. https://doi.org/10.3390/horticulturae12030379






