Indian Currency Detection For The Blind Using Matlab IJERTCONV3IS05034
Indian Currency Detection For The Blind Using Matlab IJERTCONV3IS05034
ISSN: 2278-0181
NCETET-2015 Conference Proceedings
Abstract—This paper has led to the development of the the recognition of the Indian currency both banknotes and
prototype of a system that recognizes the denomination of all coins, by affixing camera with their goggles.
India currency i.e. notes and coins, aimed for visually
impaired people. It is capable of reproducing audio messages In order to recognize the notes, in the first stage, a
that announce the denomination of a banknote placed in front
digital processing of the image obtained by the camera has
of a camera by processing each frame of its continuous
filming. This message is heard by the visually impaired been made in order to locate a particular region of interest
through an earphone. This work takes its theoretical basis within that image. Then, taking that region of interest as an
from the Digital Image Processing (DIP) techniques. The input image, a recognition stage is implemented making
recognition of the bank notes is primarily from the image use of the ‘Face Recognition using Eigenfaces method,
recognition method known as Eigen faces, which is based on which, in turn, is based on the mathematical technique
the Principal Component Analysis (PCA) mathematical known as Principal Component Analysis (PCA). Finally,
theory. And in order to recognize the coins of all results of tests made on the system implemented, are
denominations a system has been created which recognizes presented.
coin based on image subtraction technique. The process
performs 3 checks (radius, coarse and fine) on the input image.
The stated subsequent checks enable the technique to endorse The coin recognition is dealt by the method using
Rotation Invariance, thus obviating the need of placing the image subtraction technique. The image subtraction
coin at a certain angle. Subtraction between the input object technique takes two images as input and gives a third
image and database image is performed. Further, plotting the image as output, whose pixel values are simply the pixel
resultant values gives minima which if less than a standard values of the first image minus the corresponding pixel
threshold establishes the recognition of the coin. To establish a values of the second image.. It also incorporates the
distinguished output MATLAB stimulation can be taken into checking of radius which would assist in choosing the
accord. Therefore, from this anticipated method a well- befitting coin from the database. Database amasses the
developed system can brought out to help the visually
standard coin used for recognizing the input image. Once
impaired to overcome their disability so that they can have a
well off life in the society. the precise image is selected, its feature are extracted and
IndexTerms— Indian Currency, Image Processing, PCA, subtracted from the input coin image. Image rotation
Rotation Invariance, Image Subtraction. invariance is introduced by rotating the image at fixed
angular interval thus providing us with the exact angle of
I. INTRODUCTION difference between the coins on analyzing the plot of the
The recognition of currency denomination is among the subtracted values.
most challenging problems faced by visually impaired We then combine these results accordingly and the
people since it constitutes an essential part of their day to required output is reached out towards the visually
day affairs. Though there are many recognition methods for impaired by an audio voice which reaches out to them
them but these methods put them at high risk of becoming through an ear phone.
victims of deception, either because of the complexity and
discomfort of using those methods or due to the dishonesty
of certain people who could try to take advantage of their
visual disabilities during the process. The present paper
describes the phases of the implementation of a system for
II. RECOGNITION OF BANK NOTES W×W window, centered on the pixel (x,y) , where W is 1/8
The Indian Bank Notes are of seven denominations and of the grayscale image’s width and W is a mean
each of it has the value of those denominations can be ponderation factor.
noticed at the corners at the front as well as the back of the
notes. t(x,y)=τη(x,y)(3)
The mean ponderation factor was heuristically chosen
A. LOCATION OF THE REGION OF INTEREST
as η=1.1 because, as a result of this selection, the white
One of the four regions of interest is determined from border of the banknote could be distinguished from the
the image that is taken by the camera, to be then recognized background in the binary image shown in Fig.I.A.2
through the finding of the vertex coordinates of the
banknote'sregion of interest, by using the end to end
projection of the binary, eroded image of the input image.
When such a region is detected, it is cropped to and scaled
to a 60 × 90 pixel resolution, region of interest.
This obtained image is ready to be recognized with the
processes described in section C, and will be known in
there as input image. The various processes involved after
the location of the region of interest are described in this
section.
FIG I.A.2 Binary Image
1) Conversion of RGB Image into Grayscale
The RBG-colour image delivered by the digital camera 3) Erosion Of Binary Image
is transformed into a grayscale image seenof the Fig. I.A.1 As one can see in Fig.A.2, the binary image contains
through the calculation of the average of the three channels noise, which is presented as white pixels isolated in the
RGB of the image, using eqn 1 background. Erosion aims at filtering it with a view to
eliminate that noise to the maximum extent feasible. The
GRAY= (GREEN+RED+BLUE)/3 (1) operation constructs a new binary eroded image be by
applying a structuring element, D to the original binary
image, B, using (4)
2) Binarization of the Grayscale Image The vertical PV and horizontal PH projection profile of
the eroded image be (x,y) of Q rows and R columns is
The method implemented was the adaptive thresholding defined as the sum of all white pixels for rows and
using local means. This method proved to be robust to columns using (5) and (6), respectively
strong illumination changes which will allow the system to 𝑃𝑉 =∑𝑅𝑥=1 𝑏𝑒 (x,y);∀𝑦 =
𝑄
work in varied illumination conditions. The basic 1,2, … . 𝑄(5) 𝑃𝐻 =∑𝑦=1 𝑏𝑒 (x,y);∀𝑥 =
methodology of such method consists of calculating for a
grayscale image, g(x,y) , a threshold t(x,y) for each pixel 1,2, … 𝑅(6)
position (x,y) such that the binary image b(x,y) is as in eqn
(2). The outcome of applying the equations (5) and (6) to
the eroded binary image is illustrated in Fig. 2.5. The
0, 𝑔(𝑥, 𝑦) ≤ 𝑡(𝑥, 𝑦) coordinates of the region of interest are those rows and that
b(x,y)={ (2) column whose vertical and horizontal profile respectively
1, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 exceeds a minimum threshold.
5) Cropping & Scaling of the Region of Interst the denomination of the banknote which, at the time of the
recognition, is being filmed by the the smartphone camera.
Once the coordinates of the vertices of the region of
interest are located, such portion is cropped from the
grayscale image to an aspect ratio of 2:3, and subsequently
scaled to a 60×90 pixel resolution using the nearest 1) The Prospectus Of Principle Component Analysis
neighbor interpolation method, as illustrated in Fig.I. A.3
The goal of principle component analysis (PCA) is to
reduce the dimensionality of the data while retaining as
much information (but no redundancy) as possible in the
original dataset.
PCA allows us to compute a linear transformation that
maps data from a high dimensional space to a lower
dimensional sub-space.
K selected, we normalize (match their module to 1) and used. In the figure we can see the effect of the threshold
organize them in a [u] matrix, which is part of the file selection in the overall efficiency of the system until
system. certain value is reached, from which on, the success rate
Each vector in matrix A is also projected to the remains constant
banknotes space, using eqn (12), where [u]T is the transpose
of the eigenvectors matrix, which is also the change of
basis matrix, introduced in the PCA theory. As a result, a
matrix [Ω] is produced, which contains, by columns, each
one of the sample images from the training set, but
represented in the new space, as 24×1 vectors, called
samples weights vectors.
[Ω]=[𝑢]𝑇 A (12)
5) BankNote Recognition