Go to Post I don't think Brandon is actually doing this, I think he has CD-47 Bot and Archiver locked in a closet doing all this while he has fun - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-05-2016, 22:41
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-06-2016, 19:18
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
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
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote
  #3   Spotlight this post!  
Unread 09-06-2016, 20:01
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Python + Raspberry Pi + Kinect - Anyone Try it?

Quote:
Originally Posted by Arhowk View Post
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
I tied downloading that software but i ran into an issue when trying to include it into python. I can also access the camera without using that. I was hoping to get access to the infrared and camera for distance calculations.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-06-2016, 20:31
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 519
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
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.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists

Last edited by Ben Wolsieffer : 09-06-2016 at 20:40.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-06-2016, 20:55
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Python + Raspberry Pi + Kinect - Anyone Try it?

Quote:
Originally Posted by lopsided98 View Post
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.
You used OpenNI to use most if not all of the features of the kinect on the Pi 3?
Reply With Quote
  #6   Spotlight this post!  
Unread 09-06-2016, 21:00
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 519
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Python + Raspberry Pi + Kinect - Anyone Try it?

Quote:
Originally Posted by tomy View Post
You used OpenNI to use most if not all of the features of the kinect on the Pi 3?
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.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #7   Spotlight this post!  
Unread 09-06-2016, 21:01
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Python + Raspberry Pi + Kinect - Anyone Try it?

Quote:
Originally Posted by lopsided98 View Post
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.
How well was the depth camera? Was it easy to get the data back?
Reply With Quote
  #8   Spotlight this post!  
Unread 09-06-2016, 21:13
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 519
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Python + Raspberry Pi + Kinect - Anyone Try it?

Quote:
Originally Posted by tomy View Post
How well was the depth camera? Was it easy to get the data back?
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.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #9   Spotlight this post!  
Unread 09-06-2016, 21:44
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Python + Raspberry Pi + Kinect - Anyone Try it?

Thanks for the help I will have to look into it when I get a chance.
Reply With Quote
  #10   Spotlight this post!  
Unread 19-12-2016, 15:06
CloakAndDagger CloakAndDagger is offline
Registered User
FRC #0074 (CHAOS)
Team Role: Programmer
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Holland, MI
Posts: 24
CloakAndDagger is on a distinguished road
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi