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.
Yes, you can. The Kinect has a depth sensor that uses an infrared laser projector with a monochrome CMOS sensor. So, with an assemble like this you can obtain image and depth according to your specifications under any light conditions on the raspberry pi. It is also possible to capture video data in 3D.
Microsoft blundered when it launched the Kinect V2, bundling it with the Xbox One and driving up the total price. To bring that price tag back down, the Kinect was sacrificed. The stigma it generated probably led to decreased interest, and decreased usage led to developer abandonment.
Microsoft tried and tried to make Kinect happen, even going so far as to bundle it with the Xbox One, but it ultimately failed to capture gamers' attention. It discontinued the Kinect in 2017, but the technology still exists, and now European TV provider Sky is going to give it to consumers once again.
Manufacturing of the Kinect for Windows has been discontinued. The next generation of Microsoft's category-defining depth sensor lives on in the Azure Kinect DK, a developer kit with advanced AI sensors for sophisticated computer vision and speech models.
If you can manage to plug your kinect camera to the raspberry Pi, install guvcview first to see if it does works. Then, type guvcview in the terminal and it should open an option panel and the camera control view.
Then I'll explain how to install Kinect drivers for use with ROS Melodic and finally how to set up your machine for RGB-D SLAM with RTAB-MAP ROS. There are a few drivers available for Kinect on Raspberry Pi - out of them two are supported by ROS.
Personally I tried to connect Kinect with RPi using OpenNI2 and Sensor, but have no success. And that was not a clever decision because it's impossible to work with Microsoft Kinect on Linux using OpenNI2 due to licensing restrictions.
Kanaka Sunanda Vemulapallion Kinect support for Raspberry Pi using libfreenect Meta Log in Entries feed Comments feed WordPress.org Categories
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With