How to compare two fingerprints

I am working on fingerprints recognition project and having certain problems as below, 1. Created GUI that calls one function by name match_end and fingertemplate accepts 2 different *.dat files containing ASCII data of fingerprints. h=uicontrol('Style','pushbutton',... 'String','Match',... 'Position',[0,80,80,20],... 'Callback',... ['finger1=fingerTemplateRead;'... 'finger2=fingerTemplateRead;'... 'percent_match=match_end(finger1,finger2,10);']);
The 1st two functions working properly but, getting error in match_end as ??? Error: File: match_end.m Line: 2 Column: 56 Unexpected MATLAB expression.
The code of match_end is,
function percent_match = match_end(finger1,finger2) max_percent(1,2) = k1; max_percent(1,3) = k2; %end; num_match = 0;
%end; %end; %end;
percent_match = max_percent(1,1)*100/minuNum1; %end;
%if function is called in GUI mode, popup out the message box %for final result if nargin == 3
text=strcat('The max matching percentage is ',num2str(percent_match),'%');
msgbox(text);
if percent_match >= 75
msgbox('Finger Print Accepted');
else
msgbox('Finger Print Rejected.');
end
end;
In addition, I have also created one batch which is calling above funtion. But I don't know how to connect these two parts. Please help me in this regard.

2 Comments

can you share your codes thus i know whats the actual problem is ?
This was posted 5 and a half years ago. I doubt Shivansu is still working on this and still needs help.
If he does, he can get algorithms here
or he can take advantage of your generous offer of help. For anyone else, perhaps you can help them in advance by attaching your fingerprint comparison code. Be sure to attach your two images in addition to the m-file. Screenshots would also be helpful.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 17 Jun 2013

Commented:

on 26 Nov 2018

Community Treasure Hunt

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

Start Hunting!