Changing Kinect Resolution
|
08-22-2012, 06:28 AM
![]() |
|||
|
|||
Changing Kinect Resolution
Has anyone changed the Imager resolution (the RGB camera) to one besides the default of 640x480 ?
We attempted this on both an xbox-kinect as well as the later standard kinect device via the following code snippet. This appears to change but then no video frames are returned. [we tried 240x320 ] int Kinect_Camera_Init() { XnStatus nRetVal = XN_STATUS_OK; nRetVal = g_context.Init(); CHECK_RC(nRetVal, "Initialize context"); nRetVal = g_image.Create(g_context); CHECK_RC(nRetVal, "Create image generator"); XnMapOutputMode mapMode; mapMode.nXRes = XN_QVGA_X_RES; mapMode.nYRes = XN_QVGA_Y_RES; mapMode.nFPS = 30; g_image.SetMapOutputMode(mapMode); g_image.GetMetaData(g_imageMD); return 1; } |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)