A Machine Learning-Based Approach for the Detection of Drugs in Drug Self
DOI:
https://doi.org/10.47852/bonviewAIA42022666Keywords:
drug detection, object detection, machine learning, Faster R-CNN, YOLO, Tesseract, accuracy performance, pharmaceutical inventory managementAbstract
Accurate detection of specific named medicines on drugstore shelves is critical for pharmaceutical inventory management. Existing research did not properly use machine learning technology for the accurate detection of medicine from drug samples. The purpose of this paper is to create a machine learning-based medicine detection system capable of automatically recognizing and localizing medicine boxes on shelves. The system uses Faster region-based convolutional neural network (R-CNN) and YOLOv5 to recognize and extract medicine boxes from images. Text recognition techniques, such as Tesseract OCR, are used to extract medicine names from boxes. This work includes collecting and annotating a dataset, training and evaluating models, and implementing text recognition algorithms. The simulation results show that the proposed faster R-CNN and Tesseract-based system is more accurate at detecting medicine boxes and extracting text than the existing Yolov5 and Tesseract-based systems.
Received: 23 February 2024 | Revised: 2 August 2024| Accepted: 31 October 2024
Conflicts of Interest
The authors declare that they have no conflicts of interest to this work.
Data Availability Statement
The GitHub data that support the findings of this study are openly available in https://github.com/argman/EAST. The GitHub data that support the findings of this study are openly available in https://github.com/clovaai/CRAFTpytorch. The GitHub data that support the findings of this study are openly available in https://github.com/bgshih/crnn. The GitHub data that support the findings of this study are openly available in https://github.com/MhLiao/TextBoxes. The GitHub data that support the findings of this study are openly available in https://tesseractocr.github.io/tessdoc/. The GitHub data that support the findings of this study are openly available in https://github.com/tesseract-ocr/tesseract.
Author Contribution Statement
Md. Nazmul Sakib: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Resources, Data curation, Visualization. Mahfuzulhoq Chowdhury: Conceptualization, Validation, Formal analysis, Investigation, Writing – original draft, Writing – review & editing, Supervision, Project administration.
Metrics
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Authors
This work is licensed under a Creative Commons Attribution 4.0 International License.