Hi together,
I have the requirement do access the Kinect in an .net FORMS application.
In an WPC-Application I can connect and get the picture without problems
I would like to implement the CLNUIDImageClass in an forms project.
If I do this I don´t have the namespace of
system.Windows.interop
system.windows.media
Do anybody has an sample code in .net/Forms to get the Bitmap in an PictureBox?
I can open/close the camera. Set LED and connect to the motor. But I don´t understand how to get the Bitmap-Information in an Picture-Box. Is it neccessary to use the CLNUIDImageClass (NUIIMAGE) or can I create an own array (depthImage.ImageData) to use this in the function
CLNUIDevice.GetCameraDepthFrameRGB32(camera, depthImage.ImageData, 0)
and how I can display this result in an Picture-Box?
Thanks