arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.18199cs.CVcs.LGeess.IV
收藏

利用具有多头注意力的深度学习从手写处方中准确提取药物

Leveraging Deep Learning with Multi-Head Attention for Accurate Extraction of Medicine from Handwritten Prescriptions

GIFT University(吉夫特大学);University of Engg. & Tech. Lahore(拉合尔工程技术大学)

Usman Ali, Sahil Ranmbail, Muhammad Nadeem, Hamid Ishfaq, Muhammad Umer Ramzan, Waqas Ali

AI总结:

针对手写处方药物名称提取困难的问题,提出结合Mask R-CNN分割与多头注意力增强的TrOCR转录方法,并在巴基斯坦手写处方数据集上实现1.4%的字符错误率。

摘要:

由于手写风格和处方格式差异很大,从手写医生处方中提取药物名称具有挑战性。本文提出了一种稳健的方法,结合Mask R-CNN和基于Transformer的光学字符识别(TrOCR),并采用多头注意力和位置嵌入来提取药物名称。研究利用了一个新颖的数据集,包含来自巴基斯坦不同地区的多种手写处方,以针对不同手写风格微调模型。Mask R-CNN模型对处方图像进行分割,聚焦于药物部分,而由多头注意力和位置嵌入增强的TrOCR模型则对分离出的文本进行转录。随后,将转录的文本与现有数据库进行匹配以实现准确识别。所提出的方法在标准基准上达到了1.4%的字符错误率(CER),突显了其作为自动化药物名称提取的可靠且高效工具的潜力。

英文摘要:

Extracting medication names from handwritten doctor prescriptions is challenging due to the wide variability in handwriting styles and prescription formats. This paper presents a robust method for extracting medicine names using a combination of Mask R-CNN and Transformer-based Optical Character Recognition (TrOCR) with Multi-Head Attention and Positional Embeddings. A novel dataset, featuring diverse handwritten prescriptions from various regions of Pakistan, was utilized to fine-tune the model on different handwriting styles. The Mask R-CNN model segments the prescription images to focus on the medicinal sections, while the TrOCR model, enhanced by Multi-Head Attention and Positional Embeddings, transcribes the isolated text. The transcribed text is then matched against a pre-existing database for accurate identification. The proposed approach achieved a character error rate (CER) of 1.4% on standard benchmarks, highlighting its potential as a reliable and efficient tool for automating medicine name extraction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑