International Journal of Public Health Excellence (IJPHE)
Vol. 5 No. 2 (2026): January-May

Automatic Pill Counting Using YOLOv8 to Improve Medication Distribution Accuracy

Nurul Qomariah, Dinial Utami (Unknown)
Elvira, Ade Irma (Unknown)
Agus Kurniasari, Arvita (Unknown)
Wahyu Maulana, Bima (Unknown)



Article Info

Publish Date
23 Jan 2026

Abstract

Object detection is a critical component in various modern applications, including healthcare systems, smart agriculture, and industrial automation. The main challenge in developing detection systems lies in achieving high accuracy and strong generalization capabilities under diverse image conditions. This study aims to implement and evaluate the YOLOv8 model, a detection method known for its speed and efficiency. The model is trained using two scenarios—10 epochs and 50 epochs—to examine the impact of training duration on system performance. Evaluation results show that training for 10 epochs produces very good performance, with a precision of 0.98, recall of 0.94, and mAP of 0.98. Increasing the training to 50 epochs yields even more optimal results, achieving a precision of 0.99, recall of 1.00, and mAP of 0.99. Based on these findings, YOLOv8 demonstrates excellent adaptability to the dataset and is suitable for real-time detection applications that require high accuracy

Copyrights © 2026






Journal Info

Abbrev

ijphe

Publisher

Subject

Health Professions Medicine & Pharmacology Nursing Public Health

Description

International Journal of Public Health Excellence (IJPHE), ISSN 2809-9826 (online) has a subject area as follows, but is not limited to the following health areas that are reproduction health, medical service, health statistics, health management, oral hygiene, medical bio, civilized environmental ...