Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: Journal of Medical Internet Research

Date Submitted: Jul 13, 2022
Open Peer Review Period: Jul 13, 2022 - Sep 7, 2022
Date Accepted: Nov 25, 2022
(closed for review but you can still tweet)

The final, peer-reviewed published version of this preprint can be found here:

An Accurate Deep Learning–Based System for Automatic Pill Identification: Model Development and Validation

Heo J, Kang Y, Lee S, Jeong DH, Kim KM

An Accurate Deep Learning–Based System for Automatic Pill Identification: Model Development and Validation

J Med Internet Res 2023;25:e41043

DOI: 10.2196/41043

PMID: 36637893

PMCID: 9883737

Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.

An accurate deep learning-based system for automatic pill identification

  • Junyeong Heo; 
  • Youjin Kang; 
  • SangKeun Lee; 
  • Dong-Hwa Jeong; 
  • Kang-Min Kim

ABSTRACT

Background:

Medication errors account for a large proportion of all medical errors. In most homes, patients take a variety of medications for a long period. However, medication errors frequently occur since patients often throw away the container of the medications.

Objective:

We proposed a deep learning-based system for reducing medication errors by accurately identifying prescription pills. Given the pill images, our system locates the pills in the respective pill databases in Korea and the United States.

Methods:

We constructed the system with a pill recognition step and a pill retrieval step. In particular, the pill recognition step consists of modules that recognize the three features of pills and their imprints separately and correct the recognized imprint to fit the actual data. Our system adopts a language model as an imprint correction module to correct imprint characters. We identify the pill using similarity scores of pill characteristics with those in the database.

Results:

The experimental results demonstrate that our system achieves top-1 accuracy levels of 85.6% and 74.5% for unknown pills in two different databases. Furthermore, our system achieves 78.0% top-1 accuracy with consumer images by training only one image per pill. The results demonstrated that our system could identify and retrieve new pills without additional model updates.

Conclusions:

Our study suggests the possibility of reducing medical errors by proposing that the introduction of AI can identify numerous pills with high precision in real-time. Our study suggests that the proposed system can reduce patients’ misuse of medications as well as help medical staff focus on higher-level tasks by alleviating time-consuming lower-level tasks.


 Citation

Please cite as:

Heo J, Kang Y, Lee S, Jeong DH, Kim KM

An Accurate Deep Learning–Based System for Automatic Pill Identification: Model Development and Validation

J Med Internet Res 2023;25:e41043

DOI: 10.2196/41043

PMID: 36637893

PMCID: 9883737

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.