MOTION DETECTION

21

Posted by VitaminB | Posted in Webcam | Posted on 06-06-2008

Tags: , , ,

Detecting motion via webcam in Flash allows us to develop applications completely based on motion interaction. In the example below I use the camera class in flash to detect motion via a webcam. I create 2 hotspots in the swf and as soon as the pixel brightness or colour change it fires a command via ActionScript and use the caurina.tween class to navigate through the content. Obviously a webcam is required to view the example below.

This enable us to develop applications completely based on motion interactions and allows application developers to create applications aimed at users unable to use a keyboards or mouse. This also allows us to create very interesting art installations. For instance a flash application being projected on an entrance of a building greeting users as they walk in and reset as they pass a certain point.

Comments (21)

Hi Brian, Is it possible for you to upload a tutorial about the motion detection in flash, or better yet, supply some source code? I really like your flash site btw. Keep well and thanks for the inspiration…

Excellent work. Hope to see some tutorials soon :) Will keep on checking back (“HINT HINT”)

Cool !!!

Hey that’s wicked !!! PLease PLease upload some tutes…

Hi guys,

Will upload some commented source as soon as i get a chance. Still a new blog so trying to catch up with everything including the new flash site…

Yo dude, kick ass, cant wait to see your final project. By the way do you achieve this with AS2 or 3?

Great, well done B!

Wicked!!! been looking for this for quite some time now… any chance of getting some source or tutorial?

Nice..

How’s the tute coming along??

I am a quadriplegic.

Thanks for thinking of our needs

Well then this is exactly aimed for you Steve.. I was thinking about developing some sort of application for people not able to use their hands… This would be perfect for navigation through websites… Talk about web usability..

This is awesome !!! Good work

Awesome items!! Give us the full lowdown along with loads of pictures when you get back.

Fredi

Hi! This is just amazing!!!

I’ve been trying to make something simulare to this, but can’t really manage by my self!
Is there anyway you can share your AC code or get a tutorial up soon? Would LOVE to play
with it! =)

Thanks, Maxie!

Nice one. :D

Hi, any chance you could upload the source code for this please?

Awesome!

Is there a tutorial/open files for this yet?

Hi Andy,

I will do a tutorial on this as soon as I can. Im a bitt flooded with work at the moment. I will upload the source so you can have a look at it and try to figure it out.

Cheers
Brian

Hey VitaminB,
This is a very interesting project, would you mind upload a tutorial for it? Very keen in learning how it work.
Daniel

Hi there, I will upload a tutorial on this as soon as I get a chance. Check out http://www.flashorama.com for more info

Write a comment

Get Adobe Flash playerPlugin by wpburn.com wordpress themes