{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T18:43:07Z","timestamp":1775068987715,"version":"3.50.1"},"reference-count":37,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2023,8,19]],"date-time":"2023-08-19T00:00:00Z","timestamp":1692403200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004700","name":"Taipei Medical University","doi-asserted-by":"publisher","award":["TMU111-AE1-B30"],"award-info":[{"award-number":["TMU111-AE1-B30"]}],"id":[{"id":"10.13039\/501100004700","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Dispensing errors play a crucial role in various medical errors, unfortunately emerging as the third leading cause of death in the United States. This alarming statistic has spurred the World Health Organization (WHO) into action, leading to the initiation of the Medication Without Harm Campaign. The primary objective of this campaign is to prevent dispensing errors from occurring and ensure patient safety. Due to the rapid development of deep learning technology, there has been a significant increase in the development of automatic dispensing systems based on deep learning classification to avoid dispensing errors. However, most previous studies have focused on developing deep learning classification systems for unpackaged pills or drugs with the same type of packaging. However, in the actual dispensing process, thousands of similar drugs with diverse packaging within a healthcare facility greatly increase the risk of dispensing errors. In this study, we proposed a novel two-stage induced deep learning (TSIDL)-based system to classify similar drugs with diverse packaging efficiently. The results demonstrate that the proposed TSIDL method outperforms state-of-the-art CNN models in all classification metrics. It achieved a state-of-the-art classification accuracy of 99.39%. Moreover, this study also demonstrated that the TSIDL method achieved an inference time of only 3.12 ms per image. These results highlight the potential of real-time classification for similar drugs with diverse packaging and their applications in future dispensing systems, which can prevent dispensing errors from occurring and ensure patient safety efficiently.<\/jats:p>","DOI":"10.3390\/s23167275","type":"journal-article","created":{"date-parts":[[2023,8,21]],"date-time":"2023-08-21T01:49:34Z","timestamp":1692582574000},"page":"7275","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["A Novel Two-Stage Induced Deep Learning System for Classifying Similar Drugs with Diverse Packaging"],"prefix":"10.3390","volume":"23","author":[{"given":"Yu-Sin","family":"You","sequence":"first","affiliation":[{"name":"Professional Master Program in Artificial Intelligence in Medicine, College of Medicine, Taipei Medical University, Taipei 110, Taiwan"},{"name":"Department of Pharmacy, Lotung Poh-Ai Hospital, Yilan 265, Taiwan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0625-0364","authenticated-orcid":false,"given":"Yu-Shiang","family":"Lin","sequence":"additional","affiliation":[{"name":"Professional Master Program in Artificial Intelligence in Medicine, College of Medicine, Taipei Medical University, Taipei 110, Taiwan"}]}],"member":"1968","published-online":{"date-parts":[[2023,8,19]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"i2139","DOI":"10.1136\/bmj.i2139","article-title":"Medical error\u2014The third leading cause of death in the US","volume":"353","author":"Makary","year":"2016","journal-title":"Br. Med. J."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"36","DOI":"10.1111\/j.2042-7174.2010.00071.x","article-title":"Unprevented or prevented dispensing incidents: Which outcome to use in dispensing error research?","volume":"19","author":"James","year":"2011","journal-title":"Int. J. Pharm. Pract."},{"key":"ref_3","unstructured":"(2023, June 26). World Health Organization Home Page. Available online: https:\/\/www.who.int\/initiatives\/medication-without-harm."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"83","DOI":"10.1056\/NEJMhle1101722","article-title":"Why do the same drugs look different? Pills, trade dress, and public health","volume":"365","author":"Greene","year":"2011","journal-title":"N. Engl. J. Med."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"349","DOI":"10.1111\/j.2042-7174.2012.00210.x","article-title":"Quality Use of Medicines-medication safety issues in naming; look-alike, sound-alike medicine names","volume":"20","author":"Ostini","year":"2012","journal-title":"Int. J. Pharm. Pract."},{"key":"ref_6","first-page":"CD009985","article-title":"Reducing medication errors for adults in hospital settings","volume":"11","author":"Ciapponi","year":"2021","journal-title":"Cochrane Database Syst. Rev."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"676","DOI":"10.1111\/j.1365-2125.2009.03428.x","article-title":"Medication errors: The importance of safe dispensing","volume":"67","author":"Cheung","year":"2009","journal-title":"Br. J. Clin. Pharmacol."},{"key":"ref_8","first-page":"1","article-title":"A systematic review of the nature of dispensing errors in hospital pharmacies","volume":"5","author":"Aldhwaihi","year":"2016","journal-title":"Integr. Pharm. Res. Pract."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"985","DOI":"10.1007\/s00228-018-2471-z","article-title":"A systematic literature review on strategies to avoid look-alike errors of labels","volume":"74","author":"Alting","year":"2018","journal-title":"Eur. J. Clin. Pharmacol."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"24","DOI":"10.1186\/s40780-022-00255-w","article-title":"Evaluating the safety and efficiency of robotic dispensing systems","volume":"8","author":"Takase","year":"2022","journal-title":"J. Pharm. Health Care Sci."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"253","DOI":"10.1136\/ejhpharm-2018-001791","article-title":"Safety, time and cost evaluation of automated and semi-automated drug distribution systems in hospitals: A systematic review","volume":"27","author":"Ahtiainen","year":"2020","journal-title":"Eur. J. Hosp. Pharm."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"615","DOI":"10.1055\/s-0039-1694749","article-title":"Integration of a Commercial Barcode-Assisted Medication Dispensing System in a Teaching Hospital","volume":"10","author":"Berdot","year":"2019","journal-title":"Appl. Clin. Inform."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Yaniv, Z., Faruque, J., Howe, S., Dunn, K., Sharlip, D., Bond, A., Perillan, P., Bodenreider, O., Ackerman, M.J., and Yoo, T.S. (2016, January 18\u201320). The National Library of Medicine Pill Image Recognition Challenge: An Initial Report. Proceedings of the 2016 IEEE Applied Imagery Pattern Recognition Workshop (AIPR), Washington, DC, USA.","DOI":"10.1109\/AIPR.2016.8010584"},{"key":"ref_14","unstructured":"Zeng, X., Cao, K., and Zhang, M. (2017, January 19\u201323). MobileDeepPill: A small-footprint mobile Deep learning system for recognizing unconstrained pill images. Proceedings of the 15th Annual International Conference on Mobile Systems, Applications, and Services, Niagara Falls, NY, USA."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Usuyama, N., Delgado, N.L., Hall, A.K., and Lundin, J. (2020, January 14\u201319). ePillID Dataset: A Low-Shot Fine-Grained Benchmark for Pill Classification. Proceedings of the 2020 IEEE\/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Seattle, WA, USA.","DOI":"10.1109\/CVPRW50498.2020.00463"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ling, S., Pastor, A., Li, J., Che, Z., Wang, J., Kim, J., and Le Callet, P. (2020, January 13\u201319). Few-Shot Pill Recognition. Proceedings of the 2020 IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.00981"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Kwon, H.J., Kim, H.G., and Lee, S.H. (2022). Pill Detection Model for Medicine Inspection Based on Deep Learning. Chemosensors, 10.","DOI":"10.3390\/chemosensors10010004"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Patel, U. (2021, January 25\u201327). Machine Learning-based Pharmaceutical Tablet Inspection and Recognition Techniques\u2014A Review. Proceedings of the 2021 International Conference on Artificial Intelligence and Smart Systems (ICAIS), Coimbatore, India.","DOI":"10.1109\/ICAIS50930.2021.9396039"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"e26000","DOI":"10.2196\/26000","article-title":"Effects of Background Colors, Flashes, and Exposure Values on the Accuracy of a Smartphone-Based Pill Recognition System Using a Deep Convolutional Neural Network: Deep Learning and Experimental Approach","volume":"9","author":"Cha","year":"2021","journal-title":"JMIR Med. Inform."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Zheng, A., Yang, H., Pan, X., Yin, L., and Feng, Y. (2021). Identification of Multi-Class Drugs Based on Near Infrared Spectroscopy and Bidirectional Generative Adversarial Networks. Sensors, 21.","DOI":"10.3390\/s21041088"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Yang, Z., and Bai, J. (2015, January 8\u201310). Vial bottle mouth defect detection based on machine vision. Proceedings of the 2015 IEEE International Conference on Information and Automation, Lijiang, China.","DOI":"10.1109\/ICInfA.2015.7279730"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"848","DOI":"10.1080\/0951192X.2018.1447145","article-title":"A visual inspection system of glass ampoule packaging defects: Effect of lighting configurations","volume":"31","author":"Rawashdeh","year":"2018","journal-title":"Int. J. Comput. Integr. Manuf."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Liu, X., Meehan, J., Tong, W., Wu, L., Xu, X., and Xu, J. (2020). DLI-IT: A deep learning approach to drug label identification through image and text embedding. BMC Med. Inform. Decis. Mak., 20.","DOI":"10.1186\/s12911-020-1078-3"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"852","DOI":"10.3390\/make4040043","article-title":"Automatic Extraction of Medication Information from Cylindrically Distorted Pill Bottle Labels","volume":"4","author":"Gromova","year":"2022","journal-title":"Mach. Learn. Knowl. Extr."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Wang, J.S., Ambikapathi, A., Han, Y., Chung, S.L., Ting, H.W., and Chen, C.F. (2018, January 4\u20137). Highlighted Deep Learning based Classification of Pharmaceutical Blister Packages. Proceedings of the 2018 IEEE 23rd International Conference on Emerging Technologies and Factory Automation (ETFA), Torino, Italy.","DOI":"10.1109\/ETFA.2018.8502488"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"101344","DOI":"10.1109\/ACCESS.2021.3097181","article-title":"Pharmaceutical Blister Package Classification Based on Induced deep learning","volume":"9","author":"Han","year":"2021","journal-title":"IEEE Access"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Ting, H.W., Chung, S.L., Chen, C.F., Chiu, H.Y., and Hsieh, Y.W. (2020). A drug classification model developed using deep learning technologies: Experience of a medical center in Taiwan. BMC Health Serv. Res., 20.","DOI":"10.1186\/s12913-020-05166-w"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"13367","DOI":"10.1007\/s00521-021-05964-1","article-title":"A two-stage CNN-based hand-drawn electrical and electronic circuit component recognition system","volume":"33","author":"Dey","year":"2021","journal-title":"Neural Comput. Appl."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"64270","DOI":"10.1109\/ACCESS.2018.2877890","article-title":"Benchmark Analysis of Representative Deep Neural Network Architectures","volume":"6","author":"Bianco","year":"2018","journal-title":"IEEE Access"},{"key":"ref_30","unstructured":"Krizhevsky, A., Sutskever, I., and Hinton, G.E. (2012). Advances in Neural Information Processing Systems, Proceedings of the 26th Annual Conference on Neural Information Processing Systems 2012, Lake Tahoe, NV, USA, 3\u20136 December 2012, NeurIPS."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"513","DOI":"10.1093\/llc\/fqy063","article-title":"Machine learning, template matching, and the International Tracing Service digital archive: Automating the retrieval of death certificate reference cards from 40 million document scans","volume":"34","year":"2019","journal-title":"Digit. Scholarsh. Humanit."},{"key":"ref_32","unstructured":"The MathWorks Inc. (2023, June 26). MATLAB Version: 9.14.0 (R2023a), Natick, Massachusetts: The MathWorks Inc. Available online: https:\/\/www.mathworks.com."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"4961","DOI":"10.1007\/s10489-021-02635-5","article-title":"Confidence interval for micro-averaged F1 and macro-averaged F1 scores","volume":"52","author":"Takahashi","year":"2022","journal-title":"Appl. Intell."},{"key":"ref_34","unstructured":"Tan, M., and Le, Q.V. (2019). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep residual learning for image recognition. Proceedings of the IEEE conference on computer vision and pattern recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (2016, January 27\u201330). Rethinking the Inception Architecture for Computer Vision. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.308"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.C. (2018, January 18\u201322). MobileNetV2: Inverted Residuals and Linear Bottlenecks. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00474"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/16\/7275\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:37:40Z","timestamp":1760128660000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/16\/7275"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,8,19]]},"references-count":37,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2023,8]]}},"alternative-id":["s23167275"],"URL":"https:\/\/doi.org\/10.3390\/s23167275","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,8,19]]}}}