A Machine Learning-Based Approach for the Detection of Drugs in Drug Self

Authors

  • Mahfuzulhoq Chowdhury CSE Department, Chittagong University of Engineering and Technology, Bangladesh https://orcid.org/0000-0002-3006-4596
  • Md. Nazmul Sakib CSE Department, Chittagong University of Engineering and Technology, Bangladesh

DOI:

https://doi.org/10.47852/bonviewAIA42022666

Keywords:

drug detection, object detection, machine learning, Faster R-CNN, YOLO, Tesseract, accuracy performance, pharmaceutical inventory management

Abstract

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

Metrics Loading ...

Downloads

Published

2024-12-09

Issue

Section

Online First Articles

How to Cite

Chowdhury, M., & Sakib, M. N. (2024). A Machine Learning-Based Approach for the Detection of Drugs in Drug Self. Artificial Intelligence and Applications. https://doi.org/10.47852/bonviewAIA42022666