Augmented Reality using Processing

I came across this awesome video on augmented reality and it gives a tutorial on how it accomplishes what is going on in the video. Reminded me of what goes on in the Lego store when you bring up some boxes up to the camera an see te pieces actually move on the screen.