基于matlab的人脸识别系统设计与仿真毕业论文(编辑修改稿)内容摘要:
积分图像分析法 检测速度 较快, 满足实时检测 的 要求,检测效率 相对较高 错误报警数 与 检测率 成反比 支撑向量法 具有更好的泛化能力 “非人脸”的复杂 造成支持向量数目 较多, 导致 运算复杂度 变 大 运用 matlab 软件 仿真进行人脸检测定位实例: 人脸检测定位程序: %%%%% Reading of a RGB image原始图像 i=imread(39。 F:\39。 )。 I=rgb2gray(i)。 BW=im2bw(I)。 figure,imshow(BW) %%%%%%%%%%%%%%%%%%%%灰度图像及均衡化灰度图像 [n1 n2]=size(BW)。 r=floor(n1/10)。 c=floor(n2/10)。 x1=1。 x2=r。 s=r*c。 for i=1:10 y1=1。 y2=c。 for j=1:10 if (y2=c | y2=9*c) | (x1==1 | x2==r*10) loc=find(BW(x1:x2, y1:y2)==0)。 佳木斯大学学士学位论文 佳木斯大学信息电子技术学院 15 [o p]=size(loc)。 pr=o*100/s。 if pr=100 BW(x1:x2, y1:y2)=0。 r1=x1。 r2=x2。 s1=y1。 s2=y2。 pr1=0。 end imshow(BW)。 end y1=y1+c。 y2=y2+c。 end x1=x1+r。 x2=x2+r。 end figure,imshow(BW) %%%%%%%%%%%%%%%%%%人脸定位 %%%%%%%%%%%%%%%%%% %%%%% L = bwlabel(BW,8)。 BB = regionprops(L, 39。 BoundingBox39。 )。 BB1=struct2cell(BB)。 BB2=cell2mat(BB1)。 [s1 s2]=size(BB2)。 mx=0。 for k=3:4:s21 p=BB2(1,k)*BB2(1,k+1)。 if pmx amp。 (BB2(1,k)/BB2(1,k+1)) 佳木斯大学学士学位论文 佳木斯大学信息电子技术学院 16 mx=p。 j=k。 end end figure,imshow(I)。 hold on。 rectangle(39。 Position39。 ,[BB2(1,j2),BB2(1,j1),BB2(1,j),BB2(1,j)],39。 EdgeColor39。 ,39。 r39。 ) 佳木斯大学学士学位论文 佳木斯大学信息电子技术学院 17 匹配与识别 人脸 人别系统的最后一步是人脸识别。 人脸识别,即通过 对所采集到的人脸图像进行一系列处理,提取待识别人脸图像的特征信息,通过与已存人脸数据库信息进行 匹配 识别,确定待识别人脸图像的基本信息。 运行如下代码: function varargout = faceCore(varargin) % FACECORE Mfile for % FACECORE, by itself, creates a new FACECORE or raises the existing % singleton*. % % H = FACECORE returns the handle to a new FACECORE or the handle to % the existing singleton*. % % FACECORE(39。 CALLBACK39。 ,hObject,eventData,handles,...) calls the local % function named CALLBACK in with the given input arguments. % % FACECORE(39。 Property39。 ,39。 Value39。 ,...) creates a new FACECORE or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before faceCore_OpeningFunction gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to faceCore_OpeningF via varargin. 佳木斯大学学士学位论文 佳木斯大学信息电子技术学院 18 % % *See GUI Options on GUIDE39。 s Tools menu. Choose GUI allows only one % instance to run (singleton). % % See also: GUIDE, GUIDATA, GUIHANDLES % Copyright 20202020 The MathWorks, Inc. % Edit the above text to modify the response to help faceCore % Last Modified by GUIDE 28May2020 10:21:26 % Begin initialization code DO NOT EDIT gui_Singleton = 1。 gui_State = struct(39。 gui_Name39。 , mfilename, ... 39。 gui_Singleton39。 , gui_Singleton, ... 39。 gui_OpeningF39。 , @faceCore_OpeningF, ... 39。 gui_OutputF39。 , @faceCore_OutputF, ... 39。 gui_LayoutF39。 , [] , ... 39。 gui_Callback39。 , [])。 if nargin amp。 amp。 ischar(varargin{1}) = str2func(varargin{1})。 end if nargout [varargout{1:nargout}] = gui_mainf(gui_State, varargin{:})。 else gui_mainf(gui_State, varargin{:})。 佳木斯大学学士学位论文 佳木斯大学信息电子技术学院 19 end % End initialization code DO NOT EDIT % Executes just before faceCore is made visible. function faceCore_OpeningF(hObject, eventdata, handles, varargin) % This function has no output args, see OutputF. % hObject handle to figure % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin mand line arguments to faceCore (see VARARGIN) % Choose default mand line output for faceCore = hObject。 % Update handles structure guidata(hObject, handles)。 % UIWAIT makes faceCore wait for user response (see UIRESUME) % uiwait()。 % Outputs from this function are returned to the mand line. function varargout = faceCore_OutputF(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT)。 % hObject handle to figure % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) 佳木斯大学学士学位论文 佳木斯大学信息电子技术学院 20 % Get default mand line output from handles structure varargout{1} =。 % Executes on button press in pushbutton1. function pushbutton1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global TrainDatabasePath。 TrainDatabasePath = uigetdir(strcat(matlabroot,39。 \work39。 ), 39。 训练库路径选择 ...39。 )。 % Executes on button press in pushbutton2. function pushbutton2_Callback(hObject, eventdata, handles) % hObject handle to pushbutton2 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global TestDatabasePath。 TestDatabasePath = uigetdir(strcat(matlabroot,39。 \work39。 ), 39。 测试库路径选择 ...39。 )。 % Executes on button press in pushbutton3. %function pushbutton3_Callback(hObject, eventdata, handles) % hObject handle to pushbutton3 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB。基于matlab的人脸识别系统设计与仿真毕业论文(编辑修改稿)
相关推荐
图 22 是扩频系统的物理模 型,信源产生的信号经过第一次调制即信息调制(如信源编码)成为一种数字信号,在进行第二次调制即扩频调制,然后再进行第三次调制,把经过扩频的信号搬移到射频上发射出去。 接收端,接收到信号后先经过混频,得到一中频信号,再用本地扩频码进行相关解扩,恢复成窄带信号,在进行解调,将数字信号还原出来。 接收端 的本地扩频码与发射端用得扩频码完全同步。 []sS 信道
P ADC DSP(TMS320F2808)主控单元 逆变驱动 电路 辅助电源 并网电流采样 信号调理 公共电网 电网电压采样 信号调理 相位捕获 中北大学 2020 届本科毕业论文 第 15 页 共 70 页 统各项控制指标,经过 对各种控制芯片的比较,最终选择 TI 公司 DSP( TMS320F2808)芯片。 主控单元实现的功能可以用图 表示,具体描述如下: ( 1) 产生 IGBT
a 为伸缩因子, L2(R)为可测 的 平方可积空 间 .对于 较 大的 a, 子波母函 数 可 变为伸张型的宽型子波的低频函数,当 a 很小时,基函数就会变为压 缩型的窄型子波的高频函数,所以 a 代表着频率特征。 母子波函数 )(t 是一个具有带 第 15 页 共 45 页 通特性且 有限能量的连续函数,亦即: 0)( dtt (32) dtt)(2 (33)
6 用 φ 、 τ 分别表示电机磁链和转矩的给定值和实际值的误差状态 , 当给定值比实际值大时状态为 1, 否则状态为 0, 则由 φ 、 τ 的状态以及磁链所处分区的位置 ,便可按表 1 选择开关电压矢量 , 并为了方便在 MATLAB/simulink 中实现查表的位置我们假设一个变量的到: 21S ( 9)。 逆变器开 关时间控制模型 如图 2所示
有界实函数的 VC 维可以通过用一定的阈值将它转化成指示函数来定义。 VC 维反映了函数集的学习能力, VC 维越大则学习机器越复杂 (容量越大 ),目前尚没有通用的关于任意函数集 VC 维计算的理论,只对一些特殊的函数集知道其 VC 维。 Vapnik 和 Chervonenkis 在 1968 年又发现了下面的规律: VC 维对于 一个指示函数集,如果其生长函数是线形的,则它的 VC
过添加一些先进的通信技术和原有技术的提高,在速度上相对于原 LTE 系统 LTEA 系统的性能有很大的提高,真正根据 4G 系统的要求完成。 在众多 4G 标准中 ,LTE 系统标准占据了一个举足轻重的位置。 LTE 的研究背景 在低层面上,为了对付 WIMAX 标准的市场之间的竞争,在高层面上,为了融合宽带无线接入与移动通讯, 3GPP 驱动了 LTE 项目。