Interacting with the webcam
August 25th, 2009
No comments
Last month, we decided to do some show-and-tell sessions at Zinc Roe where everyone had a chance to show some really cool stuff. My contribution was a little presentation on different ways to use the webcam to interact with flash applications. I had a blast reading up on some interesting webcam detection tutorials and articles, as well as putting some examples together myself.
Here are the topics I covered:
- Camera.activityLevel – A brief explanation on using the Camera object’s activityLevel property
- Bitmap.getPixel() – Using the BitmapData class to check for motion
- Augmented Reality & Marker Tracking – What it is and how it can be used in different applications.
- Moving MovieClips with your hand (or other limbs) using the webcam – An example of how you can use the motion detection stuff to move a MovieClip around the screen using only your hands and a webcam.
So check out my post over at the Metal Fish Eggs blog and let me know what you think!
Categories: AS3 Actionscript 3, AS3, Augmented Reality, Bitmap, BitmapData, Camera, Marker Tracking, Motion Detection, Webcam