All of the visuals in the above video were created using NyArtoolkit for Processing.NyARToolkit is an augmented reality toolkit built with 100% pure Java. It is derived from ARToolkit-2.72.1. Like Processing itself it’s open source and free! In this tutorial you will learn how to use it to place computer generated imagery correctly onto real world footage. To do this in real-time NyArtoolkit uses markers – black and white images – to determine the three-dimensional position and orientation in the real world. Most likely you will have seen something like this before, but now you will learn how to do it yourself using freely available software.
All right so let’s start with the general setup. What do you need to get started?
For more details please refer to http://www.creativeapplications.net/processing/augmented-reality-with-processing-tutorial-processing/