基于改进YOLO 12的复杂环境红花轻量化识别方法OA
Lightweight Safflower Recognition Method Based on Improved YOLO 12 for Complex Environments
针对田间光照变化和枝叶花丝重叠遮挡等复杂背景干扰下红花识别发生漏检、识别准确度低及模型体积过大不利于边缘设备部署等问题,提出了一种基于 YOLO 12 改进的轻量化网络结构 LNSR(Lightweight network for safflower recognition).首先设计了 HEP-DSF(Heterogeneous edge-pooling dual-stream fusion module)异构边缘-池化双流融合模块,增强网络在初始阶段对红花边缘和纹理信息的提取能力,提高识别准确度;然后构建了 TriCAFusion(Triple cooperative adaptive fusion module)三重协同自适应融合模块,增强模型对目标关键特征表征能力,降低漏检概率;再次引入 AdaPool(Adaptive neighborhood pooling for down sampling module)自适应邻域池化下采样模块,增强模型对光照变化和遮挡场景的鲁棒性;最后开发 LSBNet(Lightweight shared-BN network)轻量化共享卷积-分离 BN网络检测头,降低模型复杂度,提高模型在边缘设备部署能力.试验结果表明,LNSR 在红花数据集上参数量仅1.72×106,较 YOLO 12 降低31.5%,模型内存占用量为4.4 MB,较 YOLO 12 降低1.1 MB,mAP50 达98.9%,召回率98.3%,较 YOLO 12 分别提升1.4、1.0 个百分点.将 LNSR 泛化至菊花数据集,参数量仅 1.63×106,模型内存占用量为4.4 MB,mAP50 达97.0%,较 YOLO 12 提升5.9 个百分点,通过热力图验证其对花瓣边缘与花蕊纹理的精准聚焦和表征能力,部署于边缘设备 Jetson 实时帧率达到30 f/s.结果表明,LNSR 通过四模块协同创新,实现精度、轻量化较优平衡,为红花选择性采收方式提供了高效可靠的视觉识别方案.
Aiming to address the challenges of missed detection,low recognition accuracy caused by complex field conditions such as varying lighting and occlusion by overlapping branches and filaments,as well as the difficulty in deploying large models on edge devices,lightweight network for safflower recognition(LNSR),an improved lightweight network structure was proposed based on YOLO 12.Specifically,the heterogeneous edge-pooling dual-stream fusion module(HEP-DSF)was designed to enhance the network's ability to extract edge and texture information in the early stage,thereby improving recognition accuracy.The triple cooperative adaptive fusion module(TriCAFusion)was constructed to strengthen the model's representation of key target features and reduce the probability of missed detection.The adaptive neighborhood pooling for down sampling module(AdaPool)was introduced to improve the model's robustness to lighting variations and occluded scenes.Furthermore,the lightweight shared-BN network(LSBNet)detection head was developed to reduce model complexity and improve deployment efficiency.Experimental results on the safflower dataset showed that LNSR achieved only 1.72×106 parameters,a reduction of 31.5%compared with that of YOLO 12,with a model size of 4.4 MB(1.1 MB smaller).It also reached an mAP50 of 98.9%and a recall rate of 98.3%,representing improvements of 1.4 and 1.0 percentage points,respectively.When generalized to the chrysanthemum dataset,LNSR achieved 1.63×106 parameters,a model size of 4.4 MB,and an mAP50 of 97.0%,which was 5.9 percentage points higher than that of YOLO 12.Heatmap validation confirmed its precise focus and characterization ability on petal edges and stamen textures.Deployed on the Jetson edge device,it achieved a real-time frame rate of 30 f/s.It demonstrated that through the collaborative innovation of the four modules,LNSR achieved an optimal balance between accuracy and lightweight design,providing an efficient and reliable visual recognition solution for selective harvesting of safflower.
王超;于海洋;张小栋;李晓娟;罗秀芝;程义锋
新疆大学机械工程学院,乌鲁木齐 830017||新疆农牧机器人及智能装备工程研究中心,乌鲁木齐 830017新疆大学机械工程学院,乌鲁木齐 830017||新疆农牧机器人及智能装备工程研究中心,乌鲁木齐 830017西安交通大学机械工程学院,西安 710049新疆大学机械工程学院,乌鲁木齐 830017||新疆农牧机器人及智能装备工程研究中心,乌鲁木齐 830017新疆大学机械工程学院,乌鲁木齐 830017||新疆农牧机器人及智能装备工程研究中心,乌鲁木齐 830017新疆大学机械工程学院,乌鲁木齐 830017||新疆农牧机器人及智能装备工程研究中心,乌鲁木齐 830017
农业科技
红花YOLO 12目标检测深度学习轻量化
safflowerYOLO 12object detectiondeep learninglightweight
《农业机械学报》 2026 (13)
176-186,11
国家自然科学基金项目(32301717)和自治区"天池英才"青年博士人才项目(51052501537)
评论