Symmetri Developer Blog

June 20, 2008

Simple Gesture Recognition

Filed under: General, Flash/Flex, Algorithms - Shourov Bhattacharya @ 5:00 am

NOTE: You must have a webcam to use this application

This is a prototype application that uses video input from your webcam to do simple motion recognition. It rotates the cube to the left/right if you wave your hand towards the left/right.

1) When the security popup appears, choose to allow Flash to access your webcam.
2) Your webcam image should appear in the small panel on bottom right
3) Wave your hand to the left/right slowly in front of you, as if you were pushing aside a curtain
4) The cube should rotate to the left/right in response to your gesture

The red areas on the webcam image show areas of motion. At present, we are using a very naive motion detection algorithm that tries to exclude gross motions and looks for horizontal movement of the motion area. You might find that you need to slow down your gesture to get it to work, or that you need to move back from the camera.

At this point, this is nothing useful. It’s a beginning towards a proof of concept. The idea is that if this type of motion recognition can be made accurate and robust enough, it could open up new possibilities for interaction with your computer without having to add any new hardware.



5 Comments »

The URI to TrackBack this entry is: http://symmetri.blogsome.com/2008/06/20/simple-gesture-recognition-2/trackback/

  1. Hey dude, it doesn’t seem to work. I am on a mac maybe that’s why.

    Comment by James Zhuo — June 25, 2008 @ 3:55 pm

  2. Got it working here with a MacBook Pro with an iSight without any problems …. let me know the specific problems you are having - are you seeing camera output at all?

    Comment by Shourov Bhattacharya — June 25, 2008 @ 11:11 pm

  3. Wow! That’s just so cool! I mean it!

    Comment by Kir Kokuev — July 10, 2008 @ 2:04 pm

  4. Hi, I have a MacBook Pro, and isight is working in all other applications, but not here. Do you have any suggestions to get around this?

    Comment by Little Miss — December 17, 2008 @ 9:39 pm

  5. No Futur ;-)

    Comment by Thierry — January 30, 2009 @ 4:04 pm

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Janis Joseph