资源简介
微软Kinect sdk自带的人脸识别源代码,实用有效,功能强大
代码片段和文件信息
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
#include “stdafx.h“
#include
#include “resource.h“
#include “FaceBasics.h“
// face property text layout offset in X axis
static const float c_FaceTextLayoutOffsetX = -0.1f;
// face property text layout offset in Y axis
static const float c_FaceTextLayoutOffsetY = -0.125f;
// define the face frame features required to be computed by this application
static const DWORD c_FaceframeFeatures =
FaceframeFeatures::FaceframeFeatures_BoundingBoxInColorSpace
| FaceframeFeatures::FaceframeFeatures_PointsInColorSpace
| FaceframeFeatures::FaceframeFeatures_RotationOrientation
| FaceframeFeatures::FaceframeFeatures_Happy
| FaceframeFeatures::FaceframeFeatures_RightEyeClosed
| FaceframeFeatures::FaceframeFeatures_LeftEyeClosed
| FaceframeFeatures::FaceframeFeatures_MouthOpen
| FaceframeFeatures::FaceframeFeatures_MouthMoved
| FaceframeFeatures::FaceframeFeatures_LookingAway
| FaceframeFeatures::FaceframeFeatures_Glasses
| FaceframeFeatures::FaceframeFeatures_FaceEngagement;
///
/// Entry point for the application
///
/// handle to the application instance
/// always 0
/// command line arguments
/// whether to display minimized maximized or normally
/// status
int APIENTRY wWinMain(_In_ HINSTANCE hInstance _In_opt_ HINSTANCE hPrevInstance _In_ LPWSTR lpCmdLine _In_ int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
CFaceBasics application;
application.Run(hInstance nCmdShow);
}
///
/// Constructor
///
CFaceBasics::CFaceBasics() :
m_hWnd(NULL)
m_nStartTime(0)
m_nLastCounter(0)
m_nframesSinceUpdate(0)
m_fFreq(0)
m_nNextStatusTime(0)
m_pKinectSensor(nullptr)
m_pCoordinateMapper(nullptr)
m_pColorframeReader(nullptr)
m_pD2DFactory(nullptr)
m_pDrawDataStreams(nullptr)
m_pColorRGBX(nullptr)
m_pBodyframeReader(nullptr)
{
LARGE_INTEGER qpf = {0};
if (QueryPerformanceFrequency(&qpf))
{
m_fFreq = double(qpf.QuadPart);
}
for (int i = 0; i < BODY_COUNT; i++)
{
m_pFaceframeSources[i] = nullptr;
m_pFaceframeReaders[i] = nullptr;
}
// create heap storage for color pixel data in RGBX format
m_pColorRGBX = new RGBQUAD[cColorWidth * cColorHeight];
}
///
/// Destructor
///
CFaceBasics::~CFaceBasics()
{
// clean up Direct2D renderer
i
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 32768 2019-03-30 13:47 FaceBasics-D2D\.vs\FaceBasics-D2D\v15\.suo
文件 84549632 2019-03-30 13:47 FaceBasics-D2D\.vs\FaceBasics-D2D\v15\Browse.VC.db
文件 86573056 2019-03-30 13:35 FaceBasics-D2D\.vs\FaceBasics-D2D\v15\ipch\AutoPCH\34d299c03d4dad3d\IMAGERENDERER.ipch
文件 3145728 2019-03-30 10:08 FaceBasics-D2D\.vs\FaceBasics-D2D\v15\ipch\AutoPCH\6e48f2a26c60a7e3\DIRECTXMATH.ipch
文件 60948480 2019-03-30 13:34 FaceBasics-D2D\.vs\FaceBasics-D2D\v15\ipch\AutoPCH\6fd5168e6e734807\FACEBASICS.ipch
文件 12846 2014-10-19 12:43 FaceBasics-D2D\app.ico
文件 125440 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.exe
文件 635688 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.ilk
文件 7099 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.log
文件 847872 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.pdb
文件 1518 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\CL.command.1.tlog
文件 79904 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\CL.read.1.tlog
文件 1376 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\CL.write.1.tlog
文件 225 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\FaceBasics-D2D.lastbuildstate
文件 2068 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\li
文件 5314 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\li
文件 894 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\li
文件 404 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\rc.command.1.tlog
文件 3134 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\rc.read.1.tlog
文件 278 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics-D2D.tlog\rc.write.1.tlog
文件 189151 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics.obj
文件 13324 2019-03-30 10:11 FaceBasics-D2D\Debug\FaceBasics.res
文件 363927 2019-03-30 10:11 FaceBasics-D2D\Debug\ImageRenderer.obj
文件 1372144 2014-10-19 13:11 FaceBasics-D2D\Debug\Kinect20.Face.dll
文件 150826 2014-10-19 12:42 FaceBasics-D2D\Debug\NuiDataba
文件 55253 2014-10-19 12:42 FaceBasics-D2D\Debug\NuiDataba
文件 65394 2014-10-19 12:42 FaceBasics-D2D\Debug\NuiDataba
文件 126338 2014-10-19 12:42 FaceBasics-D2D\Debug\NuiDataba
文件 73 2014-10-19 12:42 FaceBasics-D2D\Debug\NuiDataba
文件 28092 2014-10-19 12:42 FaceBasics-D2D\Debug\NuiDataba
............此处省略87个文件信息
相关资源
- Kinect手势代替鼠标控制PC
- 使用OpenNI自带的类进行简单手势识别
- 基于Kinect的三维重建
- OpenNI 官方版适用于Windows 32位系统
- 深度相机、Kinect及其应用
- kinect2.0获取深度图、彩色图,并利用
- Kinect2API文档
- KinectFusion 和 ElasticFusion 三维重建方法
- kinect v2 API详细说明
- SensorKinect093-Bin-Win64-v5.1.2.1
- Kinect V2 SDK API说明文档
- 获取kinect的数据并在Qt中显示的类的设
- Unity结合Kinect2体感开发:KinectForWind
- kinect2_SDK_深度图到RGB的映射
- kinect控制ppt播放完整源码
- 通过Kinect v2.0+ VS2012+openCV2.4.9将彩色帧
- Beginning Kinect Programming with Microsoft Ki
- kinect V2 学习资料
- Kinect+OpenNI获取深度图和颜色图(最新
- Kinect体感机器人中文报告
- Kinect体感机器人上位机源码
- kinectV2 抠图 自动拍照
- kinect v2.0 开发入门
- kinect体感书中英文对照
- 基于Kinect体感摄像头的手势识别算法
- Kinect+OpenNI学习笔记
- SensorKinect093-Bin-Win64-v5.1.2.1.msi
- simpleopenni 0.27 WIN3264
- KinectV2手指检测识别
- Kinect2的各种入门源码例程
评论
共有 条评论