Monday, March 07, 2005

 

Basic Structure

ARToolkit Structure



There are three key libraries:

  1. libAR - tracking
  2. libARgsub - image drawing
  3. libARvideo - video capturing

Application Structure

An ARToolkit application involves the following steps:

1. Initialize – start video, read marker patterns & camera parameters.

2. Grab video frame.
3. Detect markers & recognize patterns.
4. Calculate camera transformation relative to the detected patterns.
5. Draw virtual objects on detected patterns.

6. Close video.

Steps 2 through 5 are repeated continuously until the application quits, while steps 1 and 6 are done on initialization and shutdown respectively. In addition to these steps the application may need to respond to mouse, keyboard or other application specific events.


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?