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