博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kinect c++
阅读量:5968 次
发布时间:2019-06-19

本文共 1627 字,大约阅读时间需要 5 分钟。

hot3.png

To Create an Unmanaged Application

Follow these steps to implement an unmanaged application.

To implement a C++ application

  1. Include <NuiApi.h> in your source code.

                    #include 
  2. For standard definitions, include windows.h and ole2.h in your source code.

  3. To use the NUI API, include NuiApi.h, which is in %KINECTSDK10_DIR%\inc. NuiApi.h includes NuiCamera.h and NuiSkeleton.h also.

  4. To use the Kinect Audio API, include NuiSensor.h, which is in %KINECTSDK10_DIR%\inc.

  5. Link to Kinect10.lib, which is in %KINECTSDK10_DIR%\lib\x86 (for 32-bit apps) or %KINECTSDK10_DIR%\lib\amd64 (for 64-bit apps).

  6. If you are using player index information, specify both NUI_INITIALIZE_FLAG_USES_DEPTH_AND_PLAYER_INDEX and NUI_INITIALIZE_FLAG_USES_SKELETON in the dwFlags parameter to NuiInitialize.

  7. The C++ header files are installed in the path contained in the environment variable: KINECTSDK10_DIR, and include the following files:

  • NuiApi.h - Aggregates all NUI API headers and defines basic initialization and access functions. Use these functions to enumerate devices and access multiple devices. This is the main header file to include in your C++ project; this file includes NuiImageCamera.h and NuiSkeleton.h.

  • NuiImageCamera.h - APIs for image and camera services for adjusting camera settings and opening reading data streams.

  • NuiSkeleton.h - APIs to enable skeleton tracking, get skeleton data, and transform skeleton data for smoother rendering.

  • NuiSensor.h - Audio APIs including the ISoundSourceLocalizer interface, which supports beamforming and source localization.

转载于:https://my.oschina.net/gujianhan/blog/194707

你可能感兴趣的文章
mysql 并行复制
查看>>
傲不可长,欲不可纵,乐不可极,志不可满——提高个人修养
查看>>
linux系统增加swap容量的方法
查看>>
后台调用gps
查看>>
HTML5标签的语义认知和理解(1)
查看>>
MySQL日志功能详解(2)
查看>>
HP LaserJet 305X 和 339X 系列一体机如何设置手动或自动接收传真?
查看>>
linux之权限之隐藏权限
查看>>
XDCTF成长记录
查看>>
Linux系统中的文本处理工具
查看>>
IDE---Python IDE之Eric5在window下的安装
查看>>
Mybatis调用Oracle中的存储过程和function
查看>>
telnet :No route to host
查看>>
基本安装lnmp环境
查看>>
yum源资料汇总
查看>>
7、MTC与MTV,http请求介绍
查看>>
logstash消费阿里云kafka消息
查看>>
第四节课作业
查看>>
EasyUI Calendar 日历
查看>>
unix 环境高级编程
查看>>