资源简介
修改自《深入理解OpenCV》第八章,我改成了MFC的形式,完成了主要功能,包括人脸检测,模型训练,人脸识别等功能,开发工具Visula Studio 2013+OpenCV2.4.9,里面有编译好的可执行文件和源程序,资源分3分是不是有点小贵呢,我自己没什么分了呀,所以请大家体谅一下~
代码片段和文件信息
// 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 2015-07-18 23:48 FaceDetector\
目录 0 2015-07-18 23:42 FaceDetector\FaceDetector免安装版\
文件 10650112 2015-07-18 23:43 FaceDetector\FaceDetector免安装版\FaceDetector.exe
文件 777721 2013-11-13 17:44 FaceDetector\FaceDetector免安装版\haarcascade_mcs_lefteye.xm
文件 1383113 2013-11-13 17:44 FaceDetector\FaceDetector免安装版\haarcascade_mcs_righteye.xm
文件 51856 2013-11-13 17:44 FaceDetector\FaceDetector免安装版\lbpcascade_frontalface.xm
文件 815272 2013-10-05 02:38 FaceDetector\FaceDetector免安装版\msvcp120d.dll
文件 1824424 2013-10-05 02:38 FaceDetector\FaceDetector免安装版\msvcr120d.dll
文件 1506304 2014-04-15 17:19 FaceDetector\FaceDetector免安装版\opencv_calib3d249d.dll
文件 2360320 2014-04-15 17:20 FaceDetector\FaceDetector免安装版\opencv_contrib249d.dll
文件 3515392 2014-04-15 17:18 FaceDetector\FaceDetector免安装版\opencv_core249d.dll
文件 1464832 2014-04-15 17:19 FaceDetector\FaceDetector免安装版\opencv_features2d249d.dll
文件 1163264 2014-04-15 17:18 FaceDetector\FaceDetector免安装版\opencv_flann249d.dll
文件 3697152 2014-04-15 17:19 FaceDetector\FaceDetector免安装版\opencv_highgui249d.dll
文件 3144192 2014-04-15 17:18 FaceDetector\FaceDetector免安装版\opencv_imgproc249d.dll
文件 1048064 2014-04-15 17:18 FaceDetector\FaceDetector免安装版\opencv_ml249d.dll
文件 1432576 2014-04-15 17:19 FaceDetector\FaceDetector免安装版\opencv_objdetect249d.dll
文件 692736 2014-04-15 17:18 FaceDetector\FaceDetector免安装版\opencv_video249d.dll
文件 772784 2013-10-05 02:38 FaceDetector\FaceDetector免安装版\vccorlib120d.dll
目录 0 2015-07-18 23:45 FaceDetector\FaceDetector源程序\
目录 0 2015-07-18 23:44 FaceDetector\FaceDetector源程序\FaceDetector\
文件 1033352 2015-07-18 22:06 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetector.aps
文件 2993 2015-07-17 17:32 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetector.cpp
文件 541 2015-07-17 17:32 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetector.h
文件 16708 2015-07-18 22:06 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetector.rc
文件 6463 2015-07-18 22:42 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetector.vcxproj
文件 2609 2015-07-18 21:33 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetector.vcxproj.filters
文件 23534 2015-07-18 23:42 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetectorDlg.cpp
文件 2880 2015-07-18 21:59 FaceDetector\FaceDetector源程序\FaceDetector\FaceDetectorDlg.h
文件 2212 2015-05-21 12:59 FaceDetector\FaceDetector源程序\FaceDetector\ImageCenterDib.h
文件 16992 2015-05-21 13:01 FaceDetector\FaceDetector源程序\FaceDetector\ImgCenterDib.cpp
............此处省略19个文件信息
- 上一篇:c++面向对象图书管理系统
- 下一篇:ini文件读写操作类C++版
相关资源
- OPENCV人脸检测加角点检测并输出坐标
- BP神经网络实现人脸识别包含软件源码
- Visual C++利用OpenCV对图像进行人脸识别
- c++开发的人工神经网络做人脸识别
- opencv+c++实现人脸识别
- opencv MFC 摄像头 人脸识别
- deep learning卷积神经网络CNN在C++环境下
- 自己动手制作人脸分类器+人脸识别标
- 人脸识别C语言程序
- 用于人脸识别的lbp算法C++源码
- FaceMFC.part3
- 基于PCA和SVM的人脸识别系统
- C++ 人脸识别程序 简单demo 基于虹软
- 人脸识别C++源码
- c++ 用opencv比较两张人脸照片是否相似
- 基于OpenCV的人脸验证和人脸识别MFC程
- 使用c++开发的人脸识别 demo
- C++实现的人脸识别系统
- OpenCV人脸识别实例源码142702
- 基于深度学习的人脸识别系统
- 基于深度学习的人脸识别签到系统
- seetaface开源人脸识别
- 人脸识别MFC程序
- 人脸检测、人脸对齐MTCNN方法
- 基于ViolaJones算法的人脸识别CPP文件
- 基于opencv的人脸识别程序-代码详解
- 用C++语言写的完整的人脸识别程序源
- 基于Gabor特征的人脸识别
- 人脸识别c++代码
- c++视频教程opencv视频图像处理机器视
评论
共有 条评论