Development and Validation of a Digital Image Processing-Based Pill Detection Tool for an Oral Medication Self-Monitoring System
Open Access
Abstract
Long-term adherence to medication is of critical importance for the successful management of chronic diseases. Objective tools to track oral medication adherence are either lacking, expensive, difficult to access, or require additional equipment. To improve medication adherence, cheap and easily accessible objective tools able to track compliance levels are necessary. A tool to monitor pill intake that can be implemented in mobile health solutions without the need for additional devices was developed. We propose a pill intake detection tool that uses digital image processing to analyze images of a blister to detect the presence of pills. The tool uses the Circular Hough Transform as a feature extraction technique and is therefore primarily useful for the detection of pills with a round shape. This pill detection tool is composed of two steps. First, the registration of a full blister and storing of reference values in a local database. Second, the detection and classification of taken and remaining pills in similar blisters, to determine the actual number of untaken pills. In the registration of round pills in full blisters, 100% of pills in gray blisters or blisters with a transparent cover were successfully detected. In the counting of untaken pills in partially opened blisters, 95.2% of remaining and 95.1% of taken pills were detected in gray blisters, while 88.2% of remaining and 80.8% of taken pills were detected in blisters with a transparent cover. The proposed tool provides promising results for the detection of round pills. However, the classification of taken and remaining pills needs to be further improved, in particular for the detection of pills with non-oval shapes.Keywords
All Related Versions
Funding Information
- North Portugal Regional Operational Programme (NORTE 2020), under the PORTUGAL 2020 Partnership Agreement, and through the European Regional Development Fund (ERDF) (NORTE-01-0247-FEDER-033275)
- European Regional Development Fund (ERDF), COMPETE2020 (Programa Operacional Competitividade e Internacionalização), Portugal 2020 and Portuguese Funds through Fundação para a Ciência e a Tecnologia (POCI-01-0145-36 FEDER-029130)
This publication has 23 references indexed in Scilit:
- A survey of Hough TransformPattern Recognition, 2015
- HelpmePills: A Mobile Pill Recognition Tool for Elderly PersonsProcedia Technology, 2014
- A Visual Inspection System for Prescription DrugsInternational Journal of Intelligent Computing in Medical Sciences & Image Processing, 2013
- A Pharmacoepidemiologic Analysis of the Impact of Calendar Packaging on Adherence to Self-Administered Medications for Long-Term UseClinical Therapeutics, 2011
- Does Packaging with a Calendar Feature Improve Adherence to Self-Administered Medication for Long-Term Use? A Systematic ReviewClinical Therapeutics, 2011
- The Adaptive Hough TransformIEEE Transactions on Pattern Analysis and Machine Intelligence, 1987
- A Computational Approach to Edge Detection1987
- A Computational Approach to Edge DetectionIEEE Transactions on Pattern Analysis and Machine Intelligence, 1986
- A Threshold Selection Method from Gray-Level HistogramsIEEE Transactions on Systems, Man, and Cybernetics, 1979
- Use of the Hough transformation to detect lines and curves in picturesCommunications of the ACM, 1972