I'm trying to figure out how to implement a basic augmented reality application that uses a piece of (real) paper to navigate (simple rotate, zoom) a virtual 3d or pseudo-3d space.
The example implementation that comes to mind is the Harry Potter 3D Augmented Reality ad, where you can take a piece of paper, point it at your webcam (at the right angle/distance), and 3d buildings and such would pop up (on your screen). You can then turn the paper around to rotate the building, or even zoom in.
The example above is done using Shockwave. I'm wondering if there are better web-friendly plugin's, such as Flash (or even HTML5, if webcam integration works?) that might be able to do the same?
Also, are there ways to optimize grid detection, so that the effect is less "lossy" - with the HP example, the buildings often lose their "bearings" on the real paper and just freeze onscreen.
It looks like there's already a class (for flash) - portability for iphone(?) http://www.libspark.org/wiki/saqoosha/FLARToolKit/en
http://www.adobe.com/devnet/flash/articles/bow_cards.html http://www.adobe.com/devnet/flash/articles/augmented_reality.html
It seems to work best with solid-color images though, rather than a complicated map, as in the HP example.
Is it possible to get the cam on an Android or iPhone to do the augmented reality effect?