利用opencv实现疲劳检测


利用opencv实现疲劳检测的功能,自学的一点东西,供大家参考。
资源截图
代码片段和文件信息
// 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-01-12 10:04  利用OpenCV实现疲劳检测的功能
     目录           0  2016-01-12 10:04  利用OpenCV实现疲劳检测的功能疲劳检测
     目录           0  2016-01-12 09:53  利用OpenCV实现疲劳检测的功能疲劳检测Backup
     目录           0  2016-01-12 09:54  利用OpenCV实现疲劳检测的功能疲劳检测Debug
     文件         741  2016-01-12 09:59  利用OpenCV实现疲劳检测的功能疲劳检测DebugIVS.log
     目录           0  2016-01-12 09:53  利用OpenCV实现疲劳检测的功能疲劳检测DebugIVS.tlog
     文件      861012  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测haarcascade_frontalface_alt2.xml
     目录           0  2016-01-12 09:54  利用OpenCV实现疲劳检测的功能疲劳检测ipch
     目录           0  2016-01-12 09:54  利用OpenCV实现疲劳检测的功能疲劳检测ipchivs-def4149a
     文件    74776576  2016-01-12 09:58  利用OpenCV实现疲劳检测的功能疲劳检测ipchivs-def4149aivs-4d3975c8.ipch
     文件      119676  2011-04-14 12:51  利用OpenCV实现疲劳检测的功能疲劳检测IVS.APS
     文件        2141  2016-01-12 09:51  利用OpenCV实现疲劳检测的功能疲劳检测IVS.cbp
     文件        1176  2011-05-05 22:56  利用OpenCV实现疲劳检测的功能疲劳检测IVS.clw
     文件        2021  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测IVS.cpp
     文件        4409  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测IVS.dsp
     文件         529  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测IVS.dsw
     文件        1291  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测IVS.h
     文件         147  2016-01-12 09:52  利用OpenCV实现疲劳检测的功能疲劳检测IVS.layout
     文件      263168  2011-05-05 22:56  利用OpenCV实现疲劳检测的功能疲劳检测IVS.ncb
     文件      569856  2011-05-05 22:56  利用OpenCV实现疲劳检测的功能疲劳检测IVS.opt
     文件         240  2011-05-05 22:55  利用OpenCV实现疲劳检测的功能疲劳检测IVS.plg
     文件        5613  2011-03-31 23:54  利用OpenCV实现疲劳检测的功能疲劳检测IVS.rc
     文件         951  2016-01-12 09:53  利用OpenCV实现疲劳检测的功能疲劳检测IVS.sln
     文件       16384  2016-01-12 09:57  利用OpenCV实现疲劳检测的功能疲劳检测IVS.v12.suo
     文件        8091  2016-01-12 09:53  利用OpenCV实现疲劳检测的功能疲劳检测IVS.vcxproj
     文件        2284  2016-01-12 09:53  利用OpenCV实现疲劳检测的功能疲劳检测IVS.vcxproj.filters
     文件        6170  2011-03-31 23:53  利用OpenCV实现疲劳检测的功能疲劳检测IVSDlg.cpp
     文件        1635  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测IVSDlg.h
     文件        3525  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测ReadMe.txt
     目录           0  2011-03-31 23:55  利用OpenCV实现疲劳检测的功能疲劳检测
es
     文件        1139  2011-03-31 23:49  利用OpenCV实现疲劳检测的功能疲劳检测
esource.h
............此处省略11个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)