Xiangying Xu , Jing Jin , Li Xu , Zijian Zheng , Yonglong Zhang , Zhiping Zhang
{"title":"A semi-supervised method for detecting female cucumber flowers in greenhouses based on unmanned aerial vehicle images","authors":"Xiangying Xu , Jing Jin , Li Xu , Zijian Zheng , Yonglong Zhang , Zhiping Zhang","doi":"10.1016/j.compag.2025.111009","DOIUrl":null,"url":null,"abstract":"<div><div>Flower quantity and the flowering time often serve as<!--> <!-->reliable indicators of the growth and nutritional status of the cucumber plants. In particular, the number of female flowers reflects the yield potential of the cucumber crops. Therefore,<!--> <!-->timely identification and accurate counting of female flowers are important measures in cucumber cultivation. In order to satisfy the practical detection requirements, especially in the scenario of greenhouses with a high planting density, we have presented an efficient and accurate cucumber flower recognition framework MYTS (Mamba-YOLO based Teacher-Student model) in this research. A mini UAV (unmanned aerial vehicle) was used to enhance the convenience and efficiency of obtaining cucumber images. After data augmentation, we employed a three-stage deep learning pipeline to train our model, i.e. supervised learning, self-distillation, and semi-supervised learning. Experimental results demonstrate that the female flower detection of MYTS achieves precision, recall, and mAP values of 90.6%, 89.7%, and 95.2%, respectively. The mAP value outperforms leading models such as YOLO and Mamba-YOLO by 5.7% and 5.1%. The ablation experiments reveal that multiple attention mechanisms significantly improve the model performance during the stage 1 by 3.5% in mAP value. Additionally, compared to the original supervised model, the three-stage pipeline enhances the mAP values of all investigated models by 1.4% to 6.2%.<!--> <!-->Specifically, the MYTS model shows a 1.6% improvement over its supervised counterpart. In the future, further exploration<!--> <!-->should be conducted<!--> <!-->to apply the MYTS model in cucumber yield estimation.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"239 ","pages":"Article 111009"},"PeriodicalIF":8.9000,"publicationDate":"2025-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925011159","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Flower quantity and the flowering time often serve as reliable indicators of the growth and nutritional status of the cucumber plants. In particular, the number of female flowers reflects the yield potential of the cucumber crops. Therefore, timely identification and accurate counting of female flowers are important measures in cucumber cultivation. In order to satisfy the practical detection requirements, especially in the scenario of greenhouses with a high planting density, we have presented an efficient and accurate cucumber flower recognition framework MYTS (Mamba-YOLO based Teacher-Student model) in this research. A mini UAV (unmanned aerial vehicle) was used to enhance the convenience and efficiency of obtaining cucumber images. After data augmentation, we employed a three-stage deep learning pipeline to train our model, i.e. supervised learning, self-distillation, and semi-supervised learning. Experimental results demonstrate that the female flower detection of MYTS achieves precision, recall, and mAP values of 90.6%, 89.7%, and 95.2%, respectively. The mAP value outperforms leading models such as YOLO and Mamba-YOLO by 5.7% and 5.1%. The ablation experiments reveal that multiple attention mechanisms significantly improve the model performance during the stage 1 by 3.5% in mAP value. Additionally, compared to the original supervised model, the three-stage pipeline enhances the mAP values of all investigated models by 1.4% to 6.2%. Specifically, the MYTS model shows a 1.6% improvement over its supervised counterpart. In the future, further exploration should be conducted to apply the MYTS model in cucumber yield estimation.
开花数量和开花时间往往是黄瓜植株生长和营养状况的可靠指标。特别是雌花的数量反映了黄瓜作物的产量潜力。因此,及时鉴定和准确计数雌花是黄瓜栽培的重要措施。为了满足实际的检测需求,特别是在温室种植密度较高的场景下,本研究提出了一种高效准确的黄瓜花识别框架MYTS (Mamba-YOLO based Teacher-Student model)。为了提高黄瓜图像获取的方便性和效率,采用了一种小型无人机(UAV)。在数据增强之后,我们采用了三个阶段的深度学习管道来训练我们的模型,即监督学习、自蒸馏和半监督学习。实验结果表明,MYTS的雌花检测准确率为90.6%,召回率为89.7%,mAP值为95.2%。mAP值比YOLO和Mamba-YOLO等领先车型分别高出5.7%和5.1%。消融实验表明,多注意机制显著提高了模型在第一阶段的性能,mAP值提高了3.5%。此外,与原始监督模型相比,三级管道将所有研究模型的mAP值提高了1.4%至6.2%。具体来说,MYTS模型比有监督的模型提高了1.6%。未来,MYTS模型在黄瓜产量估算中的应用还需进一步探索。
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.