資源簡介
系統是學期結束做的學期大作業,有免安裝版直接測試功能,有完整的源碼,保證完整無誤,配置環境自行百度即可 。實現了人臉識別 人臉標識 ,訓練樣本后能識別出訓練對象,大家可以繼續改進,學習
代碼片段和文件信息
//?FaceDetector.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“FaceDetector.h“
#include?“FaceDetectorDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CFaceDetectorApp
BEGIN_MESSAGE_MAP(CFaceDetectorApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CFaceDetectorApp?construction
CFaceDetectorApp::CFaceDetectorApp()
{
//?support?Restart?Manager
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CFaceDetectorApp?object
CFaceDetectorApp?theApp;
//?CFaceDetectorApp?initialization
BOOL?CFaceDetectorApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?Create?the?shell?manager?in?case?the?dialog?contains
//?any?shell?tree?view?or?shell?list?view?controls.
CShellManager?*pShellManager?=?new?CShellManager;
//?Activate?“Windows?Native“?visual?manager?for?enabling?themes?in?MFC?controls
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//?of?your?final?executable?you?should?remove?from?the?following
//?the?specific?initialization?routines?you?do?not?need
//?Change?the?registry?key?under?which?our?settings?are?stored
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
CFaceDetectorDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
else?if?(nResponse?==?-1)
{
TRACE(traceAppMsg?0?“Warning:?dialog?creation?failed?so?application?is?terminating?unexpectedly.\n“);
TRACE(traceAppMsg?0?“Warning:?if?you?are?using?MFC?controls?on?the?dialog?you?cannot?#define?_AFX_NO_MFC_CONTROLS_IN_DIALOGS.\n“);
}
//?Delete?the?shell?manager?created?above.
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-31?15:08??人臉識別免安裝程序\
?????目錄???????????0??2017-05-29?19:35??人臉識別免安裝程序\Debug\
?????文件?????9081856??2017-05-29?19:28??人臉識別免安裝程序\Debug\FaceDetector.exe
?????文件??????777721??2013-11-13?17:44??人臉識別免安裝程序\Debug\haarcascade_mcs_lefteye.xm
?????文件?????1383113??2013-11-13?17:44??人臉識別免安裝程序\Debug\haarcascade_mcs_righteye.xm
?????文件???????51856??2013-11-13?17:44??人臉識別免安裝程序\Debug\lbpcascade_frontalface.xm
?????文件??????815272??2013-10-05?02:38??人臉識別免安裝程序\Debug\msvcp120d.dll
?????文件?????1824424??2013-10-05?02:38??人臉識別免安裝程序\Debug\msvcr120d.dll
?????文件?????1506304??2014-04-15?17:19??人臉識別免安裝程序\Debug\opencv_calib3d249d.dll
?????文件?????2360320??2014-04-15?17:20??人臉識別免安裝程序\Debug\opencv_contrib249d.dll
?????文件?????3515392??2014-04-15?17:18??人臉識別免安裝程序\Debug\opencv_core249d.dll
?????文件?????1464832??2014-04-15?17:19??人臉識別免安裝程序\Debug\opencv_features2d249d.dll
?????文件?????1163264??2014-04-15?17:18??人臉識別免安裝程序\Debug\opencv_flann249d.dll
?????文件?????3697152??2014-04-15?17:19??人臉識別免安裝程序\Debug\opencv_highgui249d.dll
?????文件?????3144192??2014-04-15?17:18??人臉識別免安裝程序\Debug\opencv_imgproc249d.dll
?????文件?????1048064??2014-04-15?17:18??人臉識別免安裝程序\Debug\opencv_ml249d.dll
?????文件?????1432576??2014-04-15?17:19??人臉識別免安裝程序\Debug\opencv_objdetect249d.dll
?????文件??????692736??2014-04-15?17:18??人臉識別免安裝程序\Debug\opencv_video249d.dll
?????文件?????1362801??2017-05-31?15:10??人臉識別免安裝程序\Debug\TrainedModel.xm
?????文件??????772784??2013-10-05?02:38??人臉識別免安裝程序\Debug\vccorlib120d.dll
?????目錄???????????0??2017-05-31?13:20??人臉識別源程序\
?????目錄???????????0??2017-06-02?12:25??人臉識別源程序\FaceDetector源程序\
?????目錄???????????0??2017-06-02?12:24??人臉識別源程序\FaceDetector源程序\Debug\
?????目錄???????????0??2017-06-02?12:24??人臉識別源程序\FaceDetector源程序\FaceDetector\
?????文件????????1257??2017-05-27?15:56??人臉識別源程序\FaceDetector源程序\FaceDetector.sln
?????文件???????20992??2017-06-02?12:25??人臉識別源程序\FaceDetector源程序\FaceDetector.suo
?????文件???????32256??2015-07-18?23:44??人臉識別源程序\FaceDetector源程序\FaceDetector.v12.suo
?????目錄???????????0??2017-06-02?12:24??人臉識別源程序\FaceDetector源程序\FaceDetector\Debug\
?????文件?????1031068??2017-05-29?19:28??人臉識別源程序\FaceDetector源程序\FaceDetector\FaceDetector.aps
?????文件????????2993??2015-07-17?17:32??人臉識別源程序\FaceDetector源程序\FaceDetector\FaceDetector.cpp
?????文件?????????541??2015-07-17?17:32??人臉識別源程序\FaceDetector源程序\FaceDetector\FaceDetector.h
............此處省略26個文件信息
- 上一篇:非線性控制系統答案 第三版 Hassan K.Khalil
- 下一篇:T50中文驅動
評論
共有 條評論