首页|期刊导航|包装与食品机械|基于频谱增强与跨域注意力的药品包装文本检测方法

基于频谱增强与跨域注意力的药品包装文本检测方法OA

Medicine packaging text detection method based on spectral enhancement and cross-dimensional attention

中文摘要英文摘要

针对智慧医疗场景中,药品包装文本检测面临的表面反光、微小字符密集及非平面形变等复杂干扰问题,提出一种基于频谱增强与跨域注意力的检测方法(ArcCRAFT).通过设计动态感受野自适应机制,利用梯度引导的空洞率路由策略,以增强模型对多尺度断裂文本的感知能力;构建谱特征增强器,利用离散傅里叶变换将空间特征映射至频域,抑制高频反光噪声并强化文本边缘特征;引入跨维度全域注意力机制,通过通道、空间与像素级特征的并行交互,提升对复杂纹理的解析能力.在PharmaBox数据集上的试验结果表明,ArcCRAFT模型的精确率、召回率和F1值分别达到91.1%,91.0%,91.0%,优于ISTD-DLA,PP-OCRv5-server等先进方法.研究为智慧药房的自动化配药,提供高鲁棒性的技术方案.

To address complex interference challenges in pharmaceutical packaging text detection within smart healthcare scenarios,such as surface reflections,dense tiny characters,and non-planar deformations,a detection method based on spectral enhancement and cross-domain attention,named ArcCRAFT,is proposed.A dynamic receptive field adaptation mechanism was designed,employing a gradient-guided dilation rate routing strategy to enhance the model's perception of multi-scale broken text.A spectral feature enhancer was constructed,utilizing discrete Fourier transform to map spatial features to the frequency domain,suppressing high-frequency reflective noise while strengthening text edge features.A cross-dimensional global attention mechanism was introduced,enabling parallel interaction of channel,spatial,and pixel-level features to improve the analysis capability for complex textures.Experimental results on the PharmaBox dataset demonstrate that the ArcCRAFT model achieves a precision of 91.1%,a recall of 91.0%,and an F1-score of 91.0%,outperforming advanced methods such as ISTD-DLA and PP-OCRv5-server.This research provides a highly robust technical solution for automated dispensing in smart pharmacies.

陈永辉;王文胜;黄民

北京信息科技大学 机电工程学院,北京 100192北京信息科技大学 机电工程学院,北京 100192||北京信息科技大学 现代测控技术教育部重点实验室,北京 100192北京信息科技大学 机电工程学院,北京 100192||北京信息科技大学 现代测控技术教育部重点实验室,北京 100192

通用工业技术

药盒文本检测感受野自适应频域增强医疗信息化

pharmaceutical box text detectionreceptive field adaptationfrequency domain enhancementmedical informatization

《包装与食品机械》 2026 (1)

1-12,12

国家重点研发计划项目(2020YFB1713203)北京市教育委员会科技计划项目(KM202411232023)北京信息科技大学"青年骨干教师"支持计划项目(YBT202403)

10.3969/j.issn.1005-1295.2026.01.001

评论