What are the various feature extraction ways in Indian currency recognition by image processing?

6 visualizzazioni (ultimi 30 giorni)
im=imread('C:\Users\DELL\Documents\MATLAB\divya\new_notes\10.jpg');
im1= rgb2gray(im);
glcm1=graycomatrix(im1);
glcm_prop= graycoprops(glcm1);

Risposte (1)

Image Analyst
Image Analyst il 5 Mar 2019
Search this forum for terms like money, currency, etc. (See tags at the right of this page.) About 2-3 times a year someone asks about recognizing currency (usually Indian money for some reason).
What I'd do is to have a library of reference images for all the bills. Then I'd scale the intensities with imadjust so all the intensity ranges are pretty close. Then I'd use immse() to find the mean square error between the unknown bill and each reference bill. The one with the lowest MSE is the one that the unknown bill is. If that doesn't work, you'll have to make it more sophisticated, but that is about the simplest algorithm I can think of that might work. Basically just a few lines of code. Here's a start for one reference bill
minMSE = inf;
unknownImage = imread('unknown bill.png');
% Repeat code below for every reference image, for example in a for loop
refFileName = '10 rupees.png';
refImage = imread(refFileName);
% Standardize intensities:
unknownImage = imadjust(unknownImage);
refImage = imadjust(refImage);
% Compute difference
thisMSE = immse(unknownImage, refImage)
if thisMSE < minMSE
minMSE = thisMSE;
billThatItIs = refFileName;
end
Repeat that code (except for the first line setting minMSE to infinity, and the second line where you read in your unknown bill image) for every reference bill in your collection.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by