Note: this post is friendlier on dash view because of the bullet-point format. Click here to view on the dash.
As per the instructions on the Windows site, I downloaded and ran the v2 SDK and Kinect Studio. However, my Kinect for Windows device failed to connect with my computer, as the Device Manager showed a yellow warning sign alongside the Kinect for Windows icon.
This was solved by uninstalling the v2 SDK + accompany v2 applications, and installing the v1.8 SDK + accompanying v1.8 toolkit. The Device Manager then registered the Kinect for Windows device as working.
Initially, I was also following the tutorial Daniel Shiffman provided, as well as the open source Kinect for Windows library that he recommended in said tutorial. However, I got the error message âinitDevice() does not existâ, among other things.Â
This was solved by instead using Bryan Chungâs Kinect4Win library. By running the provided example program alongside the v.18 SDK, the Kinect sensors were able to provide me with all four views when executed (skeleton + depth + RGB, mask).
Oddly, after a successful connection and execution of the four-view feedback provided by the Kinect for Windows device, it ceased to work again when I got back home and tried running it. I had not altered anything since the successful attempt. When I ran the Kinect4Win example program, it gave me the error message: â(Init) Initialize sensor failed 0â â the 4-view window was also blank (no RGB / depth / infrared / skeleton view).
I uninstalled all the Kinect for Windows programs (v1.8 + v2, SDK, Runtime, Kinect Studio, Toolkit, etc) and removed the Kinect libraries from Processing (Bryan Chungâs Kinect4Win, Daniel Shiffman + Thomas Sanchez Lengelingâs Open Kinect for Processing). Then I reinstalled the v1.8 SDK and Runtime, as well as Bryan Chungâs Kinect4Win library in Processing.Â
In Device Manager, I also enabled the hidden devices (View >Â âShow hidden devicesâ) to double-check that the other elements (Audio Array, Security Control, etc) was available - just not connected.
I then rebooted my computer and ran the Kinect4Win example code. This sometimes gave me the RGB and depth, and sometimes it did not. Neither the skeleton + depth view showed. I also noticed the infrared camera on the Kinect device itself would flare with infrared light for a few seconds at the start before turning off. Note: for this attempt, the Kinect device is plugged directly into the wall socket.
After disconnecting the device and reconnecting again (I had to move to another workspace), it reverted back to only being connected to the Kinect for Windows Camera. Note: for this attempt, I am using an extension cord rather than plugging Kinect device directly into the wall socket - unsure if that is a variable?
Rebooted computer, disconnected + reconnected device, ran the example code despite only the Kinect camera showing. Started working anyways???? Donât know how Kinect works but Iâm too afraid to ask.
Skeleton and mask views werenât showing up for some reason
Moved at a distance in an attempted to activate the sensor. It worked! Skeleton and mask views became live.
Depth data would revert back to 0 when I got to close to the Kinect device, and would not register my depth even if I moved back to a distance that it detected before.
Rebooted the Processing program and made movement at the acceptable distance to activate the sensor. Did not step back too close.