Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
249 views
in Technique[技术] by (71.8m points)

Raspberry Pi with Kinect

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.

question from:https://stackoverflow.com/questions/17743479/raspberry-pi-with-kinect

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...