基于YOLOv11-ACW的野外中草药目标检测研究OA
Research on Wild Chinese Herbal Medicine Target Detection Based on YOLOv11-ACW
目的 融合轻量化特征增强技术与目标检测算法优化理念,系统解决野外中草药检测中背景杂乱、小目标特征弱、植株遮挡易漏检的问题.方法 自建数据集,以YOLOv11n为基线构建YOLOv11-ACW模型,采用轻量化多尺度注意力L-AIFI模块替换SPPF结构,增强多尺度特征建模与复杂背景下的目标提取能力;设计CA-Wavelet Pool小波池化单元,融合坐标注意力与频域分析特性,在降采样中保留细节并抑制背景噪声;引入CARAFE上采样优化颈部网络,动态恢复边缘纹理,缓解传统上采样导致的特征失真.结果 基于自建中草药数据集开展实验,改进算法YOLOv11-ACW的mAP@0.5达83.8%,较基线YOLOv11n提升2.7%;GPU端推理速度为242 FPS,模型参数量仅2.78 M;嵌入式平台部署后推理速度达46 FPS且精度无明显损失.结论 基于YOLOv11-ACW的改进算法在精度、轻量化与实时性间取得良好平衡,可有效解决野外中草药检测难点,满足实际场景实时检测需求.
Objective To systematically address the challenges in wild Chinese herbal medicine detection,including cluttered backgrounds,weak features of small targets,and missed detection due to plant occlusion,this work integrates lightweight feature enhancement techniques with optimization concepts for target detection algorithms.Methods Using a self-built dataset,the YOLOv11-ACW model is constructed based on the YOLOv11n baseline.Specifically,the lightweight multi-scale attention module L-AIFI replaces the SPPF structure to enhance multi-scale feature modeling and target extraction capability in complex backgrounds.A novel CA-Wavelet Pool wavelet pooling unit is designed,which combines coordinate attention with frequency-domain analysis to preserve fine details while suppressing background noise during downsampling.In addition,CARAFE upsampling is introduced to optimize the neck network,dynamically restoring edge textures and alleviating feature distortion caused by conventional upsampling operations.Results Experiments are conducted on the self-built Chinese herbal medicine dataset.The improved YOLOv11-ACW algorithm achieves an mAP@0.5 of 83.8%,representing a 2.7%improvement over the YOLOv11n baseline.The GPU inference speed reaches 242 FPS with only 2.78 M parameters.After deployment on an embedded platform,the inference speed maintains 46 FPS without significant accuracy loss.Conclusion The improved algorithm based on YOLOv11-ACW achieves an excellent balance among detection accuracy,lightweight design,and real-time performance.It can effectively address the key difficulties in wild Chinese herbal medicine detection and meet the requirements for real-time detection in practical scenarios.
李江东;于海峰;田立茹;刘怡涵
华北理工大学,河北 唐山 063210华北理工大学,河北 唐山 063210华北理工大学,河北 唐山 063210华北理工大学,河北 唐山 063210
中草药目标检测YOLOv11n医工融合小波池化特征融合嵌入式实时检测
Chinese herbal medicine target detectionYOLOv11nMedicine-engineering integrationWavelet poolingFeature fusionEmbedded real-time detection
《中医药信息》 2026 (9)
23-33,11
河北省自然科学基金项目(D2024209006)河北省教育厅科学研究项目(QN2024147)河北省大学生创新创业计划项目(S202510081014)
评论