-
大小: 424KB文件类型: .zip金币: 2下载: 1 次发布日期: 2021-07-27
- 语言: Matlab
- 标签:
资源简介
一、课题介绍
该课题为基于MATLAB平台的PCA的人脸识别图像考勤系统。传统的人脸识别都是直接人头和人头的对比,现实意义不大,这块都做烂了,不易通过毕设答辩,而且论文不好写。该课题识别原理为:从一副生活照中寻找到人脸,并且分割人脸图象,利用PCA算法进行降维,和库里图片进行对比,输出目标人脸以及记录识别的时间,可以统计人脸打卡的当月次数,从而统计出勤率。该课题还可以继续二次开发,做成库内外人脸的识别,如果是库外人脸则实现报警。GUI界面有清除数据功能,统计工资等功能。
二、基本流程
读入图片,人脸定位,人脸分割,人脸识别,库内外报警
代码片段和文件信息
function varargout = facerecg(varargin)
% FACERECG MATLAB code for facerecg.fig
% FACERECG by itself creates a new FACERECG or raises the existing
% singleton*.
%
% H = FACERECG returns the handle to a new FACERECG or the handle to
% the existing singleton*.
%
% FACERECG(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in FACERECG.M with the given input arguments.
%
% FACERECG(‘Property‘‘Value‘...) creates a new FACERECG or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before facerecg_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to facerecg_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 facerecg
% Last Modified by GUIDE v2.5 14-Feb-2020 14:09:07
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @facerecg_OpeningFcn ...
‘gui_OutputFcn‘ @facerecg_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State varargin{:});
else
gui_mainfcn(gui_State varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before facerecg is made visible.
function facerecg_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% 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 command line arguments to facerecg (see VARARGIN)
% Choose default command line output for facerecg
handles.output = hobject;
%set(gcf‘name‘‘图像考勤系统‘)
% Update handles structure
guidata(hobject handles);
% UIWAIT makes facerecg wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = facerecg_OutputFcn(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)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in pushbuttontrain.
function pushbuttontrain_Callback(hobject eventdata handles)
% hobject handle to pushbuttontrain (see GCBO)
% e
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-07-31 23:31 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\
文件 160897 2020-02-03 22:40 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\GUI界面设计.png
文件 79 2020-07-31 19:18 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\Record.txt
文件 12231 2020-07-31 19:23 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\facerecg.fig
文件 8336 2020-07-31 19:16 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\facerecg.m
文件 454 2020-07-31 19:17 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\mydist.m
目录 0 2020-08-01 15:43 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\人脸库\
目录 0 2020-07-31 19:18 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\原始图象\
文件 18 2020-07-31 19:19 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\原始图象\说明.txt
文件 572 2020-07-31 23:24 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\打开方式.txt
文件 269650 2020-02-03 22:40 MATLAB人脸考勤打卡签到系统[摄像头界面GUI]\效果预期图ps.png
- 上一篇:基于线性预测下的语音合成
- 下一篇:matlab 数字图像处理系统.zip
评论
共有 条评论