« Back to blog
Dec 1
Views

OpenKinect + Flash + Tuio + UDP Flash Bridge

Kinect integration with Flash though UDP Flash Bridge + Tuio Multitouch Gestures

UPDATE

Uploaded the source files on github
https://github.com/silviopaganini/openKinect-as3-experiments

Fork me and let me know any experiment based on this concept! 

Dec 02, 2010
Marty McMahon said...
hey, would you be willing to share the code for that. im currently working on a flash game for one of my classes and i would really like to use the kinect to control the game. youd get credit in the credits
Dec 02, 2010
Silvio Paganini said...
Sure. I just have to clean up and package everything together
I will post here when the code is available ok?

Cheers

Dec 02, 2010
Marty McMahon said...
Sounds amazing. Not trying to rush you, but just curious, any eta?
Dec 02, 2010
Silvio Paganini said...
I'm attending to Flash Camp UK today, try to get it done tomorrow

Dec 02, 2010
florianzumbrunn said...
Sounds really interesting.
Nice work ! :)
Dec 07, 2010
Silvio Paganini said...
Marty, just uploaded the source here https://github.com/silviopaganini/openKinect-as3-experiments

have fun!

Dec 07, 2010
Hello,

Great job! This code works on Windows?

Dec 10, 2010
Silvio Paganini said...
oi Douglas, funciona sim, no github tem o socket pra Windows tb
Dec 12, 2010
Kirill Rybin said...
I'm a PC user. How can I run your examples on my computer? I can't run TuioKinect.app
Dec 13, 2010
Silvio Paganini said...
Hi Kirill, unfortunately the TuioKinect app is just for mac, I will try to find an alternative for PCs and post it here ok?

cheers

Dec 17, 2010
Miles Lukas said...
Great examples video!
I got the FDT project working and error free. I did so by updating my FDT 4 and getting Flex Hero SDK (4.5).

I apologize for my ignorance but when I click on the TuioKinect app nothing happens. I am not sure how to:
2 - run the socket inside the folder "libs/udp-flashlc-bridge"

Can anyone provide some insight?

Thanks

Dec 17, 2010
Silvio Paganini said...
Hi Miles, as soon as I get back from home I will try to write a more explained tutorial about how to run everything since the beginning ok?

merry xmas!

Jan 01, 2011
Vlad Cazan said...
I am having the same exact issue, how do we run this socket? is it a terminal command or what? Its the only thing that is not working. Thanks for all your hard work.
Jan 03, 2011
Silvio Paganini said...
Hi Vlad, yes it's a command line
open your terminal, find the folder and type ./udp-flashlc-bridge
Jan 11, 2011
Danny Davis said...
Apologies ahead of time if this question is naive, I see this has great blob detection, but is there any way for me to tap into the actual data from the Kinect in Flash using this?

For example, the way that you can do with flKinect (http://kimulabo.jp/): />var camera:Bitmap = new Bitmap( kinect.camera );
var depth:Bitmap = new Bitmap( kinect.depth );

Jan 11, 2011
Silvio Paganini said...
Hi Danny

This example just get the inputs from Tuio, it doesn't get the camera stuff.. for showing the camera pixels I reckon openFrameworks which is quite fast and elegant for that

Jan 18, 2011
John Mastri said...
Hey Silvio,
Thanks much for your demo! I'm having trouble getting the udp bridge to run. =/

I'm in the udp-flashlc-bridge directory, then I type ./udp-flashlc-bridge
and I'm getting permission denied. I'm not much of a terminal guy so I'm really not sure what to do. Any help would be greatly appreciated.

Here's the output from terminal:

WhosYourDaddy:udp-flashlc-bridge johnmastri$ ./udp-flashlc-bridge
-bash: ./udp-flashlc-bridge: Permission denied

Thanks!

- JoHN

Jan 18, 2011
Silvio Paganini said...
Hi Josh, please have a look at my new post, http://silviopaganini.posterous.com/udp-flash-bridge-update it's now easier to run the socket =)

cheers

Feb 02, 2011
Hi!
Can I get the source code of TuioKinect.app?
Thanks!
Feb 03, 2011
Sorry for trouble you! I've found by google (https://code.google.com/p/tuiokinect/).
Feb 09, 2011
Zkhin Li said...
hiya!

really excited to see what you have done. im curious that have can i make this thing works in my flash, cause i spent a lot of time trying to figure out how to archive exact the same thing in your example[ring.swf]. but, i cant make it work....really hope that you can tell me how...thanks!

Feb 09, 2011
Silvio Paganini said...
Hi Zkhin, all source files are on my github, just fork me and you will have them, cheers!
Feb 09, 2011
Zkhin Li said...
hi, how can i get it...im sorry if it is too stupid to ask this question...
Feb 12, 2011
Silvio Paganini said...
Have a look on the Github tutorials they might help you! http://help.github.com/ good luck!
Feb 27, 2011
WillDonohoe said...
Hi Silvio, this looks great! I can't wait to get started on it. My only problem at the moment is the tuioKinect application unexpectedly quits as soon as I open it.

Any suggestions?
Thanks,
Will

Feb 27, 2011
Silvio Paganini said...
Hi Will, do you have the latest MacOS? also, is your kinect plugged when u run the app?

cheers

Feb 28, 2011
willdonohoe said...
Hi Silvio,
Thanks for your time.
I'm running 10.5.8, so not snow leopard.
Yep I had it connected, did it need to be in any specific port?

Thanks,
Will

Feb 28, 2011
Silvio Paganini said...
Hey Will, I think to run it should be Leopard, that might be the problem
Feb 28, 2011
willdonohoe said...
I am running Leopard :) in the previous comment I said I wasn't running Snow Leopard. Sorry if I was unclear
Feb 28, 2011
Silvio Paganini said...
Sorry my mistake, it should be running Snow Leopard
Feb 28, 2011
willdonohoe said...
Hi Silvo, ah thanks. I just tested the app on the university machines which have snow leopard and it works. Unfortunately I can't install an actionscript IDE without permission. so it looks like I'm upgrading to snow leopard!
Thanks for your help.
Best,
Will
Apr 01, 2011
Giulio Grasso said...
Hi Silvio,
nice work...but I need some help...I would like to retrieve the width of the blob, the one which is delimited by a violet line in the Tuio app...any suggestion?
thx,
Gee
Sep 09, 2011
KrnChRiS_com said...
Hi. I am a student studying an information design in Japan and trying to use the kinect for my graduation work. I don't have much knowledge of programming but somehow I was able to make my kinect move by using your source. thanks a lot to you.
and I wonder if I can use the function of camera that kinect has. I just want to make people feel they are making a move in a real world. Is it seems possible?
waiting for your answer.
Thx.
Jan 12, 2012
andreas_wagner said...
Did any one ever figure out how to get the width of the blob?? Giulio Grasso?

Leave a comment...