资源简介
在win10+Windows SDK7.1+opencv2.4.13环境使用libfacedetection库对视频流中的人脸进行实时监测。

代码片段和文件信息
#include
#include
#include
#if (1100 > _MSC_VER)
#include
#else
#include
#endif
#include “FaceDTguid.h“
#include “FaceDT.h“
#include
#include “tchar.h“
const int LENGTH = 7;
const int THETA = 4;
#include
#include “facedetect-dll.h“
#pragma comment(lib“libfacedetect.lib“)
#pragma comment(linker“/nodefaultlib:LIBCMT.lib“)
using namespace cv;
const AMOVIESETUP_MEDIATYPE sudPinTypes =
{
&MEDIATYPE_Video // Major type
&MEDIASUBTYPE_NULL // Minor type
};
const AMOVIESETUP_PIN sudpPins[] =
{
{ L“Input“ // Pins string name
FALSE // Is it rendered
FALSE // Is it an output
FALSE // Are we allowed none
FALSE // And allowed many
&CLSID_NULL // Connects to filter
NULL // Connects to pin
1 // Number of types
&sudPinTypes // Pin information
}
{ L“Output“ // Pins string name
FALSE // Is it rendered
TRUE // Is it an output
FALSE // Are we allowed none
FALSE // And allowed many
&CLSID_NULL // Connects to filter
NULL // Connects to pin
1 // Number of types
&sudPinTypes // Pin information
}
};
const AMOVIESETUP_FILTER sudSlowMotionDT =
{
&CLSID_iTVSports_FaceDT // Filter CLSID
L“iTVSports Face Detect“ // String name
MERIT_DO_NOT_USE // Filter merit
2 // Number of pins
sudpPins // Pin information
};
CFactoryTemplate g_Templates[] = {
{ L“iTVSports Face Detect“
&CLSID_iTVSports_FaceDT
CSlowMotionDT::CreateInstance
NULL
&sudSlowMotionDT }
};
int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0]);
////////////////////////////////////////////////////////////////////////
//
// Exported entry points for registration and unregistration
// (in this case they only call through to default implementations).
//
////////////////////////////////////////////////////////////////////////
// DllRegisterServer
// Handles sample registry and unregistry
//
STDAPI DllRegisterServer()
{
return AMovieDllRegisterServer2( TRUE );
} // DllRegisterServer
//
// DllUnregisterServer
//
STDAPI DllUnregisterServer()
{
return AMovieDllRegisterServer2( FALSE );
} // DllUnregisterServer
//
// DllEntryPoint
//
extern “C“ BOOL WINAPI DllEntryPoint(HINSTANCE ULONG LPVOID);
BOOL APIENTRY DllMain(HANDLE hModule
DWORD dwReason
LPVOID lpReserved)
{
return DllEntryPoint((HINSTANCE)(hModule) dwReason lpReserved);
}
//constructor
CSlowMotionDT::CSlowMotionDT(TCHAR *tszName LPUNKNOWN punk HRESULT *phr):
CTransformFilter(t
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-06-20 23:33 bin\
文件 344576 2016-06-02 11:35 bin\FaceDT.ax
文件 1837733 2016-06-01 09:22 bin\lena640480.wmv
文件 799232 2016-02-05 22:18 bin\libfacedetect.dll
文件 3526144 2016-05-12 19:43 bin\opencv_core2413d.dll
文件 3700224 2016-05-12 19:43 bin\opencv_highgui2413d.dll
文件 3163136 2016-05-12 19:43 bin\opencv_imgproc2413d.dll
目录 0 2016-06-20 23:32 FilterFaceDT\
目录 0 2016-06-20 23:32 FilterFaceDT\Debug\
文件 5540 2007-05-19 16:45 FilterFaceDT\Debug\BuildLog.htm
文件 1344 2016-06-02 11:23 FilterFaceDT\Debug\FaceDT.exp
文件 1514 2016-06-02 11:23 FilterFaceDT\Debug\FaceDT.lib
文件 7077 2016-06-02 11:35 FilterFaceDT\Debug\FaceDT.log
文件 319995 2016-06-02 11:35 FilterFaceDT\Debug\FaceDT.obj
文件 2228 2016-06-01 10:08 FilterFaceDT\Debug\FilterFaceDT.Build.CppClean.log
文件 3795968 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.pdb
目录 0 2016-06-20 23:32 FilterFaceDT\Debug\FilterFaceDT.tlog\
文件 836 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\cl.command.1.tlog
文件 34138 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\CL.read.1.tlog
文件 636 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\CL.write.1.tlog
文件 183 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\FilterFaceDT.lastbuildstate
文件 8230 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\FilterFaceDT.write.1u.tlog
文件 1962 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\li
文件 4692 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\li
文件 602 2016-06-02 11:35 FilterFaceDT\Debug\FilterFaceDT.tlog\li
目录 0 2016-06-20 23:32 FilterFaceDT\Debug\FilterSl.2D7E8872.tlog\
文件 1698 2016-05-31 00:41 FilterFaceDT\Debug\FilterSl.2D7E8872.tlog\cl.command.1.tlog
文件 19700 2016-05-31 00:41 FilterFaceDT\Debug\FilterSl.2D7E8872.tlog\CL.read.1.tlog
文件 708 2016-05-31 00:41 FilterFaceDT\Debug\FilterSl.2D7E8872.tlog\CL.write.1.tlog
文件 183 2016-05-31 00:41 FilterFaceDT\Debug\FilterSl.2D7E8872.tlog\FilterSlowMotionDT.lastbuildstate
文件 3338 2016-05-31 00:41 FilterFaceDT\Debug\FilterSl.2D7E8872.tlog\FilterSlowMotionDT.write.1u.tlog
............此处省略22个文件信息
相关资源
- 论文研究-基于肤色和AdaBoost算法的彩
- Emgu.CV 打开视频与人脸检测
- iOS平台下人脸识别系统实现研究
- 基于PCA的人脸识别技术的研究
- 基于多任务卷积网络(MTCNN)和Cente
- 人脸数据库(人脸检测,人脸识别)
- 基于WebCam的人脸检测技术的设计与实
- 人脸检测特征数据.rar
- 一套 MIT 的人脸训练样本库
- 比opencv还牛的,免费、高效的人脸检
- 人脸检测的论文
- 人脸检测的代码
- 基于opencv实现的人脸识别程序,需要
- 2017年人脸检测、人脸对齐、人脸识别
- 在Yale 人脸库上运用PCA+SVM的方法实现
- 用于人脸检测的一些标准人脸图库
- 基于opencv的人脸检测
- 人脸检测、人脸正负样本库
- haar+Adaboost人脸检测viola-jones人脸检测
- ORL人脸数据集
- 基于opencv接口的深度学习人脸检测代
- 基于Adaboost算法的人脸检测
- 人脸检测并保存人脸图像
- 基于Adaboost算法的人脸检测研究
- 基于AdaBoost的人脸检测改进算法
- 人脸检测综述
- opencv人脸检测训练用到的正样本图像
- 基于AdaBoost算法的人脸检测系统设计
- 利用OpenCV在VS2015平台下对进行人脸识
- cmu + mit 人脸测试集-旋转测试集
评论
共有 条评论