lbp svm的视频人脸识别算法研究 基于GUI界面
发布时间
阅读量:
阅读量
主要的方法为
首先将视频转化为帧
然后对于每一个帧提取他的特征 这里提取的是lbp特征
然后将数据的特征放在svm 这里采取libsvm
构建了良好的svm网络,可以得到最后的试验结果

这是网络采集的视频

可以看到 咱们吧数据的特征都提取完毕

选择测试视频后 可以提取到特征

结果是13 13就是咱们的结果 证明方法是对的

function varargout = udui111ntitled1(varargin)
% UDUI111NTITLED1 MATLAB code for udui111ntitled1.fig
% UDUI111NTITLED1, by itself, creates a new UDUI111NTITLED1 or raises the existing
% singleton*.
%
% H = UDUI111NTITLED1 returns the handle to a new UDUI111NTITLED1 or the handle to
% the existing singleton*.
%
% UDUI111NTITLED1('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in UDUI111NTITLED1.M with the given input arguments.
%
% UDUI111NTITLED1('Property','Value',...) creates a new UDUI111NTITLED1 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before udui111ntitled1_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to udui111ntitled1_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 udui111ntitled1
% Last Modified by GUIDE v2.5 09-Jul-2022 19:43:29
% Begin initialization code - DO NOT EDIT
%%以下的是固定的开场程序,当建立GUI界面时候 就会独立形成这个函数
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @udui111ntitled1_OpeningFcn, ...
'gui_OutputFcn', @udui111ntitled1_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 udui111ntitled1 is made visible.
function udui111ntitled1_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 udui111ntitled1 (see VARARGIN)
% Choose default command line output for udui111ntitled1
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes udui111ntitled1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = udui111ntitled1_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;
代码解读
代码
lbpsvm视频人脸识别算法研究基于GUI界面-机器学习文档类资源-文库
全部评论 (0)
还没有任何评论哟~
