An Android Based Medication Reminder System Based On OCR Using ANN
An Android Based Medication Reminder System Based On OCR Using ANN
An Android Based Medication Reminder System Based On OCR Using ANN
net/publication/319242767
CITATIONS READS
3 4,467
1 author:
Parag Achaliya
SNJB's Late Sau Kantabai Bhavarlalji Jain College of Engineering
10 PUBLICATIONS 8 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Data Security Using Cryptography, Steganography and LAN Messaging View project
All content following this page was uploaded by Parag Achaliya on 24 August 2017.
P. N. Achaliya
Pawar Pallavi
UG Student, SNJB’s KBJ COE, Chandwad, PG Student, G. H. Raisoni Institute of Engineering &
Management, Jalgaon
Now days there are large number of mobile phone/smart phone Fig. 1 Wedjat - Smart Phone Application
users in the world. The bulky number of variety of applications
available in the mobile phone made the luxurious life. Mobile Wedjat can perform three primary functions:
phone companies are providing such a wonderful applications a) Issue medicine in-take reminders
for their users then question arises in mind that why not to use b) Provide medicine identification and in-take directions
those applications when company is providing them? Out of c) Maintain medicine in-take records[1]
those applications, Reminder facility in the mobile phone is the
most commonly used application which is used for preventing to Similarly, Prasad B discusses the approach of Medicine
remember each and every small thing. Reminder Pro which is based on reminding medicine schedules.
Most out-patient medication errors were made when patients
bought prescribed medicines from different drug stores and use
them at home without guidance. Common causes of these errors
25
International Journal of Computer Applications (0975 – 8887)
International Conference on Recent Trends in engineering & Technology - 2013(ICRTET'2013)
C. Table of Comparison
Table 1: Comparison of Existing System & Proposed System
Existing Proposed
Parameters
System System
Method Manual Automatic
More time Less time
Time
consuming consuming
Database Required Not required
Original prescription Not stored Stored
Reminder of
doctor’s next No Yes
appointment
Possibility of
hanging down an Yes No
application
Fig. 3 Med Minder
But this system has lots of manual work and it is much time 4. PROPOSED SYSTEM
consuming. [3]
The proposed system is an application for the Android platform
mobiles will remind their user about the medicine in-take
schedule. This reminder will be set in the mobile with the help of
the reminder application. The reminders will be automatically
set as per the prescription.
3. ANALYSIS
Android is a Linux-based operating system designed primarily
After studying and analyzing all the above existing popular for touch screen mobile devices such as smart phones and tablet
applications based on Android mobiles, some major findings computers, developed by Google in conjunction with the Open
noticed which reduce their popularity. Handset Alliance. Initially it was developed by Android Inc.
whom Google financially backed and later purchased in 2005.
A. Findings in existing systems: [4]
a) User has to add the name of the tablet/capsule
manually. No facility of adding them automatically. The proposed system will be developed for Android mobiles
b) User has to add the quantity/dose of the tablet/capsule only because the market share of Android is more than other
manually. No facility of adding them automatically. operating systems.
26
International Journal of Computer Applications (0975 – 8887)
International Conference on Recent Trends in engineering & Technology - 2013(ICRTET'2013)
6. MEDICINE SCHEDULING
SPECIFICATION
Table 2 shows the medication scheduling specification [1] [6] of
the specific medicine. MSS can be divided into three sections
Fig. 4 Comparison of Android & other OS in South-East containing prescription, dosage and interaction parameters
Asia Market [5] respectively.
Figure 5 shows input and output data flows of the proposed B. Dosage Parameter (DP)
system. The input includes user's medicine prescriptions and
DP states the minimum and maximum dose sizes [dmin,
personal preferences. The mobile application obtains user's
dmax] and the minimum and maximum separations [nsmin,
medicine prescriptions by taking its pictures. For personal
nsmax] between two consecutive doses. It also specifies the
preferences, the user may block time periods such as sleeping
supply rate (B, R), which the maximum dosage B is taken within
hours, religion activities time, etc. Proposed system tries not to
any time interval R and the demand rate (L, P) and which the
insert in-take events into those time slots.
minimum dosage L is taken in any time interval p.
27
International Journal of Computer Applications (0975 – 8887)
International Conference on Recent Trends in engineering & Technology - 2013(ICRTET'2013)
7.2.2.1 Segmentation
Segmentation refers to separation of each character
from others. It is done by drawing the smallest rectangle drawn
around the characters.
28
the ANN, the difference between the x-coordinates of adjacent 8. CONCLUSION AND FUTURE SCOPE
characters are compared with a threshold value to see if it’s an
actual space. Threshold value is calculated locally. The spaces
Currently there are many medication reminder systems which
between each character is calculated and sorted in descending
are operable manually. Due to manual work, the available
order. The difference between these sorted values determines
system becomes more time consuming. So in the given work, an
which one is an actual space (space between words) and which
attempt has been made to implement fully automatic medication
one is not. The lowest value acts as threshold.
reminder system based on handwritten character recognition.
7.2.3 ANN Modeling This is achieved with the help of artificial neural network.
Neural network is very effective to decipher any character of any
The ANN model selected for HCR is Feed Forward Back language. The accuracy of character recognition is more
Propagation Network (FFBPN). The information is passed in important. So accuracy of characters needs to improve by adding
Forward direction and Error is propagated backwards. The probability to each character. For example, a character Q is very
optimal number of hidden layers and nodes has to be selected less easy to find because character Q is more often mistaken
based on simulation and training results. Typically the model with O in most of the OCR systems. The proposed system will
contains 1 Input layer, 1 hidden layer and 1 Output layer. Input only set the reminders in the built-in calendar application of the
layer consist of 1024 nodes (32x32). No. of Output and Hidden mobile. This reminder reminds user about their medicine in-take
nodes vary according to the situation. Output nodes depend on schedule. The system which we are implementing will also give
the separate characters that make up the document. the reminder about doctor’s next appointment. It will also tell the
user of the end of the medicines. The scheduled reminder will
7.2.3.1 Trained Character Set not suggest any kind of medicine, dose of medicine, etc.
The trained character set consists of all the individual
letters/characters which are used to create a simple handwritten In future, efforts can be made to improve the accuracy of the
document. Each handwritten character has its unique feature. character recognition. Also the facility of adding names & dose
And these unique features associated with the characters remains of the medicine will be included in the reminder.
same throughout the same document.
9. ACKNOWLEDGMENT
7.2.3.2 Analysis
Analysis of a standard 26 English letters & some First of all I would like to thank my Hon’ble Principal Dr. V. J.
commonly used special symbols are done and documented. This Gond, SNJB’s KBJ College of Engineering, Chandwad (Nashik)
can be used as starting point to reduce time. for the motivation and inspiration that triggered me for this
work.
Number of nodes for ANN can be fixed after creating the final
trained character set of all proper letter & special symbols. In No volume of words is enough to express my gratitude towards
this case, there are 1024 input nodes representing each pixel of Prof. P. R. Bhaladhare, Head of Information Technology
32x32 characters. And output pixels can be set accordingly. [7] Department, who has been very concerned and aided for all the
essential materials required for the preparation of this paper.
7.2.3.3 Result They had helped me to explore this vast topic in an organized
manner and provided me with all the ideas on how to work
The image of handwritten document is given to ANN
towards a research-oriented venture.
model to check the accuracy of character recognition using
ANN. The input to & output of ANN is shown as below,
I would also like to thank my colleagues who were always there
at the need of the hour and provided with all the help and
facilities, which I required every time. I am very much grateful
to my family for their valuable support and inspiration that
helped me in conceptualizing the project.
10. REFERENCES
Fig. 8 Handwritten Characters [1] Zao J.K., Mei-Ying Wang, Peihsuan Tsai, Liu J.W.S.,
"Smart Phone Based Medicine In-take Scheduler, Reminder
In order to recognize the characters, the trained character set was and Monitor", IEEE e-Health Networking Applications and
created from the same handwriting. Following figure shows the Services (Healthcom), 2010
implementation of preprocessing & feature extraction stages on
[2] https://play.google.com/store/apps/details?id=com.dambara
the above handwritten characters.
.medremindpro&feature=search_result
[3] https://play.google.com/store/apps/details?id=com.garland.
medminderfree&feature=search_result
[4] http://en.wikipedia.org/wiki/Android_%28operating_syste
m%29
[5] http://www.devworx.in/news/android-news/android-
defeats-all-others-in-south-east-asia-market-survey-
Fig. 9 Preprocessing & Feature Extraction of Handwritten 122301.html
Characters
29
International Journal of Computer Applications (0975 – 8887)
International Conference on Recent Trends in engineering & Technology - 2013(ICRTET'2013)
[6] Hsiu, PC, Yeh HC, Tsai PH, Shih CS, Burkhardt DH, Kuo Journal of Computer Applications (0975 – 8887) Volume
TW, Liu JWS, Huang TY, "A General Model for 52– No.12, August 2012
Medication Scheduling," Technical Report TR-JIS-05- 008,
Institute of Information Science, Academia Sinica, Taiwan, [8] Miguel Po-Hsien Wu, “Handwritten Character
July 2005. Recognition”, a thesis submitted to university of
Queensland.
[7] V. Kalaichelvi, Ahammed Shamir Ali, “ Application of
Neural Networks in Character Recognition”, International
30