KMITL Expo 2026 LogoKMITL 66th Anniversary Logo

Revolutionizing pill identification by using deep convolutional neural network based on widely-used essential household remedy drugs

Abstract

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

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.

Other Innovations

Advanced PCB Layout Design for Industrial Applications

คณะวิศวกรรมศาสตร์

Advanced PCB Layout Design for Industrial Applications

Designing advanced printed circuit boards for industrial applications involves a variety of steps and methods depending on each company. From what I have learned, I have used Cadence Allegro to design printed circuit boards. This internship was designed on a variety of boards with varying levels of difficulty. Learning in this internship could not be learned in detail within the university. I had to work with many departments within Analog Devices (Thailand) Company. This design was assisted by a mentor who took care of and taught me the work, allowing me to complete the co-operative successfully.

Read more
The development of precision automation system for Siamese fighting fish (Betta splendens)

คณะเทคโนโลยีการเกษตร

The development of precision automation system for Siamese fighting fish (Betta splendens)

Siamese fighting fish (Betta splendens) is an ornamental fish that is the first exported economically valuable fish in the country, but there is a limitation to increase the production of betta fish due to climate variability and the shortage of Thai workers. This research aims to develop 2 systems: a betta fish fry nursery system and a market-sized betta fish rearing system by using automated technology to precisely control the water quality in the system and reduce labor costs. Using precise automation consists of two systems: a minimal-waste system, which repurposes some of the waste generated from farming, and a zero-waste system, which treats and recycles all wastewater from farming. These systems aim to address issues related to water quality, animal welfare, and labor requirements in Betta fish farming. Experimental results show that these systems improve Betta fish survival rates by 10-15% compared to traditional methods. When considering net returns, the zero- waste system provides the highest profitability.

Read more
Development of tea from longan peels and seeds

คณะบริหารธุรกิจ

Development of tea from longan peels and seeds

This research aimed to develop the mixed tea from longan peels and seeds. Population studied were longan farmers who planted longan and preserved the longan product in Ampur Wang Nam Yen, Sa Kaeo Province. From the results, it was found that from By-product in the production of dehydrated longan, longan peels and seeds, which can be processed into ready-to-drink powdered tea. This not only helps reduce waste from the production process but also contributes to generating additional income from these by-products.

Read more