This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-14 18:49:54

marcoscarraro
New Scratcher
Registered: 2012-08-14
Posts: 2

Scracth + Kinect + Linux

Good Night all!

I'm trying to integrate Kinect with scratch on the Ubuntu platform, but I can not do the sensors detect Scratch kinect.

I'm just managing to make Linux recognize Kinect, someone has done this integration?

hugs

Offline

 

#2 2012-08-16 00:53:19

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Scracth + Kinect + Linux

So, what version of Linux do you have?
*please let it be Ubuntu please let it be Ubuntu please let it be Ubuntu please let it be Ubuntu  tongue  *
But really, if you have Ubuntu, I might be able to help. What language are you using?

And a hint: you dont have to access the Kinect firmware for recognition. As long as you can get the RGB camera, your good (not the infrared one). You can use the Viola-Jones algorithm and modify it.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#3 2012-08-16 08:55:06

marcoscarraro
New Scratcher
Registered: 2012-08-14
Posts: 2

Re: Scracth + Kinect + Linux

Hello,

Certainly, I use Ubuntu! Ubuntu o / \ o

I own using Scratch to program.

I can make the recognition of the VGA camera, but its sensor is not able to get Ubuntu to recognize it.

Thank you friend.

Offline

 

#4 2012-08-16 09:43:48

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Scracth + Kinect + Linux

I don't think you can directly connect the Kinect to Scratch (unless you know how to modify it). So you'll probably need a "bridge" between the two. I've never dealt with COM ports in Python, but I think that's what you want to look for. Once you've got your program receiving data from the Kinect, have your program translate the data into something understandable and then send it to Scratch.

http://scratch.saorog.com/ looks like something for Windows (maybe Wine?). Otherwise you may need to find a Linux based software that deals with the Kinect, and then get that to send it's data to Scratch.

Offline

 

#5 2012-08-16 21:06:42

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Scracth + Kinect + Linux

marcoscarraro wrote:

Hello,

Certainly, I use Ubuntu! Ubuntu o / \ o

I own using Scratch to program.

I can make the recognition of the VGA camera, but its sensor is not able to get Ubuntu to recognize it.

Thank you friend.

Yeah, so am I to understand your not using any other programming languages besides Scratch? Yeah, I meant languages like Python, C++, Java, etc.

If you can figure out how to use the Kinect as a regular webcam for Ubuntu, I can help! I program in the language C#, and I figured out how to use sockets for communicating with Scratch. C# can use the Viola-Jones algorithm from a webcam, just need to get the data and send it to Scratch. You would then have to get a picture in Scratch. However the Scratch mods Panther, Kitcat, and some other one (forgot the name of) all have different methods of using a webcam as a costume/background.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#6 2012-09-05 14:06:40

SHowell
Scratcher
Registered: 2011-01-08
Posts: 27

Re: Scracth + Kinect + Linux

Magnie wrote:

I don't think you can directly connect the Kinect to Scratch (unless you know how to modify it). So you'll probably need a "bridge" between the two. I've never dealt with COM ports in Python, but I think that's what you want to look for. Once you've got your program receiving data from the Kinect, have your program translate the data into something understandable and then send it to Scratch.

http://scratch.saorog.com/ looks like something for Windows (maybe Wine?). Otherwise you may need to find a Linux based software that deals with the Kinect, and then get that to send it's data to Scratch.

I'm the author of Kinect2Scratch. Sadly the Kinect SDK version won't run on Linux, because it uses the official Windows Kinect SDK which is for Windows 7/8 only.
I am working on a Linux/Mac OSX version, hopefully available early next year.

Offline

 

Board footer