I just finished a five day workshop with Yaniv Steiner which covered many things, from toys and games to computer vision and magic tricks. Presented here is a project we spent 2 days working on which required us to create a game using motion tracking with Adobe Flash. The result was Face Off, a game where two people must work together to keep the music going by dancing at the right time.
A video camera points at two people who are separated by a wall (pictured above) and their image is projected on a wall in front of them. A song starts playing and a green box appears above one of the people in the projection (also pictured above). The green box indicates that the person must dance while their partner must remain completely still. After a few seconds, the green box will disappear and a moment later will reappear on one of the players randomly. If a person outside of the green box moves or the person inside of the green box does not move enough, the song will start over. The players win when they are able to play the game until the song is over.






Post a Comment