Flash and Webcam

  • RebbsSanchez
  • Born
  • Born
  • RebbsSanchez
  • Posts: 1

Post 3+ Months Ago

Hi There,

I am a Flash beginner and as part of a college project I am trying to use a webcam to detect people's movements on a street and then use that input to create, manipulate and direct the movement of animations (created in Flash). I have found a number of tutorials which check for a change in a pixels colour to detect movement, however, I can't figure out what valuable is provided (i.e. pixel number etc). In other words, how do I use the information provided by the webcam to affect my animations?

Any help or advice would be greatly appreciated.

Thanks,

Rebbs.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

well it really depends on your animations and what you want them to do. Pixel change is just detecting movement (IE if the webcam pixel is usually black and it changes to white there was movement in front of the camera).

I would say just split your webcam into quadrants and if pixels in Quadrant A change then play animation 1, if pixels in Quadrant B change then play animation 2 etc.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.