信息技术2024,Issue(7) :34-39,45.DOI:10.13274/j.cnki.hdzj.2024.07.006

多状况药品标签日期定位及字符分割方法

Date positioning and character segmentation for multi-status drug labels

王敏 孙硕 李晟 王康 吴佳
信息技术2024,Issue(7) :34-39,45.DOI:10.13274/j.cnki.hdzj.2024.07.006

多状况药品标签日期定位及字符分割方法

Date positioning and character segmentation for multi-status drug labels

王敏 1孙硕 1李晟 1王康 1吴佳1
扫码查看

作者信息

  • 1. 南京信息工程大学电子与信息工程学院,南京 210044
  • 折叠

摘要

药品生产日期和有效期的检测对病人的安全用药有重要影响,而日期字符定位和分割处理直接决定着药品日期自动识别效果.针对含有粘连、断裂等特殊情况的印刷日期字符,提出了 一种理想与特殊情况的药品标签日期定位及字符分割方法.首先通过统计行像素灰度变化和列向量距离最大值对日期区域进行定位分割,接着通过投影法判断字符是否有粘连、断裂情况,然后重复投影分割和区域宽度统计对有粘连、断裂的特殊字符进行分割.实验结果表明,文中方法能够有效地对特殊情况的药品标签进行精确的日期定位及字符分割.

Abstract

The detection of drug production date and validity period has an important impact on the patient's safe medication,and date character positioning and segmentation directly determine the effect of automatic drug date recognition.Based on the printing date characters with special conditions such as adhesion and breakage,an ideal and special case date positioning and character segmentation method for drug labels is proposed.Firstly,the date area is located and segmented by counting the grayscale changes of the row pix-els and the maximum distance of the column vector,and then the projection method is used to determine whether the characters are stuck or broken.Nextly,the projection segmentation and the area width statistics are repeated to segment the special characters with adhesion and breaks.The experiment results show that the method in this paper can effectively perform precise date positioning and character segmentation for drug labels in special cases.

关键词

生产日期/药品标签/区域定位/字符分割/粘连

Key words

production date/drug label/regional positioning/character segmentation/adhesion

引用本文复制引用

基金项目

国家自然科学基金(41775165)

国家自然科学基金(41775039)

南京信息工程大学引进人才科研启动专项(2021r034)

出版年

2024
信息技术
黑龙江省信息技术学会 中国电子信息产业发展研究院 中国信息产业部电子信息中心

信息技术

CSTPCD
影响因子:0.413
ISSN:1009-2552
段落导航相关论文