none
Changing over from the old SDK RRS feed

  • Question

  • Hi everyone, I had a working c++ program running on the original v1 SDK with an xbox 360 Kinect. I have now since upgraded to SDK 2.0 and the Kinect for Windows v2. Now, the problem is that the old SDK used the NuiApi.h and relevant header files but that does not transfer over to the SDK.

    I have been extensively looking at the samples and documentation found here

    https://msdn.microsoft.com/en-us/library/hh855364.aspx

    But I am still having a very hard time trying to determine the equivalent for the old version.

    In the older version I used:

    NuiInitialize

    NUI_INITIALIZE_FLAG_USES_SKELETON

    NUI_INITIALIZE_FLAG USES COLOR

    NUI_INITIALIZE_FLAG_USES_DEPTH_AND_PLAYER_INDEX

    NUI_IMAGE_TYPE_COLOUR

    NUI_IMAGE_RESOLUTION

    NUI_SKELETON_FRAME

    NUI_SKELETON_COUNT

    NUI_SKELETON_TRACKED

    NuiTransformSmooth

    NUI_SKELETON_POSITION_HAND_RIGHT

    (and for left, head, left foot, right foot)

    NuiTransformSkeletontoDepthImage

    the list goes on

    the ones associated with

    #include <NuiApi.h>, #include "NuiImageCamera.h", #include "NuiSkeleton.h", #include "NuiSensor.h"

    What should I be using instead? It is not made very clear to me by any documentation or samples how to use my older code with the newer system or what should be changed and to what.

    I would very much appreciate some help, thanks in advance.


    Monday, May 11, 2015 4:24 AM

All replies

  • There is a lot let setup overhead you will just omit. Review the new SDK programming pattern as there is little need to "initialize". You just need to setup a reader for the particular source types you need and pull the data from the reader.


    Carmine Sirignano - MSFT

    Tuesday, May 12, 2015 12:11 AM