Raspberry Pi with Kinect

Cyril picture Cyril · Jul 19, 2013 · Viewed 65.4k times · Source

Could anyone get the camera data from the Kinect using a Raspberry Pi ?

We would like to make a wireless Kinect connecting it using Ethernet or WiFi. Otherwise, let me know if you have a working alternative.

Answer

xxorde picture xxorde · Apr 15, 2014

To answer your question, yes it is possible to get Image and depth on the raspberry pi!

Here is how to.

If you want to use just video (color, not depth) there is already a driver in the kernel! You can load it like this:

modprobe videodev
modprobe gspca_main
modprobe gspca_kinect

You get a new /dev/videoX and can use it like any other webcam!

If you need depth (which is why you want a kinect), but have a kernel older than 3.17, you need another driver that can be found here: https://github.com/xxorde/librekinect. If you have 3.17 or newer, then librekinect functionality is enabled by toggling the gspca_kinect module's command-line depth_mode flag:

modprobe gspca_kinect depth_mode=1

Both work well on the current Raspbian.