KMITL Expo 2026 Logo
Half Circle
All Innovation
ป. ตรี โครงงานพิเศษชิ้นงานKMITL Expo 2025Cluster 2025
Revolutionizing
pill
identification
by
using
deep
convolutional
neural
network
based
on
widely-
used
essential
household
remedy
drugs
คณะแพทยศาสตร์, แพทยศาสตรนานาชาติ, หลักสูตรแพทยศาสตรบัณฑิต (หลักสูตรนานาชาติ)
Revolutionizing pill identification by using deep convolutional neural network based on widely-used essential household remedy drugs

Innovation Owner

PW

Miss PIRIYAKORN WESAKAWEE

Student

Details

This study explores the application of deep convolutional neural networks (CNNs) for accurate pill identification, addressing the limitations of traditional human-based methods. Using a dataset of 1,250 images across 10 household remedy drugs, various CNN architectures, including YOLO models, were tested under different conditions. Results showed that natural lighting was optimal for imprinted pills, while a lightbox improved detection for plain pills. The YOLOv5-tiny model demonstrated the best detection accuracy, and efficientNet_b0 achieved the highest classification performance. While the model showed strong results, its generalization is limited by sample size and drug variability. Nonetheless, this approach holds promise for enhancing medication safety and reducing errors in outpatient care.

Objective

This study aims to develop a deep CNN-based algorithm for accurate pill identification based on 10 household remedy drugs.

The increasing complexity of pharmaceutical treatments requires precise pill identification to ensure patient safety. Traditional methods for pill reconciliation rely on human experts, which are time-consuming and prone to errors. Deep Convolutional Neural Networks (CNNs), particularly effective in image processing, offer a promising solution for automating and enhancing these processes.

This algorithm has the potential to greatly enhance medication safety by accurately identifying more clinically significant pills, including those with drug interaction properties. This could help reduce medication errors and improve outpatient care workflows.