Webcam motion detection in AS3

I converted the old webcam motion detection thing to AS3 today. Not that it improves the performance much, just wanted to play around with it (source).

7 Responses to “Webcam motion detection in AS3”


  1. 1 lulu

    hi ? i want to know which direction the man or the hand move? left or right? how to know it?

  2. 2 Gigahertz Inc

    Great sample ;)

    See some of my Flash webcam experiments & interactive samples on http://www.SillyWebcam.com .

  3. 3 Liam

    Cool stuff gig, some nice things there. I intend to play around with webcam stuff more, now that I finally have a working webcam again!

  4. 4 Gigahertz, Inc.

    Appreciate the compliment, thanks :)

  5. 5 Justin

    thanks mate,this was a very useful resource. I’ve been putting together a motion tracking class in AS3, which will track the motion of an object using a webcam. An early demo is up here: http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/

    Thanks again for the example.

  6. 6 Liam

    Ooh, very nice. Yeah, just the kind of thing I want to get into. I was thinking to use colour bounds to track blobs, though I guess I might need some subdivision to refine motion areas in more accurate blob tracking.

  7. 7 Nikon

    Not you again Justin, stop posting here. You have not post your source what we are waiting for long time :(

Leave a Reply