|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Python + Raspberry Pi + Kinect - Anyone Try it?
Has anyone tried using the a kinect on the raspberry pi with OpenCV for vision tracking? If so any good resources or places to start?
|
|
#2
|
||||
|
||||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
Simple google search
https://github.com/xxorde/librekinect from there you can just use openCV kerneling functions and do a tcp connection to the pi |
|
#3
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
Quote:
|
|
#4
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
I would recommend using libfreenect or OpenNI, both of which have Python wrappers that can be easily used with OpenCV. Personally, I would rather use one of these over the library Arhowk linked because they have a much larger user base and has been well tested.
I have personally used OpenNI on a Raspberry Pi 3 (but I didn't use Python) and it has worked well, apart from some initial issues setting it up. Last edited by Ben Wolsieffer : 09-06-2016 at 20:40. |
|
#5
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
Quote:
|
|
#6
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
I have used it to get the RGB and depth images from the Kinect, and I assume the skeleton tracking works, but I haven't tried it. OpenNI doesn't allow me to control the angle or the LEDs, but I didn't need those features.
|
|
#7
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
How well was the depth camera? Was it easy to get the data back?
|
|
#8
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
AFAIK, the quality of the depth image will be the same no matter what library is used. My use case was as part of ROS, so I didn't use the same system to retrieve the data as you would. Some quick research suggests it should be easy to get the depth data to OpenCV, as OpenNI is directly supported by the VideoCapture class.
|
|
#9
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
Thanks for the help I will have to look into it when I get a chance.
|
|
#10
|
|||
|
|||
|
Re: Python + Raspberry Pi + Kinect - Anyone Try it?
Just curious, what were you planning on using the kinect for?
We had a working kinect system in LabView, but then they made it illegal to control a robot with a kinect in auton, so we haven't pursued it in python |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|