{"title":"Intelligent Medicine Identification System Using a Combination of Image Recognition and Optical Character Recognition","authors":"Nagorn Maitrichit, Narit Hnoohom","doi":"10.1109/iSAI-NLP51646.2020.9376816","DOIUrl":null,"url":null,"abstract":"This research aims to develop an automatic verification system with deep learning techniques to verify prescription dispensing accuracy. The proposed method will be able to help pharmacies to reduce errors that lead to patients receiving the wrong medicine to patients. The system consists of two models: image classification and text classification. The image classification model uses raw medicine blister pack images, then removes the background to interpret the features based on the pattern recognition for Histograms of Oriented Gradients (HOG) of the model. It is composed of Convolution Neural Network (CNN), Linear Regression, and Logistic Regression. The text classification model uses text extraction to obtain imprints appearing on the blister package then matches the words to a bag of word. The dataset collected two-hundred types of medicine blister packs images inside plastic zip bags as a dataset. It includes 300 high-quality images of front-side medicine blister packages for each type of package in light-controlled conditions with a black background, which are used for training the model. The automatic verification system uses the majority vote based on the confidence of the two models. Experimental results, indicate that the image classification model of CNN with HOG feature extraction has the highest accuracy at 95.83 percent. In-text classification results show that the method using Character Region Awareness For Text detection (CRAFT), Keras-OCR, and text correction gave the highest accuracy at 92 percent. Overall accuracy was 94.23 percent.","PeriodicalId":311014,"journal":{"name":"2020 15th International Joint Symposium on Artificial Intelligence and Natural Language Processing (iSAI-NLP)","volume":"30 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 15th International Joint Symposium on Artificial Intelligence and Natural Language Processing (iSAI-NLP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iSAI-NLP51646.2020.9376816","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
This research aims to develop an automatic verification system with deep learning techniques to verify prescription dispensing accuracy. The proposed method will be able to help pharmacies to reduce errors that lead to patients receiving the wrong medicine to patients. The system consists of two models: image classification and text classification. The image classification model uses raw medicine blister pack images, then removes the background to interpret the features based on the pattern recognition for Histograms of Oriented Gradients (HOG) of the model. It is composed of Convolution Neural Network (CNN), Linear Regression, and Logistic Regression. The text classification model uses text extraction to obtain imprints appearing on the blister package then matches the words to a bag of word. The dataset collected two-hundred types of medicine blister packs images inside plastic zip bags as a dataset. It includes 300 high-quality images of front-side medicine blister packages for each type of package in light-controlled conditions with a black background, which are used for training the model. The automatic verification system uses the majority vote based on the confidence of the two models. Experimental results, indicate that the image classification model of CNN with HOG feature extraction has the highest accuracy at 95.83 percent. In-text classification results show that the method using Character Region Awareness For Text detection (CRAFT), Keras-OCR, and text correction gave the highest accuracy at 92 percent. Overall accuracy was 94.23 percent.