Monday, July 13, 2009

Augmented Reality with ARToolkit

Tonight I experimented a bit with the Augmented Reality library ARToolkit. Goal is to get a good marker based tracking of objects for multitouch applications. Can't really decide between Reactivision (of Reactable fame), openCV or ARToolkit.

When you start it on Linux you might got a error saying that the palette is wrong. ARToolkit expects per default a RGB image from your camera but more often they return a YUV format.

Solution was to export the following environment variable:

export ARTOOLKIT_CONFIG=-palette=YUV420P

Custom markers can be created with the help of this site:
http://roarmot.co.nz/ar/

No comments:

Post a Comment