基于像素匹配的MATLAB平台身份证号码实时识别
- 课题介绍
随着信息化技术的发展和智能手机的日益普及和平民化,以MATLAB应用为代表的移动应用越来越广泛,为人们的生活带来了诸多方便。一款移动应用能否赢得用户,除了功能实用、界面美观外,操作的便利和简单也是一项重要指标。作为一款优秀的移动应用,与用户的交互应该尽可能地简单方便,尽量减少用户繁锁的输入。众所周知,阿里巴巴集团的“支付宝钱包”App中扫一扫识别银行卡号的功能,极大地提高了用户输入银行卡号的速度,减少了出错率,无需用户一遍一遍进行核对,十分方便。而对于公民身份证号来说,目前二代身份证号普遍为18位,比银行卡号更长,对于中老年用户来说要输入这么长一串数字非常繁锁,如果能够像支付宝钱包一样采用自动识别的技术来进行辅助输入,将会为身份证号码的输入提供极大的便利。
- 算法流程
![b064f120ab54d1b4b35c40589f09ca2c.png](https://i-blog.csdnimg.cn/blog_migrate/f48a1a7a90262720a4e02033f7dc2864.png)
- GUI界面设计
![cc4aac7e3cfa59d8cecb023383d3a5cf.png](https://i-blog.csdnimg.cn/blog_migrate/61a8c6d6d8b828825e283b24889b7a58.png)
- 参考代码
源码地址 ;MATLAB身份证识别GUI.zip-网络管理文档类资源-CSDN下载
function varargout = homework2(varargin)
% HOMEWORK2 M-file for homework2.fig
% HOMEWORK2, by itself, creates a new HOMEWORK2 or raises the existing
% singleton*.
%
% H = HOMEWORK2 returns the handle to a new HOMEWORK2 or the handle to
% the existing singleton*.
%
% HOMEWORK2('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in HOMEWORK2.M with the given input arguments.
%
% HOMEWORK2('Property','Value',...) creates a new HOMEWORK2 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before homework2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to homework2_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help homework2
% Last Modified by GUIDE v2.5 20-May-2013 21:21:00
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Single