We offer you
everything KINECT in one place!

/ / v /

Changing Kinect Resolution


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing Kinect Resolution
08-22-2012, 06:28 AM
Post: #1
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;
}
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)