資源簡(jiǎn)介
利用分類器實(shí)現(xiàn)駕駛員的實(shí)時(shí)疲勞檢測(cè) 經(jīng)本人 親測(cè) 很好用 請(qǐng)放心下載

代碼片段和文件信息
//?IVS.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“IVS.h“
#include?“IVSDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CIVSApp
BEGIN_MESSAGE_MAP(CIVSApp?CWinApp)
//{{AFX_MSG_MAP(CIVSApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CIVSApp?construction
CIVSApp::CIVSApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CIVSApp?object
CIVSApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CIVSApp?initialization
BOOL?CIVSApp::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
CIVSDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????861012??2011-03-31?23:49??疲勞駕駛\haarcascade_frontalface_alt2.xm
?????文件?????119676??2011-04-14?12:51??疲勞駕駛\IVS.APS
?????文件???????1176??2011-05-05?22:56??疲勞駕駛\IVS.clw
?????文件???????2021??2011-03-31?23:49??疲勞駕駛\IVS.cpp
?????文件???????4409??2011-03-31?23:49??疲勞駕駛\IVS.dsp
?????文件????????529??2011-03-31?23:49??疲勞駕駛\IVS.dsw
?????文件???????1291??2011-03-31?23:49??疲勞駕駛\IVS.h
?????文件?????263168??2011-05-05?22:56??疲勞駕駛\IVS.ncb
?????文件????????240??2011-05-05?22:55??疲勞駕駛\IVS.plg
?????文件???????5613??2011-03-31?23:54??疲勞駕駛\IVS.rc
?????文件???????6170??2011-03-31?23:53??疲勞駕駛\IVSDlg.cpp
?????文件???????1635??2011-03-31?23:49??疲勞駕駛\IVSDlg.h
?????文件???????3525??2011-03-31?23:49??疲勞駕駛\ReadMe.txt
?????文件???????1139??2011-03-31?23:49??疲勞駕駛\resource.h
?????文件??????23878??2011-03-31?23:49??疲勞駕駛\sleep.bmp
?????文件????????205??2011-03-31?23:49??疲勞駕駛\StdAfx.cpp
?????文件???????1054??2011-03-31?23:49??疲勞駕駛\StdAfx.h
?????文件??????74574??2011-03-31?23:49??疲勞駕駛\weixian2.bmp
?????文件???????1078??2011-03-31?23:49??疲勞駕駛\res\IVS.ico
?????文件????????395??2011-03-31?23:49??疲勞駕駛\res\IVS.rc2
????..A..H.??????3072??2011-03-31?23:49??疲勞駕駛\res\Thumbs.db
?????文件?????101056??2011-04-15?00:20??疲勞駕駛\Release\IVS.res
?????文件????5618008??2011-04-15?00:20??疲勞駕駛\Release\IVS.pch
?????文件??????50176??2011-04-15?00:20??疲勞駕駛\Release\vc60.idb
?????文件????????786??2011-04-15?00:20??疲勞駕駛\Release\StdAfx.obj
?????文件??????14122??2011-04-15?00:20??疲勞駕駛\Release\Video.obj
?????文件??????18268??2011-04-15?00:20??疲勞駕駛\Release\IVSDlg.obj
?????文件???????9569??2011-04-15?00:20??疲勞駕駛\Release\IVS.obj
?????文件????3326976??2011-03-31?23:49??疲勞駕駛\Debug\IVS.bsc
?????文件??????????0??2011-03-31?23:49??疲勞駕駛\Debug\IVS.sbr
............此處省略25個(gè)文件信息
評(píng)論
共有 條評(píng)論