EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Implementation and Design of a Smart Pharmacy Automation System Using Raspberry Pi

Saja Sadiq Bakhit, Saleem Lateef, Ali Al-Naji

Journal of Engineering · 01.08.2026 · 32 (8) · 16-33

DOI: 10.31026/j.eng.2026.08.02 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Engineering, online erschienen am 01.08.2026. Verfasst von Saja Sadiq Bakhit und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Manual medication dispensing in pharmacies remains prone to human errors and is time-intensive, particularly under high patient loads, while existing commercial automation solutions are cost-prohibitive for small to medium-sized pharmacy settings. This paper presents the design and implementation of a cost-effective smart pharmacy automation system leveraging a Raspberry Pi 5 platform. The proposed system integrates a web camera for real-time image acquisition, a stepper motor-driven dispensing mechanism, and an HDMI display for visual feedback of identified medications. To enable accurate drug recognition, we employ the YOLOv8 deep learning object detection algorithm. A custom dataset comprising 1,500 images of ten distinct medication classes—with 150 samples per class, captured under varying illumination conditions (bright, normal, and low light) and three viewing angles—was constructed for model training and evaluation. The dataset was partitioned into 70% training, 20% validation, and 10% testing sets. Experimental results demonstrate that the YOLOv8-based model achieves exceptional performance, with an overall precision of 98%, precision and recall values approaching 1.0, and mAP50 and mAP50-95 scores of approximately 0.99, indicating high reliability for real-time deployment. The entire system, including both hardware and software, is able to accurately identify and dispense medications in an automatic manner with minimal delay. This affordable, on-site alternative to high-cost commercial systems presents an efficient and scalable solution to help decrease dispensing mistakes and enhance workflow in a pharmacy setting with limited resources.

Zitieren

APA

Bakhit, S. S., Lateef, S., & Al-Naji, A. (2026). Implementation and Design of a Smart Pharmacy Automation System Using Raspberry Pi. Journal of Engineering, 32(8), 16-33. https://doi.org/10.31026/j.eng.2026.08.02

Vancouver

Bakhit SS, Lateef S, Al-Naji A. Implementation and Design of a Smart Pharmacy Automation System Using Raspberry Pi. Journal of Engineering. 2026;32(8):16-33. doi:10.31026/j.eng.2026.08.02

BibTeX
@article{Bakhit2026,
  author = {Bakhit, Saja Sadiq and Lateef, Saleem and Al-Naji, Ali},
  title = {Implementation and Design of a Smart Pharmacy Automation System Using Raspberry Pi},
  journal = {Journal of Engineering},
  year = {2026},
  volume = {32},
  number = {8},
  pages = {16--33},
  doi = {10.31026/j.eng.2026.08.02}
}
Kostenlos starten →