I cobbled this webcam demo together for no other reason than creative curiosity – a digital hall of mirrors thing, I guess – source
I started trying to find useful things to do with face detection, but with limited success. I tried using the Libspark Haar Cascades implementation of face detection with Papervision3D to create a sort of head tracking effect, but it’s a little flaky – partly because of poor tracking accuracy and partly because it’s too CPU intensive. You can view it on its own page here.
Just spotted a video on James Alliban‘s blog of how to make your own cheap multitouch table. It’s a lot easier if you’re not initially bothered with projecting your image back into the table – otherwise you’ll need a projector (which I don’t have) and a camera capable of infrared (which some webcams may already do without requiring modification). I for one, will be having a go…
Playing around some more with my webcam, I cooked up this 3D Earth with Papervision and made it controllable through a webcam (if you have one). The motion detection is rather flaky, since it tracks the centre-point of a whole area of motion – if you move a lot it will just get confused 🙂
I started playing around a little more with my webcam and extended my previous webcam motion detection example – this time to control the camera of a virtual 3-D space from motion detected in the user’s webcam. It detects motion area and general direction, albeit with dubious accuracy, but you get the idea.
Due to popular demand, I’ve posted the source code for you lot to play with. It contains the FlashDevelop project file (it’s compiled with the flex 3 sdk) and my cut-down 3-D engine, Pant3D 🙂