• 大小: 6.82M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-02
  • 语言: 其他
  • 标签: 其他  

资源简介

ID_CARD.rar

资源截图

代码片段和文件信息

%CREATE TEMPLATES
%Letter
X=imread(‘letters_numbers\X.bmp‘);  Y=imread(‘letters_numbers\Y.bmp‘);
xing=imread(‘letters_numbers\xing.bmp‘);ming=imread(‘letters_numbers\ming.bmp‘);
xing1=imread(‘letters_numbers\xing1.bmp‘);  bie=imread(‘letters_numbers\bie.bmp‘);
min=imread(‘letters_numbers\min.bmp‘);zu=imread(‘letters_numbers\zu.bmp‘);
chu=imread(‘letters_numbers\chu.bmp‘); sheng=imread(‘letters_numbers\sheng.bmp‘);
nian=imread(‘letters_numbers\nian.bmp‘);yue=imread(‘letters_numbers\yue.bmp‘);
ri=imread(‘letters_numbers\ri.bmp‘); zhu=imread(‘letters_numbers\zhu.bmp‘);
zhi=imread(‘letters_numbers\zhi.bmp‘);  gong=imread(‘letters_numbers\gong.bmp‘);
shen=imread(‘letters_numbers\shen.bmp‘);fen=imread(‘letters_numbers\fen.bmp‘);
zheng=imread(‘letters_numbers\zheng.bmp‘); hao=imread(‘letters_numbers\hao.bmp‘);
ma=imread(‘letters_numbers\ma.bmp‘);nan=imread(‘letters_numbers\nan.bmp‘);
nv=imread(‘letters_numbers\nv.bmp‘); han=imread(‘letters_numbers\han.bmp‘);
san=imread(‘letters_numbers\san.bmp‘);


%Number
one=imread(‘letters_numbers\1.bmp‘);  two=imread(‘letters_numbers\2.bmp‘);
three=imread(‘letters_numbers\3.bmp‘);four=imread(‘letters_numbers\4.bmp‘);
five=imread(‘letters_numbers\5.bmp‘); six=imread(‘letters_numbers\6.bmp‘);
seven=imread(‘letters_numbers\7.bmp‘);eight=imread(‘letters_numbers\8.bmp‘);
nine=imread(‘letters_numbers\9.bmp‘); zero=imread(‘letters_numbers\0.bmp‘);
%*-*-*-*-*-*-*-*-*-*-*-
    letter=[X Y xing ming xing1 bie min...  %每行7个
        zu chu sheng nian yue ri zhu...
        zhi gong shen fen zheng hao ma...
        nan nv han san];
number=[one two three four five...
    six seven eight nine zero];

character=[number letter];
templates=mat2cell(character36[23 23 23 23 23 23 23 ...%每行7个
    23 23 23 23 23 23 23....
    23 23 23 23 23 23 23....
    23 23 23 23 23 23 23....
    23 23 23 23 23 23 23
    ]);
save (‘templates‘‘templates‘)
clear all

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1940  2013-05-22 10:27  homework22\create_templates.m

     文件        643  2013-05-23 15:04  homework22\erzhihua.m

     文件      10379  2013-05-24 14:34  homework22\homework2.asv

     文件       9695  2013-05-21 10:47  homework22\homework2.fig

     文件      10381  2013-05-24 14:39  homework22\homework2.m

     文件         96  2013-05-25 10:55  homework22\ID_card.txt

     文件     136974  2013-04-16 15:47  homework22\ID1.jpg

     文件     157392  2013-05-21 17:02  homework22\ID10.jpg

     文件     197316  2013-04-16 15:47  homework22\ID2.jpg

     文件      72167  2013-04-16 15:47  homework22\ID3.jpg

     文件     125997  2013-04-16 15:47  homework22\ID4.jpg

     文件      90882  2013-04-16 15:47  homework22\ID5.jpg

     文件     201748  2013-04-16 15:47  homework22\ID6.jpg

     文件     223989  2013-04-16 15:47  homework22\ID7.jpg

     文件      51407  2013-05-20 23:13  homework22\ID8.jpg

     文件     122565  2013-05-21 13:51  homework22\ID9.jpg

     文件       1185  2013-05-23 17:17  homework22\imagebw.m

     文件       1942  2013-05-24 13:11  homework22\letters_numbers\0.bmp

     文件       1942  2013-05-24 13:12  homework22\letters_numbers\1.bmp

     文件       1942  2013-05-24 13:18  homework22\letters_numbers\2.bmp

     文件       1942  2013-05-24 13:12  homework22\letters_numbers\3.bmp

     文件       1942  2013-05-24 13:18  homework22\letters_numbers\4.bmp

     文件       1942  2013-05-24 13:18  homework22\letters_numbers\5.bmp

     文件       1942  2013-05-24 13:18  homework22\letters_numbers\6.bmp

     文件       1942  2013-05-24 13:18  homework22\letters_numbers\7.bmp

     文件       1942  2013-05-24 13:12  homework22\letters_numbers\8.bmp

     文件       1942  2013-05-24 13:18  homework22\letters_numbers\9.bmp

     文件       1942  2013-05-22 10:27  homework22\letters_numbers\bie.bmp

     文件       1942  2013-05-22 10:27  homework22\letters_numbers\chu.bmp

     文件       1942  2013-05-22 10:27  homework22\letters_numbers\fen.bmp

............此处省略78个文件信息

评论

共有 条评论