資源簡介
基于opencv的人臉檢測與跟蹤,算法高效,mfc界面完成,可供參考優化修改

代碼片段和文件信息
//?OpencvUIDlg.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“OpencvUIDlg.h“
#include?“OpencvUIDlgDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?COpencvUIDlgApp
BEGIN_MESSAGE_MAP(COpencvUIDlgApp?CWinApp)
//{{AFX_MSG_MAP(COpencvUIDlgApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?COpencvUIDlgApp?construction
COpencvUIDlgApp::COpencvUIDlgApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?COpencvUIDlgApp?object
COpencvUIDlgApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?COpencvUIDlgApp?initialization
BOOL?COpencvUIDlgApp::InitInstance()
{
AfxEnableControlContainer();
//?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.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
COpencvUIDlgDlg?dlg;
m_pMainWnd?=?&dlg;
int?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
}
//?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??2011-09-04?14:48??OpencvUIDlg2.1
?????文件?????921654??2011-08-30?20:36??OpencvUIDlg2.1\1.bmp
?????文件?????921654??2011-08-30?20:36??OpencvUIDlg2.1\2.bmp
?????文件?????921654??2011-08-30?20:36??OpencvUIDlg2.1\3.bmp
?????文件?????129016??2009-08-30?13:42??OpencvUIDlg2.1\arrow.ani
?????文件????????326??2008-04-29?16:00??OpencvUIDlg2.1\cross_i.cur
?????目錄??????????0??2011-09-04?14:48??OpencvUIDlg2.1\Debug
?????文件????????766??2009-08-30?13:44??OpencvUIDlg2.1\hcross.cur
?????文件????????766??2009-08-30?13:47??OpencvUIDlg2.1\lcross.cur
?????文件??????27548??2011-08-15?20:55??OpencvUIDlg2.1\OpencvUIDlg.aps
?????文件???????2551??2009-08-30?16:02??OpencvUIDlg2.1\OpencvUIDlg.clw
?????文件???????2133??2009-08-27?09:21??OpencvUIDlg2.1\OpencvUIDlg.cpp
?????文件???????4566??2009-08-30?14:42??OpencvUIDlg2.1\OpencvUIDlg.dsp
?????文件????????545??2009-08-27?09:21??OpencvUIDlg2.1\OpencvUIDlg.dsw
?????文件???????1379??2009-08-27?09:21??OpencvUIDlg2.1\OpencvUIDlg.h
?????文件??????53760??2009-08-30?16:13??OpencvUIDlg2.1\OpencvUIDlg.opt
?????文件????????921??2009-08-30?16:02??OpencvUIDlg2.1\OpencvUIDlg.plg
?????文件????????402??2009-08-30?16:13??OpencvUIDlg2.1\OpencvUIDlg.positions
?????文件???????7948??2009-08-30?16:02??OpencvUIDlg2.1\OpencvUIDlg.rc
?????文件????????886??2011-08-15?20:48??OpencvUIDlg2.1\OpencvUIDlg.sln
????..A..H.?????15872??2011-08-30?21:47??OpencvUIDlg2.1\OpencvUIDlg.suo
?????文件???????7794??2011-08-28?15:45??OpencvUIDlg2.1\OpencvUIDlg.vcproj
?????文件???????1427??2011-08-30?21:47??OpencvUIDlg2.1\OpencvUIDlg.vcproj.CHINA-2DAFD5979.Administrator.user
?????文件??????20776??2011-08-30?21:47??OpencvUIDlg2.1\OpencvUIDlgDlg.cpp
?????文件???????1943??2009-08-30?15:38??OpencvUIDlg2.1\OpencvUIDlgDlg.h
?????文件???????3669??2009-08-27?09:21??OpencvUIDlg2.1\ReadMe.txt
?????目錄??????????0??2011-08-28?15:49??OpencvUIDlg2.1\Release
?????目錄??????????0??2009-08-30?11:02??OpencvUIDlg2.1\res
?????文件???????1270??2009-08-27?11:38??OpencvUIDlg2.1\res\blank.bmp
?????文件???????1078??2009-08-27?09:21??OpencvUIDlg2.1\res\OpencvUIDlg.ico
............此處省略7個文件信息
- 上一篇:51單片機程序大全C語言寫的150個程序
- 下一篇:MFC音樂播放器
評論
共有 條評論